How to Turn off File Path URI history in Run Dialog

When you open the Run dialog and type f or / (forward slash), the recently accessed files may appear in the list as file path URIs.

Run dialog turn off or clear file URI history

You wonder where these entries are stored, as they’re not in the RunMRU registry location.

Resolution

The file URI history comes from the IE browsing history database. There are two options to prevent the file URI history from appearing in the Run dialog.

Option 1: Turn off auto-suggest

There is a registry edit to prevent the file URI suggestions from appearing in the Run dialog. However, the edit also turns off auto suggestions in the File Explorer address bar and the common dialog boxes.

Launch regedit.exe and go to:

HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AutoComplete

Set AutoSuggest to no.

Reference: How to Enable AutoSuggest and AutoComplete in Explorer Address Bar and Run Dialog




Option 2: Clear IE history

As mentioned above, the registry edit in Option 1 also turns off auto-suggest in File Explorer address bar and file open/save as dialogs. If you don’t want to disable AutoSuggest, you can clear the file URI auto-suggest entries by running this command:

rundll32.exe inetcpl.cpl,ClearMyTracksByProcess 1

If you use it regularly, you may create a shortcut for the above command and run it. You can also clear the history regularly by running the command using Task Scheduler.

Note: The above command is equivalent to clearing the IE browsing history using inetcpl.cpl.

Run dialog turn off or clear file URI history - inetcpl.cpl

Launch inetcpl.cpl to open Internet Options. Select the “Content” tab and click “Settings” next to AutoComplete. Click “Delete AutoComplete history…“. Select “History” and click “Delete.”


One small request: If you liked this post, please share this?

One "tiny" share from you would seriously help a lot with the growth of this blog. Some great suggestions:
  • Pin it!
  • Share it to your favorite blog + Facebook, Reddit
  • Tweet it!
So thank you so much for your support. It won't take more than 10 seconds of your time. The share buttons are right below. :)

Ramesh Srinivasan is passionate about Microsoft technologies and he has been a consecutive ten-time recipient of the Microsoft Most Valuable Professional award in the Windows Shell/Desktop Experience category, from 2003 to 2012. He loves to troubleshoot and write about Windows. Ramesh founded Winhelponline.com in 2005.

Leave a Comment