关闭

How to clear windows run history

标签: windowscommandmicrosoftdeleteloginuser
273人阅读 评论(0) 收藏 举报
分类:


http://www.windows-commandline.com/2009/11/how-to-clear-windows-run-history.html


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

This history of  Runcommands is saved in registry key which is specific to each user of thecomputer. One can clear this command history by deleting all valuesunder 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

Notethat after running the above command you would still be able to seehistory for the current login session. Once you logoff and login backyou won’t be able to see the history.

The above tip is applicable to all Windows editions(XP, Vista, Server 2003, Server 2008 and Windows 7).


0
0

查看评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
    个人资料
    • 访问:78635次
    • 积分:1118
    • 等级:
    • 排名:千里之外
    • 原创:23篇
    • 转载:58篇
    • 译文:1篇
    • 评论:2条
    文章分类
    最新评论