Remove Obsolete Network Locations from Explorer Search
This guide explains how to identify and remove obsolete network locations and disconnected network shares from the Windows File Explorer search scope using the Registry Editor (Regedit). Clearing these dead paths resolves Explorer hanging, eliminates slow search indexing, and removes lingering network references that no longer exist on your local network.
Step 1: Open the Registry Editor
- Press Windows Key + R to open the Run dialog.
- Type
regeditand press Enter. - Click Yes if prompted by User Account Control (UAC).
Step 2: Clear Cached Network Mount Points
Obsolete network shares frequently remain cached under the user’s mount points, causing Explorer to attempt connecting to them during searches.
In the Registry Editor, navigate to the following path:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MountPoints2Expand the
MountPoints2key.Look for subkeys starting with
##followed by a server or share name (for example,##ServerName#ShareName).Right-click the obsolete network key and select Delete.
Step 3: Remove Network Search History and Scopes
Explorer stores past search queries and target locations in the search dropdown history.
Navigate to:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\WordWheelQueryIn the right pane, locate the binary values representing old search queries targeting network paths.
Select and delete the specific obsolete values, or delete all entries except
MRUListExto completely reset Explorer’s search scope history.
Step 4: Remove Stale Network Drive History
If the network location was previously mapped as a drive:
Navigate to:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Map Network Drive MRUIn the right pane, delete the string values (such as
a,b,c) containing the obsolete UNC network paths.Double-click the
MRUListentry and remove the letters corresponding to the deleted entries.
Step 5: Clean System-Wide Search Index Scopes (Optional)
If the obsolete location was indexed by Windows Search:
Navigate to:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Search\CrawlScopeManager\Projects\SystemIndex\SearchRootsExpand
SearchRootsand inspect the numbered subkeys.Check the
URLdata value inside each numbered key.If a key points to the obsolete network location (e.g.,
csc://orfile:///\\server\share), right-click that numbered key and select Delete.
Step 6: Restart Windows Explorer
- Press Ctrl + Shift + Esc to open Task Manager.
- Under the Processes tab, find Windows Explorer.
- Right-click it and select Restart.