Clear run command history
The Run command box helps users quickly type commands and reach their destination, such as Windows settings, the application, or a document with a known path. You should have a long list of commands listed in your run command dialog (Win + R). However, if you wish, you can delete the runtime history from your Windows in a matter of moments, if necessary.
Initially, the runtime command box was introduced with Windows 95 and still persists until Windows 10.
The Run Windows dialog is the most useful tool of any Windows operating system. In addition, the run command dialog allows you to open website URLs directly in your default web browser using HTTP.
For example, type, http://www.example.com or www.example.com in your Run area and press 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 the command history used in the execution dialog using the Windows Registry Editor.
It is a good habit, whenever we are going to perform certain tasks in the Windows registry, it is always suggested to back up the Windows registry to avoid any misfortune. However, the steps given in this post will do nothing. Backing up your Windows registry will not take more than a minute.
[Read: Backup Windows Registry within a Quick Minute]
Clear the list of execution commands with the registry editor
Step 1. First, open the Windows Registry Editor. Likewise, we will use the run command to open the registry editor.
hurry Win + R to open the execution dialog and type, regedit then press Okay.
2nd step. Go to the following path:
Once you have selected RunMRU key, in the right pane, you can see a list of the run commands you used in the run dialog.
Step 3. In order to delete or delete the run command history from your Windows, follow the steps below:
All the commands used are listed with a letter of the alphabet (i.e.: a, b, c, d, e, f, g, etc.)
You can delete it by selecting them all at once or one by one by pressing the Delete key on the keyboard.
Alternately, you can select them all at once or select them one by one, then right-click and select Remove option.
Caution: Make sure you don’t select MRUList and (Default) key values when performing the task below.
Step 4. Using one of the ways to delete commands (Delete button on the keyboard or right-click and select Delete), you will get a confirmation prompt. Click on Yes Carry on.
Close the Windows Registry Editor.
Following your action above, it will have an immediate effect and clear the run command history from your run dialog. To verify this, go back to the run dialog and see, you won’t find any commands listed here.
Now, as soon as you start using more commands in the run dialog, it will create another history in your Windows registry editor.
So when you want to delete, go back to the given path and do the same task to delete the run commands.