en-US windows computer user

Set default search engine

Verified with Windows 11 25H2 — updated on July 30, 2026

Windows 11 25H2

Supported on: Microsoft Edge on Windows 10, Version 1703 or later

Path in the GPO console

Computer Configuration\Administrative Templates\Windows Components\Microsoft Edge

Description

This policy setting lets you configure the default search engine for your employees. Your employees can change the default search engine at any time. Important This setting can only be used with domain-joined or MDM-enrolled devices. For more info, see the Microsoft browser extension policy (aka.ms/browserpolicy). If you enable this setting, you can choose a default search engine for your employees. If this setting is enabled, you must also add the default engine to the “Set default search engine” setting, by adding a link to your OpenSearch XML file, including at least the short name and https: URL of the search engine. For more info about creating the OpenSearch XML file, see the Understanding OpenSearch Standards (https://msdn.microsoft.com/en-us/library/dd163546.aspx) topic. Use this format to specify the link you wish to add: <https://fabrikam.com/opensearch.xml> Note If you'd like your employees to use the default Microsoft Edge settings for each market, you can set the string to EDGEDEFAULT. If you'd like your employees to use Microsoft Bing as the default search engine, you can set the string to EDGEBING. Employees can change the default search engine at any time, unless you disable the "Allow search engine customization" setting, which restricts any changes. If you disable this setting, the policy-set default search engine is removed. If this is also the current in-use default, the engine changes to the Microsoft Edge specified engine for the market. If you don't configure this setting, the default search engine is set to the one specified in App settings.

Registry

HKLM Software\Policies\Microsoft\MicrosoftEdge\OpenSearch
HKCU Software\Policies\Microsoft\MicrosoftEdge\OpenSearch

More options available

Options

Use this format to specify the link you wish to add: <https://fabrikam.com/opensearch.xml>
SetDefaultSearchEngine text

MDM / Intune (CSP)

Device ./Device/Vendor/MSFT/Policy/Config/Browser/SetDefaultSearchEngine
User ./User/Vendor/MSFT/Policy/Config/Browser/SetDefaultSearchEngine
DeviceUser Since Windows 10, version 1703 [10.0.15063] and later Official mapping (Microsoft Learn)

Microsoft Learn documentation Mapping data: Microsoft Learn (CC BY 4.0)

Export Builder

BETA

Configure the state, scope and options, then generate .reg, PowerShell, Intune and SCCM outputs — or add the setting to a multi-setting collection.

These exports write the registry — this is not a managed GPO.

Scope

.reg file

Windows Registry Editor Version 5.00

; Exported from gporais.com
; Policy: Set default search engine
; State: Enabled
; Scope: Computer (HKLM)
; Supported on: Microsoft Edge on Windows 10, Version 1703 or later

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\MicrosoftEdge\OpenSearch]
"SetDefaultSearchEngine"=""
More formats (PowerShell, Intune, SCCM)

PowerShell

# Exported from gporais.com
# Policy: Set default search engine
# State: Enabled
# Scope: Computer (HKLM)
# Supported on: Microsoft Edge on Windows 10, Version 1703 or later

$path = 'HKLM:\Software\Policies\Microsoft\MicrosoftEdge\OpenSearch'
New-Item -Path $path -Force | Out-Null
Set-ItemProperty -Path $path -Name 'SetDefaultSearchEngine' -Value '' -Type String

Building a multi-setting collection? Add this setting and generate combined .reg / PowerShell / GPO scripts.

Open the Builder

Embed this policy on your site

What to embed
Theme

Adds one script line: the theme follows your site’s appearance and the height fits the content. If your site blocks scripts, the embed follows the visitor’s system theme.

Preview