Thursday, October 22, 2020

Windows 10 Clear Run Cache

Generally, all IT professionals are familiar with this "Run" application. This application is used to start any program directly via command line or access to a certain path that is located on the network or maybe the local PC. For example, we can use the "Run" program to access any network share folder or we can start directly MS word application using the "Run" command.  It's very useful to fasten the system administration.

But one thing we have to keep on our mind is that, whatever command we are executing using this "Run" application, all the command history will be saved. That's not a big deal. Sometimes it's good for us when we don't have to write the command again and again. But sometimes it's a security concern or privacy issue, that we can't ignore. That's why we have required to remove all the command history that we have used before.

We can clear all the command history using the windows registry. We will found all the history at the registry after exploring the below path.

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

Snapshot for the command history is below:-


To clear your "Run" command history, just right click on it and select "delete". Below are shown the whole process graphically. 

First of all open "Registry Editor" from the "Run" application using the below command.

regedit

After opening the "Registry Editor", expand "HKEY_CURRENT_USER" menu and then expand "SOFTWARE".


Now expand "Microsoft".


And now "Windows" and then "CurrentVersion".


Now expand "Explorer".


And Now select "RunMRU".


After selecting the "RunMRU", you will be shown up by command history from the right panel.
Now simply delete all the entry. Your "Run" command history will be gone. 

No comments:

Post a Comment