Fix: Run Command History Not Saved in Windows 10

The Run dialog in Windows stores the commands, folder paths, and website addresses you typed. The entries are saved to the registry and persist until you manually clear them.

If the Run dialog (Winkey + R) doesn’t retain the recently used command history (a.k.a. MRU entries), it can be due to the following reasons:

  1. The “Show most used apps” option is disabled in the Start menu settings.
  2. The ClearRecentDocsOnExit registry value is set to 1.
  3. The user recently cleared the Quick Access history. Doing so erases the Run command history, as well.

This article tells you how to fix the problem in Windows 10 and earlier systems.

Run Command History Not Saved in Windows 10

To make the Run dialog retain the history of commands entered, follow these steps:

  1. If you’re using Windows 10, open Settings, click Personalization, and click Start.
  2. Enable the Show most used apps option.
    run history not saved

If that doesn’t help, there is another setting that you need to check.

  1. Start the Registry Editor (regedit.exe) and go to the following key:
  2. If the value ClearRecentDocsOnExit exists, right-click on it and choose Delete.
  3. Repeat the same in the following key:

Note that none of the above registry keys exist by default. They exist only if a third-party program sets a GPO or registry-based policy. If the keys don’t exist, ignore the step.

The ClearRecentDocsOnExit registry value, if set to 1, it clearing the recent documents history along with the Run commands history automatically at every shutdown. The Run dialog history is stored in the following registry key:


Thirdly, if you clear the Quick access history via Folder Options, it erases the Run command history as well.

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 in 2005.

2 thoughts on “Fix: Run Command History Not Saved in Windows 10”

  1. Can I make an entry in HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\RunMRU to ensure that MRUs are saved ?


Leave a Comment