How to clear windows run history

本文介绍如何通过删除注册表项HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerRunMRU来清除Windows运行窗口的历史记录。该方法适用于Windows XP、Vista、Server 2003、Server 2008及Windows 7等版本。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >


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


OllyDbg是一款强大的Windows平台上的反汇编器和调试器,用于静态和动态分析软件。如果你想运行OllyDbg,可以按照以下步骤操作: 1. **下载安装**: 访问OllyDbg的官方网站 (<https://www.ollydbg.de/>) 或其他可靠的源,下载适合你Windows系统的最新版本。 2. **运行安装**: 双击下载的安装文件,按照安装向导的提示进行安装。确保你选择合适的选项,如是否创建桌面快捷方式等。 3. **启动OllyDbg**: 安装完成后,在开始菜单搜索栏输入"OllyDbg"或找到桌面上的快捷方式,双击打开。 4. **加载目标程序**: 在OllyDbg的主界面,点击"File" -> "Load Process"(或快捷键F5),浏览并选择你想分析的可执行文件(.exe或.dll)。 5. **设置断点**: 在代码的相应位置点击或者使用工具栏设置断点,以便在执行到该处时暂停调试。 6. **单步执行**: 使用F7进行单步执行,或者使用工具栏的控制按钮,如Step Into(单步进入),Step Over(单步过)等进行调试。 7. **查看变量和内存**: 通过"Variables"窗口或右键点击内存地址,可以查看和修改变量值。 8. **学习和使用插件**: OllyDbg有许多插件可供扩展功能,如果你需要特定功能,可以研究这些插件并按照说明使用。 9. **保存分析结果**: 分析过程中,你可以保存调试日志、修改的代码片段或者有趣的发现,以便后续复盘或分享。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值