Policy
Turn off storage and display of search history
Windows 11 25H2
Policy overview
Key metadata and intent for this policy.
Supported OS tags: Windows8
This policy setting prevents search queries from being stored in the registry. If you enable this policy setting, search suggestions based on previous searches won't appear in the search pane. Search suggestions provided by apps or by Windows based on local content will still appear. If you disable or do not configure this policy setting, users will get search suggestions based on previous searches in the search pane.
Internal name
DisableSearchHistory
Policy ID
54a18b2dccd3
Elements
0
Registry values
How enabled and disabled states update the registry.
| Registry location | Type | Enabled value | Disabled value |
|---|---|---|---|
| HKCU\SOFTWARE\Policies\Microsoft\Windows\Explorer\DisableSearchHistory | REG_DWORD | 1 | 0 |
Policy elements
Inputs and configuration options exposed by this policy.
This policy has no additional user input fields.
Other policies in this category
Explore related policies at the same level.
- ComputerAdd primary intranet search locationMicrosoft Windows XP, or Windows Server 2003 with Windows Search version 3.01 or later
- ComputerAdd secondary intranet search locationsMicrosoft Windows XP, or Windows Server 2003 with Windows Search version 3.01 or later
- ComputerAllow Cloud SearchAt least Windows Server 2016, Windows 10
- ComputerAllow CortanaAt least Windows Server 2016, Windows 10
- ComputerAllow Cortana above lock screenAt least Windows Server 2016, Windows 10
- ComputerAllow Cortana Page in OOBE on an AAD accountAt least Windows Server 2016, Windows 10
- ComputerAllow indexing of encrypted filesMicrosoft Windows Vista, or any version of Windows with Windows Search 4.0 or later
- ComputerAllow search and Cortana to use locationAt least Windows Server 2016, Windows 10
- ComputerAllow search highlightsAt least Windows Server 2016, Windows 10
- ComputerAllow use of diacriticsMicrosoft Windows Vista, or any version of Windows with Windows Search 3.01 or later
- ComputerAlways use automatic language detection when indexing content and propertiesMicrosoft Windows 8 or later
- ComputerConfigures search on the taskbarAt least Windows 11