怎么手动清理Windows注册表

随着注册表占用的空间越来越大,操作系统运行的速度会越来越慢。第三方的注册表清理软件可能没有完善的逻辑和算法,无法有效清理所有注册表。这些软件通常是基于一些预先设定好的规则执行清理任务,但是可能这些规则并不适合你的注册表,或者可能给你原本干净的注册表中留下冗杂或无效的信息。

幸运的是,你可以在卸载程序之后手动删除无效的程序项目和启动项,从而清理注册表。阅读本文,按照本文的方法从头做起。

注意: 本文适用于较有经验的Windows系统使用者。如果操作不当的话,可能会对电脑造成损害。

步骤

  1. 1 打开Windows注册表编辑器。
    1. 点击“开始”按钮,然后选择“运行...”。 {"smallUrl":"https:\/\/www.zenmeban.com\/images_en\/thumb\/4\/43\/Clean-the-Windows-Registry-by-Hand-Step-1Bullet1-Version-2.jpg\/v4-460px-Clean-the-Windows-Registry-by-Hand-Step-1Bullet1-Version-2.jpg","bigUrl":"https:\/\/www.zenmeban.com\/images\/thumb\/4\/43\/Clean-the-Windows-Registry-by-Hand-Step-1Bullet1-Version-2.jpg\/v4-728px-Clean-the-Windows-Registry-by-Hand-Step-1Bullet1-Version-2.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"<div class=\"mw-parser-output\"><\/div>"}
    2. 在文本输入框中输入regedit {"smallUrl":"https:\/\/www.zenmeban.com\/images_en\/thumb\/c\/cb\/Clean-the-Windows-Registry-by-Hand-Step-1Bullet2-Version-2.jpg\/v4-460px-Clean-the-Windows-Registry-by-Hand-Step-1Bullet2-Version-2.jpg","bigUrl":"https:\/\/www.zenmeban.com\/images\/thumb\/c\/cb\/Clean-the-Windows-Registry-by-Hand-Step-1Bullet2-Version-2.jpg\/v4-728px-Clean-the-Windows-Registry-by-Hand-Step-1Bullet2-Version-2.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"<div class=\"mw-parser-output\"><\/div>"}
    3. 按下“回车键”或点击“确定”按钮。 {"smallUrl":"https:\/\/www.zenmeban.com\/images_en\/thumb\/c\/c6\/Clean-the-Windows-Registry-by-Hand-Step-1Bullet3-Version-2.jpg\/v4-460px-Clean-the-Windows-Registry-by-Hand-Step-1Bullet3-Version-2.jpg","bigUrl":"https:\/\/www.zenmeban.com\/images\/thumb\/c\/c6\/Clean-the-Windows-Registry-by-Hand-Step-1Bullet3-Version-2.jpg\/v4-728px-Clean-the-Windows-Registry-by-Hand-Step-1Bullet3-Version-2.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"<div class=\"mw-parser-output\"><\/div>"}
  2. 2 在对注册表做任何更改之前,请先备份现有的注册表。如果你做的某些更改影响、损害了操作系统或安装的软件,这将给你一次撤销更改的机会。(备份注册表的具体方法请查阅相关的指南。备份注册表是非常重要的一步,必须在编辑注册表之前完成备份)。
    1. 点击“文件”菜单,选择“导出”。 {"smallUrl":"https:\/\/www.zenmeban.com\/images_en\/thumb\/d\/db\/Clean-the-Windows-Registry-by-Hand-Step-2Bullet1-Version-3.jpg\/v4-460px-Clean-the-Windows-Registry-by-Hand-Step-2Bullet1-Version-3.jpg","bigUrl":"https:\/\/www.zenmeban.com\/images\/thumb\/d\/db\/Clean-the-Windows-Registry-by-Hand-Step-2Bullet1-Version-3.jpg\/v4-728px-Clean-the-Windows-Registry-by-Hand-Step-2Bullet1-Version-3.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"<div class=\"mw-parser-output\"><\/div>"}
    2. 在“导出范围”面板中选择“全部”。 {"smallUrl":"https:\/\/www.zenmeban.com\/images_en\/thumb\/2\/2f\/Clean-the-Windows-Registry-by-Hand-Step-2Bullet2-Version-3.jpg\/v4-460px-Clean-the-Windows-Registry-by-Hand-Step-2Bullet2-Version-3.jpg","bigUrl":"https:\/\/www.zenmeban.com\/images\/thumb\/2\/2f\/Clean-the-Windows-Registry-by-Hand-Step-2Bullet2-Version-3.jpg\/v4-728px-Clean-the-Windows-Registry-by-Hand-Step-2Bullet2-Version-3.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"<div class=\"mw-parser-output\"><\/div>"}
    3. 为备份文件选择一个保存路径,然后输入文件名字。 {"smallUrl":"https:\/\/www.zenmeban.com\/images_en\/thumb\/f\/f8\/Clean-the-Windows-Registry-by-Hand-Step-2Bullet3-Version-3.jpg\/v4-460px-Clean-the-Windows-Registry-by-Hand-Step-2Bullet3-Version-3.jpg","bigUrl":"https:\/\/www.zenmeban.com\/images\/thumb\/f\/f8\/Clean-the-Windows-Registry-by-Hand-Step-2Bullet3-Version-3.jpg\/v4-728px-Clean-the-Windows-Registry-by-Hand-Step-2Bullet3-Version-3.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"<div class=\"mw-parser-output\"><\/div>"}
    4. 点击“保存”。 {"smallUrl":"https:\/\/www.zenmeban.com\/images_en\/thumb\/7\/7f\/Clean-the-Windows-Registry-by-Hand-Step-2Bullet4-Version-3.jpg\/v4-460px-Clean-the-Windows-Registry-by-Hand-Step-2Bullet4-Version-3.jpg","bigUrl":"https:\/\/www.zenmeban.com\/images\/thumb\/7\/7f\/Clean-the-Windows-Registry-by-Hand-Step-2Bullet4-Version-3.jpg\/v4-728px-Clean-the-Windows-Registry-by-Hand-Step-2Bullet4-Version-3.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"<div class=\"mw-parser-output\"><\/div>"}
  3. {"smallUrl":"https:\/\/www.zenmeban.com\/images_en\/thumb\/0\/08\/Clean-the-Windows-Registry-by-Hand-Step-3-Version-3.jpg\/v4-460px-Clean-the-Windows-Registry-by-Hand-Step-3-Version-3.jpg","bigUrl":"https:\/\/www.zenmeban.com\/images\/thumb\/0\/08\/Clean-the-Windows-Registry-by-Hand-Step-3-Version-3.jpg\/v4-728px-Clean-the-Windows-Registry-by-Hand-Step-3-Version-3.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"<div class=\"mw-parser-output\"><\/div>"} 3 了解注册表编辑器。它被分成两个窗口面板,左侧的窗口用来显示整个注册表树,右侧的面板用来显示单个数值。
  4. 4 找到并移除旧程序的注册表信息。移除列表里所有已被卸载的程序的注册表信息。
    1. 点击“HKEY_CURRENT_USER” 键(文件夹图标)旁边的加号(+)按钮来展开它。 {"smallUrl":"https:\/\/www.zenmeban.com\/images_en\/thumb\/e\/e5\/Clean-the-Windows-Registry-by-Hand-Step-4Bullet1-Version-3.jpg\/v4-460px-Clean-the-Windows-Registry-by-Hand-Step-4Bullet1-Version-3.jpg","bigUrl":"https:\/\/www.zenmeban.com\/images\/thumb\/e\/e5\/Clean-the-Windows-Registry-by-Hand-Step-4Bullet1-Version-3.jpg\/v4-728px-Clean-the-Windows-Registry-by-Hand-Step-4Bullet1-Version-3.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"<div class=\"mw-parser-output\"><\/div>"}
    2. 展开“Software” 键。 {"smallUrl":"https:\/\/www.zenmeban.com\/images_en\/thumb\/5\/55\/Clean-the-Windows-Registry-by-Hand-Step-4Bullet2-Version-3.jpg\/v4-460px-Clean-the-Windows-Registry-by-Hand-Step-4Bullet2-Version-3.jpg","bigUrl":"https:\/\/www.zenmeban.com\/images\/thumb\/5\/55\/Clean-the-Windows-Registry-by-Hand-Step-4Bullet2-Version-3.jpg\/v4-728px-Clean-the-Windows-Registry-by-Hand-Step-4Bullet2-Version-3.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"<div class=\"mw-parser-output\"><\/div>"}
    3. 找到包含该程序名称或应用程序开发者(公司名称)的键。 {"smallUrl":"https:\/\/www.zenmeban.com\/images_en\/thumb\/6\/69\/Clean-the-Windows-Registry-by-Hand-Step-4Bullet3-Version-3.jpg\/v4-460px-Clean-the-Windows-Registry-by-Hand-Step-4Bullet3-Version-3.jpg","bigUrl":"https:\/\/www.zenmeban.com\/images\/thumb\/6\/69\/Clean-the-Windows-Registry-by-Hand-Step-4Bullet3-Version-3.jpg\/v4-728px-Clean-the-Windows-Registry-by-Hand-Step-4Bullet3-Version-3.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"<div class=\"mw-parser-output\"><\/div>"}
    4. 高亮标记应用程序的键。 {"smallUrl":"https:\/\/www.zenmeban.com\/images_en\/thumb\/5\/54\/Clean-the-Windows-Registry-by-Hand-Step-4Bullet4-Version-2.jpg\/v4-460px-Clean-the-Windows-Registry-by-Hand-Step-4Bullet4-Version-2.jpg","bigUrl":"https:\/\/www.zenmeban.com\/images\/thumb\/5\/54\/Clean-the-Windows-Registry-by-Hand-Step-4Bullet4-Version-2.jpg\/v4-728px-Clean-the-Windows-Registry-by-Hand-Step-4Bullet4-Version-2.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"<div class=\"mw-parser-output\"><\/div>"}
    5. 按下“删除键(Del)”来删除它。 {"smallUrl":"https:\/\/www.zenmeban.com\/images_en\/thumb\/b\/b8\/Clean-the-Windows-Registry-by-Hand-Step-4Bullet5-Version-2.jpg\/v4-460px-Clean-the-Windows-Registry-by-Hand-Step-4Bullet5-Version-2.jpg","bigUrl":"https:\/\/www.zenmeban.com\/images\/thumb\/b\/b8\/Clean-the-Windows-Registry-by-Hand-Step-4Bullet5-Version-2.jpg\/v4-728px-Clean-the-Windows-Registry-by-Hand-Step-4Bullet5-Version-2.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"<div class=\"mw-parser-output\"><\/div>"}
  5. 5 通过应用程序的名称、可执行文件的名称或文件夹名称来搜索应用程序。如果你已卸载某些应用程序,请将注册表里所有和这些程序相关的信息都删除掉。
    1. 同时按下“Ctrl”和“f”,打开查找对话框。 {"smallUrl":"https:\/\/www.zenmeban.com\/images_en\/thumb\/4\/42\/Clean-the-Windows-Registry-by-Hand-Step-5Bullet1-Version-2.jpg\/v4-460px-Clean-the-Windows-Registry-by-Hand-Step-5Bullet1-Version-2.jpg","bigUrl":"https:\/\/www.zenmeban.com\/images\/thumb\/4\/42\/Clean-the-Windows-Registry-by-Hand-Step-5Bullet1-Version-2.jpg\/v4-728px-Clean-the-Windows-Registry-by-Hand-Step-5Bullet1-Version-2.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"<div class=\"mw-parser-output\"><\/div>"}
    2. 输入用于查找程序的关键词。 {"smallUrl":"https:\/\/www.zenmeban.com\/images_en\/thumb\/f\/f1\/Clean-the-Windows-Registry-by-Hand-Step-5Bullet2-Version-3.jpg\/v4-460px-Clean-the-Windows-Registry-by-Hand-Step-5Bullet2-Version-3.jpg","bigUrl":"https:\/\/www.zenmeban.com\/images\/thumb\/f\/f1\/Clean-the-Windows-Registry-by-Hand-Step-5Bullet2-Version-3.jpg\/v4-728px-Clean-the-Windows-Registry-by-Hand-Step-5Bullet2-Version-3.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"<div class=\"mw-parser-output\"><\/div>"}
    3. 点击“确定”来进行搜索。搜索找到的、符合条件的键或值应该会被高亮标记出来。 {"smallUrl":"https:\/\/www.zenmeban.com\/images_en\/thumb\/2\/28\/Clean-the-Windows-Registry-by-Hand-Step-5Bullet3-Version-3.jpg\/v4-460px-Clean-the-Windows-Registry-by-Hand-Step-5Bullet3-Version-3.jpg","bigUrl":"https:\/\/www.zenmeban.com\/images\/thumb\/2\/28\/Clean-the-Windows-Registry-by-Hand-Step-5Bullet3-Version-3.jpg\/v4-728px-Clean-the-Windows-Registry-by-Hand-Step-5Bullet3-Version-3.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"<div class=\"mw-parser-output\"><\/div>"}
    4. 选择高亮标记的键或值,按下“删除键(Del)”来删除它。 {"smallUrl":"https:\/\/www.zenmeban.com\/images_en\/thumb\/a\/a5\/Clean-the-Windows-Registry-by-Hand-Step-5Bullet4-Version-3.jpg\/v4-460px-Clean-the-Windows-Registry-by-Hand-Step-5Bullet4-Version-3.jpg","bigUrl":"https:\/\/www.zenmeban.com\/images\/thumb\/a\/a5\/Clean-the-Windows-Registry-by-Hand-Step-5Bullet4-Version-3.jpg\/v4-728px-Clean-the-Windows-Registry-by-Hand-Step-5Bullet4-Version-3.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"<div class=\"mw-parser-output\"><\/div>"}
    5. 按下“F3”键找到符合条件的下一条结果,并重复上述操作删除信息。
  6. 6 删除你不想要的启动项。许多常用的程序,如Adobe阅读器、Quicktime播放器和“Real Player”播放器,都会安装一个注册表值,用来载入程序更新器或类似的设置,这样每当你启动Windows系统时,就会自动启动这些程序。如果你想要删除这些启动项:
    1. 用上面讲述的方法,展开键进入以下路径:  My Computer\ HKEY_LOCAL_MACHINE\ SOFTWARE\ Microsoft\ Windows\ Current Version. {"smallUrl":"https:\/\/www.zenmeban.com\/images_en\/thumb\/2\/2f\/Clean-the-Windows-Registry-by-Hand-Step-6Bullet1-Version-3.jpg\/v4-460px-Clean-the-Windows-Registry-by-Hand-Step-6Bullet1-Version-3.jpg","bigUrl":"https:\/\/www.zenmeban.com\/images\/thumb\/2\/2f\/Clean-the-Windows-Registry-by-Hand-Step-6Bullet1-Version-3.jpg\/v4-728px-Clean-the-Windows-Registry-by-Hand-Step-6Bullet1-Version-3.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"<div class=\"mw-parser-output\"><\/div>"}
    2. 高亮标记“运行”键。 {"smallUrl":"https:\/\/www.zenmeban.com\/images_en\/thumb\/1\/16\/Clean-the-Windows-Registry-by-Hand-Step-6Bullet2-Version-2.jpg\/v4-460px-Clean-the-Windows-Registry-by-Hand-Step-6Bullet2-Version-2.jpg","bigUrl":"https:\/\/www.zenmeban.com\/images\/thumb\/1\/16\/Clean-the-Windows-Registry-by-Hand-Step-6Bullet2-Version-2.jpg\/v4-728px-Clean-the-Windows-Registry-by-Hand-Step-6Bullet2-Version-2.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"<div class=\"mw-parser-output\"><\/div>"}
    3. 在右侧面板找到对应的值。它们是一些可执行文件的快捷方式。 {"smallUrl":"https:\/\/www.zenmeban.com\/images_en\/thumb\/a\/a9\/Clean-the-Windows-Registry-by-Hand-Step-6Bullet3-Version-2.jpg\/v4-460px-Clean-the-Windows-Registry-by-Hand-Step-6Bullet3-Version-2.jpg","bigUrl":"https:\/\/www.zenmeban.com\/images\/thumb\/a\/a9\/Clean-the-Windows-Registry-by-Hand-Step-6Bullet3-Version-2.jpg\/v4-728px-Clean-the-Windows-Registry-by-Hand-Step-6Bullet3-Version-2.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"<div class=\"mw-parser-output\"><\/div>"}
    4. 选中一个值,然后删除它。如果你不太了解某个值,或是猜不到它关联哪个应用程序,可以上网百度、谷歌搜索一下它,或是使用进程搜索引擎(如:“Process Library”)来进行查找。 {"smallUrl":"https:\/\/www.zenmeban.com\/images_en\/thumb\/2\/27\/Clean-the-Windows-Registry-by-Hand-Step-6Bullet4-Version-2.jpg\/v4-460px-Clean-the-Windows-Registry-by-Hand-Step-6Bullet4-Version-2.jpg","bigUrl":"https:\/\/www.zenmeban.com\/images\/thumb\/2\/27\/Clean-the-Windows-Registry-by-Hand-Step-6Bullet4-Version-2.jpg\/v4-728px-Clean-the-Windows-Registry-by-Hand-Step-6Bullet4-Version-2.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"<div class=\"mw-parser-output\"><\/div>"}
    5. 按下“删除键”来删除它。如果你想一次性删除多条信息,请按住“Shift”键或“Ctrl”键,然后点击你想要删除的条目。 {"smallUrl":"https:\/\/www.zenmeban.com\/images_en\/thumb\/e\/eb\/Clean-the-Windows-Registry-by-Hand-Step-6Bullet5-Version-2.jpg\/v4-460px-Clean-the-Windows-Registry-by-Hand-Step-6Bullet5-Version-2.jpg","bigUrl":"https:\/\/www.zenmeban.com\/images\/thumb\/e\/eb\/Clean-the-Windows-Registry-by-Hand-Step-6Bullet5-Version-2.jpg\/v4-728px-Clean-the-Windows-Registry-by-Hand-Step-6Bullet5-Version-2.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"<div class=\"mw-parser-output\"><\/div>"}
    6. 在 HKEY_CURRENT_USER 路径中重复相同的操作。如果一个应用程序是为“所有用户”安装的,那么它会把那些启动事项放到“Local Machine”文件夹中。对于当前用户或单个用户安装的软件,它们将放到对应用户(User)的文件夹中。 {"smallUrl":"https:\/\/www.zenmeban.com\/images_en\/thumb\/f\/fd\/Clean-the-Windows-Registry-by-Hand-Step-6Bullet6-Version-3.jpg\/v4-460px-Clean-the-Windows-Registry-by-Hand-Step-6Bullet6-Version-3.jpg","bigUrl":"https:\/\/www.zenmeban.com\/images\/thumb\/f\/fd\/Clean-the-Windows-Registry-by-Hand-Step-6Bullet6-Version-3.jpg\/v4-728px-Clean-the-Windows-Registry-by-Hand-Step-6Bullet6-Version-3.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"<div class=\"mw-parser-output\"><\/div>"}
  7. {"smallUrl":"https:\/\/www.zenmeban.com\/images_en\/thumb\/4\/40\/Clean-the-Windows-Registry-by-Hand-Step-7-Version-3.jpg\/v4-460px-Clean-the-Windows-Registry-by-Hand-Step-7-Version-3.jpg","bigUrl":"https:\/\/www.zenmeban.com\/images\/thumb\/4\/40\/Clean-the-Windows-Registry-by-Hand-Step-7-Version-3.jpg\/v4-728px-Clean-the-Windows-Registry-by-Hand-Step-7-Version-3.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"<div class=\"mw-parser-output\"><\/div>"} 7 完成清理后,关闭注册表。

