http://www.csnserver.com
Click here for Low cost website hosting!

IP Address Lookup
IP Address

Microsoft Windows Tips And Tricks!



Welcome!

Remove At Command Prompt History Of Commands Executed From The Run Window In Windows Xp, 2003, Vista, 7 And 8



Windows stores the list of the commands we have executed from the Run window. This ‘Run’ command history can be seen by clicking on the drop down list in Run window as shown below.

Run History From Run Box

This history of Run commands is saved in the registry key which is specific to each user of the computer. One can clear this command history by deleting all values under this registry key.
This registry key is:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\RunMRU

So to delete command history we can simply run the below command from command prompt.
reg delete HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\RunMRU /va /f
Below is the actual command run from the command prompt.

Run History From Run Box Deleted At CMD Prompt

Note that after running the above command you would still be able to see history for the current login session in some Versions of Windows. Once you logoff and login back in you won’t be able to see the history

Thanks for visiting mswintips.com.

Return to Index Page


Valid HTML 4.01 Transitional
Copyright ©2018 CSN All Rights Reserved