Edit

Share via


DefaultSearchProviderSearchURL

Default search provider search URL

Supported versions

  • On Windows and macOS since 77 or later

Description

Specifies the URL of the search engine used for a default search. The URL contains the string '{searchTerms}', which is replaced at query time by the terms the user is searching for.

Specify Bing's search URL as:

'{bing:baseURL}search?q={searchTerms}'.

Specify Google's search URL as: '{google:baseURL}search?q={searchTerms}&{google:RLZ}{google:originalQueryForSuggestion}{google:assistedQueryStats}{google:searchFieldtrialParameter}{google:searchClient}{google:sourceId}ie={inputEncoding}'.

This policy is required when you enable the DefaultSearchProviderEnabled policy; if you don't enable the latter policy, this policy is ignored.

Starting in Microsoft Edge 84, you can set this policy as a recommended policy. If the user has already set a default search provider, the default search provider configured by this recommended policy will not be added to the list of search providers the user can choose from. If this is the desired behavior, use the ManagedSearchEngines policy.

Supported features

  • Can be mandatory: Yes
  • Can be recommended: Yes
  • Dynamic Policy Refresh: Yes
  • Per Profile: Yes
  • Applies to a profile that is signed in with a Microsoft account: No

Data type

  • String

Windows information and settings

Group Policy (ADMX) info

  • GP unique name: DefaultSearchProviderSearchURL
  • GP name: Default search provider search URL
  • GP path (Mandatory): Administrative Templates/Microsoft Edge/Default search provider
  • GP path (Recommended): Administrative Templates/Microsoft Edge - Default Settings (users can override)/Default search provider
  • GP ADMX file name: MSEdge.admx

Example value

https://search.contoso.com/search?q={searchTerms}

Registry settings

  • Path (Mandatory): SOFTWARE\Policies\Microsoft\Edge
  • Path (Recommended): SOFTWARE\Policies\Microsoft\Edge\Recommended
  • Value name: DefaultSearchProviderSearchURL
  • Value type: REG_SZ

Example registry value

https://search.contoso.com/search?q={searchTerms}

Mac information and settings

  • Preference Key name: DefaultSearchProviderSearchURL
  • Example value:
<string>https://search.contoso.com/search?q={searchTerms}</string>

See also