How to Delete Run Command History from Windows 7, 8.1 and 10?

Delete Run Command History

The Run command box help users to quickly type commands and reach to their destination such as Windows settings, application or a document whose path is known. You must have a long list of commands listed in your run command dialog box (Win + R). However, if you want, you have an option to delete run command history of your Windows within a few moments, if required.

Initially, the run command box was introduced with Windows 95 and still persist until Windows 10.

run command history in windows

The Windows Run Command box is the most useful tool in any of your Windows operating system. In addition, the run command dialog box allows you to open website URL’s directly to your default web browser by using the HTTP protocol.

For example, type, http://www.example.com or www.example.com in your Run box and hit OK or Enter.

[Read: Important Run Commands for Windows you Should Know]

Backup Windows Registry Editor

This article will show how you can clear or delete used command history from the run dialog box by using the Windows registry editor.

It is a good habbit, whenever we are going to perform some of the tasks in Windows registry, it is always suggested to backup Windows registry to prevent any mishappening. Though, steps given in this post won’t harm anything. It won’t take more than a minute to back up your Windows registry.

[Read: Backup Windows Registry within a Quick Minute]

Clear Run Command List with Registry Editor

Step 1. Firstly, open Windows registry editor. Likewise, we will use the run command to open the registry editor.

Press Win + R to open run dialog box and type, regedit then, hit OK.

Step 2. Navigate to the following path:

HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\RunMRU

Once you have selected RunMRU key, in the right pane, you can see a list run commands that you have used in run dialog box.

list of run commands in registry

Step 3. In order to remove or delete run command history of your Windows, follow below steps:

All of used commands are listed with an alphabet letter (i.e: a, b, c, d, e, f, g & so on)

You can remove it by selecting all of them at once or one-by-one by hitting the delete key from keyboard.

Alternatively, you can select all of them at once or select one-by-one and then, right-click and select Delete option.

Caution: Make sure you shouldn’t select MRUList and (Default) key values while performing the below task.

run command history in windows registry

Step 4. By using any of the way to delete commands (delete button of keyboard or right-click and select delete), you will get a confirmation prompt. Click Yes to continue.

Close Windows registry editor.

delete run command history with registry editor

As a result of your above action, it will do an immediate effect and clear run command history from your run dialog box. To check this, go back to run dialog box and see, you won’t find any commands listed there.

remove run command history

Now on, as soon as you will start using more command in run dialog box, it will create another history in your Windows registry editor.

So, when you want to remove, go back to given path and perform the same task to delete run commands.

Delete Run Command History from Windows Click To Tweet

 

Share This Post To Help Others!!

Leave a Reply