小提示

  • 如果出现任何问题,你可以利用备份恢复注册表。你只需要直接打开备份的文件(例如:双击),或者使用Windows系统安装光盘启动“恢复”模式,然后手动进行恢复。
  • 如果你知道软件的名字,你可以直接输入在注册表中,从而快速找到它。

警告

  • 使用内置的Windows注册表编辑器编辑注册表可能存在风险。如果你不小心删除了错误的信息或值,你是无法通过“撤销”恢复的。
  • 如果你对整个操作过程没有信心,最好不要编辑注册表。如果你确认要对注册表进行编辑,一定要先进行备份。只要你有不确定的地方,就不要删除任何信息。请事先在网上搜索单个键或值的作用,然后再做决定。

<<:  怎么翻译网页

>>:  怎么打印为PDF

怎么用日语问好

用日语说“你好”最标准的方式是“konnichiwa”,但事实上,有一些别的用于打招呼的日语短语也经...

怎么在Windows上安装MySQL数据库服务器

像MySQL这样的数据库配置起来很复杂。你需要按照下列步骤在Windows上安装和配置MySQL。 ...

怎么饲养山羊

山羊是一种能给农场带来不少收益的动物,全身都是宝,用途多多,不过要养山羊,前提是你得有合适的空间和设...

怎么在美国申请离婚

申请离婚是一项复杂的工程,很大一个原因在于,每个州对离婚的立法规定都是不一样的。所以说先进行研究是很...

怎么清理仓鼠眼睛结痂

仓鼠睡觉时,眼睛会分泌泪液来保持眼球湿润。如果这种分泌物流出来,就会糊住仓鼠的眼睛,让它睁不开眼。这...