Clear Run box history on Windows

If you execute command in run box on Windows, it usually keeps the command in history. It is useful if you need to use the command again, you don’t have to type it. But if you are at public computer or maybe share this user account with someone else, they can see what have you done or which folder you accessed from the run box history so you may want to delete history from the run box after you executed some private command.


Use registry editor to delete run history

Note: Modify Windows registry incorrectly could result in serious problem to your system. You can backup registry before follow these steps or try other methods if you aren’t familiar with the method.

Open run window and type regedit and click OK.
Note: You can open run window by press Windows + R keyboard shortcut on Windows 7, 8, and 10.

2. On registry editor, navigate to this path.


3. Then, you see command history as key-pair value on the right window.

4. Select key that you want. Right-click on those keys and select Delete. In this example, I want to clear all run history so I select all keys from a to g.

5. Click Yes to confirm.

6. Now you see that run history is clear.