Microsoft Edge incorporates a “Search Engine Discovery” feature, which proactively scans the websites a user visits to detect if they offer a custom OpenSearch description document. If a supported search architecture is detected, Edge automatically adds that website’s search engine to the browser’s internal list of available search providers (often visible when typing in the address bar). While this offers a frictionless way for consumers to search specific sites, automatically parsing and caching remote XML configurations from arbitrary, unvetted websites introduces an unacceptable attack vector in strict zero-trust or enterprise environments. Maliciously crafted OpenSearch documents could potentially be used for tracking, URL redirection hijacking, or simply cluttering the browser’s internal database with unauthorized search telemetry endpoints.
This guide explains how to completely disable ‘Search Engine Discovery’ via Group Policy in Microsoft Edge, enforcing a strict zero-trust model where only administratively defined search providers are permitted, and dynamic OpenSearch polling is cryptographically blocked.
Disable Search Engine Discovery via Group Policy
To enforce a strict block that disables the automatic OpenSearch discovery engine globally across the browser, we must deploy an administrative template. Note that this requires Windows 11 Pro, Enterprise, or Education editions.
- Log into Windows 11 with an Administrator account.
- Press the Windows Key + R to open the Run dialogue box.
- Type
gpedit.mscand press Enter to launch the Local Group Policy Editor. - In the left-hand navigation pane, strictly follow this exact path:
Computer Configuration > Administrative Templates > Microsoft Edge > Default search provider - In the right-hand pane, locate the policy named Allow search engine discovery.
- Double-click the policy to open its configuration window.
- Select the radio button next to Disabled. (By explicitly disabling this policy, we instruct the Edge rendering engine to permanently sever its background OpenSearch document scanner, guaranteeing that no external website can inject its search configuration into the browser).
- Click Apply, then click OK.
Verify the Configuration Lockdown
Group Policy changes require the browser to read the registry upon its next launch.
Close all active instances of Microsoft Edge. To force the policy update immediately across the OS, open Command Prompt as Administrator and run gpupdate /force. To verify the restriction is active, open Microsoft Edge and navigate to edge://settings/searchEngines. The browser will no longer automatically populate this list based on your browsing history. Only the default Microsoft-provided engines (or those strictly defined by other Group Policies) will remain. The browser is now cryptographically bound to operate as a sterile endpoint, entirely mitigating the risk of dynamic search provider injection.