File Explorer Search History Won't Clear in Windows 10
In this article
If your File Explorer search history won't clear in Windows 10, the fix usually involves clearing the autocomplete cache in Registry Editor or using the built-in "Clear" button in File Explorer's search tab. This article explains why the history persists, how to remove it completely, and how to prevent it from coming back.
Why Search History Gets Stuck
Windows 10 stores File Explorer search history in two places: the registry (under HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\WordWheelQuery) and a hidden file called WordWheelQuery in the user profile. The File Explorer interface shows a "Clear search history" button, but it often fails to remove all entries, especially if the registry key is corrupted or if Windows Search service is not running properly. Another common cause is that the history is synced across devices via your Microsoft account, so clearing it on one PC may not clear it on others.
How File Explorer Search History Works
When you type in the File Explorer search box, Windows saves each query as a binary value under the WordWheelQuery registry key. These entries are used to populate the drop-down suggestions the next time you click the search box. The history is tied to your user account, not the system, so each user on the same PC has their own separate history. The registry key can grow large over time, and if the key becomes corrupted or if permissions are misconfigured, the standard clearing method (via the search tab) may not work.
Standard Method: Using the Clear Button
- Open File Explorer (Win + E).
- Click inside the search box (top right).
- Go to the Search tab in the ribbon.
- Click Clear search history (in the Options group).
If this works, the history is gone. If not, proceed to the registry method below. Note that this button only clears the current user's history; it does not affect other accounts.
Force Clearing via Registry Editor
If the button fails, you can delete the registry key manually. This is the most reliable method.
- Press Win + R, type
regedit, and press Enter. - Navigate to:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\WordWheelQuery - Right-click the WordWheelQuery key and choose Delete.
- Close Registry Editor and restart File Explorer (or sign out and back in).
Deleting this key removes all saved search queries for your account. Windows will recreate it when you next search. If you get an access denied error, ensure you are logged in as an administrator and that the key is not locked by another process.
Common Problems and Fixes
- History reappears after reboot: This usually means the registry key is being recreated by Windows Search or by a sync process. Disable search history syncing in Settings > Accounts > Sync your settings (or Settings > Privacy > Search permissions).
- Clear button is greyed out: This happens when the search box has no history or when the File Explorer window is not focused. Click inside the search box first, then try again.
- History is still visible in the address bar: The address bar has its own history (stored in
TypedPaths). Clear it separately by deleting that registry key. - Search history is shared with Cortana or Start menu: Those have separate histories. Clear them via Settings > Search > Permissions & History.
Preventing Search History from Being Saved
If you don't want Windows 10 to save File Explorer search history at all, you can use Group Policy (Windows 10 Pro/Enterprise) or a registry tweak. In Group Policy: User Configuration > Administrative Templates > Windows Components > File Explorer and enable "Turn off display of recent search entries in the File Explorer search box." For Home editions, create a DWORD value named DisableSearchBoxSuggestions with value 1 under HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Explorer. This stops new history from being recorded, but does not clear existing entries.
Frequently Asked Questions
Why does my search history come back after I clear it?
If you are signed in with a Microsoft account and have sync enabled, your search history may be restored from the cloud. Go to Settings > Accounts > Sync your settings and turn off "Search history" (or "Other Windows settings"). Also, check if any backup software is restoring the registry.
Can I clear only specific search entries instead of all?
Yes, but only via the registry. In the WordWheelQuery key, each entry is a binary value named 0, 1, 2, etc. You can delete individual values by right-clicking them and choosing Delete. However, the numbering may not be sequential, and the File Explorer UI does not offer per-item deletion.
Will clearing the registry key damage my system?
No. The WordWheelQuery key is only for search suggestions. Deleting it is safe and Windows will recreate it as needed. Always back up the registry before making changes (right-click the key and choose Export).
Does the search history clear on all user accounts?
No. Each user has their own WordWheelQuery key under their own HKEY_CURRENT_USER. You must repeat the process for each user account on the PC.
Why is the registry key not visible in Regedit?
If the key is missing, it means you have no search history saved. This can happen if the policy to disable search suggestions is active, or if you have never used the search box. The key is created the first time you type in File Explorer's search box.