When you start typing in another command, a dropdown will appear with recently used entries. Here is an example: You can then use your mouse or the up/down arrow keys to scroll through similar suggestions, and then hit “Enter” on the command that you want to run again. However, in some cases, the auto-suggestion feature might be turned off by the owner of the PC, or your organization. In other instances, you may want to disable the auto-suggestions feature of the Run Command box simply because the list is too long or you wish to keep it enabled and only clear the history for a fresh start. In this article, we will show you how to delete/clear the Run dialog box history, and how to enable or disable the feature completely.

Clear Run Command History

If you only want to clear the Command history, you can use the following steps to do it. Performing these steps will clear your current history and create room for new and fresh commands to be saved. The given method works for Windows 7, Windows 8 and 8.1, and Windows 10 and 11.

Clear Run Command History Disable Run Command History Disable Run Command History from Settings Enable or Disable Run Command History from Registry Closing Thoughts

Now, when you open the Run Command box, you will notice that the text field is empty, and so are all of the suggestions. You can also use our top selection of disk imaging and backup software so you never lose your data or operating system again. Here, you will see the command history saved in the right-hand pane inside different string values.

Disable Run Command History

If you want to enable or disable the auto-suggestions feature, there are two methods for it. One is achieved using the Settings app, while the other involves modifying the Windows Registry. We suggest you only use it if the former method doesn’t work for you.

Disable Run Command History from Settings

Perform the following steps to enable or disable the Run Command history using the Settings app. Note that this method is only valid for Windows 8, 10, and Windows 11 since the Settings app isn’t available on Windows 7. If you have just enabled the Run Command box’s history, every command you enter from now on will be saved. If you just disable it, you will find the text field empty in the Run Command box, as will the drop-down menu.

To enable history, toggle the slider into the On position. Enable Run Command box history from Settings app To disable history, toggle the slider into the Off position. Disable the Run Command box history from the Settings app

Enable or Disable Run Command History from Registry

If your organization or system administrator manages your Windows Settings, you can use the following steps to enable or disable the feature by tweaking the Windows Registry. These steps can be used in all Windows versions launched since (and including) Windows 7. If you have just enabled the Run Command box’s history, every command you enter from now on will be saved. If you just disable it, you will find the text field in the Run Command box is empty, as will the drop-down menu.

Change the Value Data to “1” to enable Run Command history Enable Run Command box history from Windows Registry Change the Value Data to “0” to disable the Run Command history Disable Run Command box history from Windows Registry

Note that performing these steps inside the Windows Registry does not require a system reboot. Additionally, you can still manage the settings from the Settings app, as given in the steps above.

Closing Thoughts

This article highlights the methods to manage the Command Box’s history storage on a Windows PC. You can either clear the history, enable or disable the feature altogether. Do not confuse this article with disabling the Run Command box; that is a different thing. That said, we found that some online tutorials also ask you to disable the “Show most used apps” feature in Settings » Personalization » Start. Note that enabling or disabling this feature will have no effect on the Run Command box’s history. However, the methods discussed in this post have been tried and tested to work effectively.