Forum Discussion
dujuarez
Nov 06, 2025Copper Contributor
How to prevent Windows Explorer from saving paths
When I copy and paste a path into Windows Explorer is saves it. The problem I have is when I'm switching views from Details to Extra Large Icons. After type multiple paths the drop down of the saved ...
Emre_Civelekoglu
Nov 10, 2025Copper Contributor
Hi dujuarez,
If you want the address bar dropdown in File Explorer to stay empty, you can automate clearing its history every time you log in or at a regular intervals.
Example:
# Clear Explorer typed paths and history
Remove-Item "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\TypedPaths" -Recurse -Force
Remove-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\RunMRU" -Name "*" -ErrorAction SilentlyContinue...Save this script as .ps1 file, and configure it to run automatically at startup using Task Scheduler.
This way, Windows Explorer's address bar history will always be cleared, preventing old paths from appearing in the dropdown.