How to clear windows run history


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).


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值