Policy

Turn off storage and display of search history

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.

Policy
PackMicrosoft Windows
CategoryWindows Components / Search
Policy ID54a18b2dccd3
Internal nameDisableSearchHistory

Registry

Copy registry mappings

HKCU\SOFTWARE\Policies\Microsoft\Windows\Explorer\DisableSearchHistory (enabled) = 1
HKCU\SOFTWARE\Policies\Microsoft\Windows\Explorer\DisableSearchHistory (disabled) = 0

Policy notes

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.

Related policies