Regedit Keys Controlling Windows Search Indexing
This guide outlines the primary Windows Registry keys responsible for controlling the indexing behavior, performance, and operational policies of the Windows Search service. By modifying these specific registry paths, administrators can manage indexing rules, adjust resource throttling, and configure global search indexer settings across the system.
Primary Windows Search Policy Key
The primary registry key used to enforce administrative policies on indexing behavior is:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Search
If this key does not exist, it can be created manually to enforce system-wide indexing rules. Commonly used DWORD (32-bit) values under this key include:
- PreventIndexingCertainPaths: Restricts specific folder locations from being added to the search index.
- PreventIndexingOutlook: Blocks Microsoft Outlook items from being indexed.
- AllowIndexingEncryptedStoresOrItems: Set to
1to allow indexing of encrypted files, or0to block them. - DisableBackoff: Set to
1to disable the indexer’s automatic throttling mechanism, forcing it to index at full speed even when system activity is detected.
Core Windows Search Configuration Key
The core operational settings and database locations for the search indexer are stored under:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Search
This key contains the internal engine parameters that govern how the service runs. Critical subkeys and values include:
- DataDirectory: Defines the file path where the
Windows Search index database (
Windows.edb) is stored. - SetupCompletedSuccessfully: Indicates the initialization status of the search catalog.
Indexing Engine and Crawl Behavior Key
To fine-tune how the engine crawls and indexes data at a low level, the Gathering Manager subkey is used:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Search\Gathering Manager
Under this key, you can configure:
- DisableBackOff: Controls CPU and disk I/O throttling during high system load.
- UserAgent: Defines the identifier used when crawling network locations.
- DefaultApplicationsPath: Specifies default paths mapped for application indexing.
Applying Registry Changes
After modifying any of these registry keys, the Windows Search service must be restarted for changes to take effect:
- Open Command Prompt as Administrator.
- Run
net stop WSearchto stop the indexing service. - Run
net start WSearchto restart the service with the new configuration.