Set File Explorer Search Provider Using Regedit
This guide explains how system administrators can configure or customize the search provider behavior for the Windows File Explorer search bar using the Registry Editor (Regedit). By managing specific Windows Search policy and Explorer registry keys, administrators can define enterprise search paths, control web integration, and deploy customized search connector parameters across client machines.
Step 1: Open the Registry Editor
- Press
Win + Rto open the Run dialog. - Type
regeditand press Enter. - Click Yes when prompted by User Account Control (UAC).
Step 2: Navigate to the Windows Search Policies Key
To enforce search provider settings machine-wide, navigate to the administrative policy registry path:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Search
Note: If the Windows Search key does not exist under
Windows, right-click the Windows folder,
select New > Key, and name it
Windows Search.
Step 3: Configure Default Search Parameters
Inside the Windows Search key, administrators can
configure values to define how the Explorer search bar handles
queries:
- Disable Cloud and Web Search Fallback (Local Explorer Search
Only):
- Right-click the right pane and select New > DWORD (32-bit) Value.
- Name the value:
DisableWebSearch - Double-click it and set the Value data to
1. - Create another DWORD named
ConnectedSearchUseWeband set its Value data to0.
- Restrict Search to Specified Scopes:
- Right-click and select New > DWORD (32-bit) Value.
- Name the value:
PreventIndexingLowDiskSpaceMBorAllowCortana(set to0to disable Cortana-driven search provider overrides).
Step 4: Configure Federated Search Connectors (Optional)
To route File Explorer searches to a custom enterprise provider,
administrators deploy OpenSearch connector definitions
(.searchconnector-ms files) via the registry:
Navigate to:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Search\SearchEnginesCreate a new subkey with the identifier of your custom search provider.
Under this subkey, create a
String Value(REG_SZ) namedSearchLocationand set the path to your federated search connector XML/OSDX location.
Step 5: Apply the Changes
For the registry modifications to take effect:
- Press
Ctrl + Shift + Escto open the Task Manager. - Locate Windows Explorer under the Processes tab.
- Right-click Windows Explorer and select Restart.
- Alternatively, log off and log back into the Windows user account.