什么是 Windows 注册表?(What is Windows Registry?)所有低级Windows设置和应用程序(Application)设置,包括设备驱动程序、用户界面、文件夹路径、开始菜单快捷方式等,都存储在名为Windows Registry的数据库中。此注册表的条目相对难以编辑,但您可以修改程序和应用程序的行为方式。自Windows通常,不会删除注册表值,因此,当您长时间运行它时,所有不需要的损坏的注册表项都会累积在系统中。更重要的是,当您经常安装或卸载应用程序时。此外,它会降低系统的整体性能。因此,有必要去除这些。如果您想这样做,请阅读下文以了解如何删除Windows 注册表(Windows Registry)中的损坏条目。
如何在 Windows 10 上删除 Windows 注册表中的损坏条目
(How to Delete Broken Entries in Windows Registry on Windows 10
)
什么是损坏的注册表项?(What are Broken Registry Items?)
突然关机、电源故障、病毒和恶意软件、损坏的硬件和软件等问题会损坏注册表项。这些项目变得臃肿,所有这些冗余文件最终占据了大部分磁盘空间。这会导致计算机性能下降和启动问题。因此(Hence),如果您的系统无法有效运行,或者您遇到应用程序或程序问题,请从您的计算机中删除损坏的注册表项。
为了更好地理解它,请阅读我们关于什么是 Windows 注册表及其工作原理的教程?(What is Windows Registry & How it Works?).
注意:(Note:)由于Windows 注册表(Windows registry)是敏感数据文件的集合,因此必须小心处理所有删除/格式化程序。如果您修改/删除甚至一个重要的注册表,那么您的操作系统的功能将受到干扰。因此,建议在从Windows 注册表(Windows Registry)中删除任何数据之前备份所有文件(backup all your files)。
我们编制了一份在Windows 10 PC 上删除损坏的注册表项的方法列表,并根据用户的方便性对其进行了排列。那么,让我们开始吧!
方法一:执行磁盘清理(Method 1: Perform Disk Cleanup)
请按照下面提到的步骤执行磁盘清理:
1. 按Windows 键,(key, )然后键入Disk Cleanup ,按 Enter(Enter)。
2. 选择驱动器,例如C :,然后在磁盘清理:驱动器选择( Disk Cleanup: Drive Selection)窗口中 单击确定。(OK )
3.磁盘清理(Disk Cleanup)现在将扫描文件并计算可以清理的空间量。
4.磁盘清理(Disk Cleanup)窗口中会自动标记相关框。
注意:(Note:)您还可以选中标记为回收站(Recycle Bin)和其他(others)的框以清除更多空间。
5. 最后,单击确定,(OK, )等待磁盘清理(Disk Cleanup)实用程序完成该过程并重新启动您的 PC(Restart your PC)。
另请阅读:(Also Read:) 如何在 Windows 10 中修复损坏的注册表(How to Fix Corrupt Registry in Windows 10)
方法 2:运行系统文件检查器(Method 2: Run System File Checker)
Windows 用户可以在系统文件检查器(System File Checker)实用程序的帮助下自动扫描和修复他们的系统文件。此外,此内置工具可让他们相应地删除文件。以下是使用 cmd在Windows 10中清理注册表的方法:
1.在Windows 搜索(Windows search)栏中输入cmd 。单击以管理员身份运行(Run as administrator),如下图所示。
2.输入sfc /scannow 并按Enter 键(Enter)。
3.系统文件检查器(System File Checker )将开始其进程。等待(Wait)Verification 100 % completed 语句出现在屏幕上。
4. 最后,重新启动(restart )Windows 10 PC 并检查 Windows 上损坏的注册表项是否已删除。
方法 3:运行 DISM 扫描(Method 3: Run DISM Scan)
部署映像服务(Deployment Image Servicing)和管理(Management)是一种管理命令行工具,用于修复Windows 安装介质(Windows Installation Media)、Windows 恢复环境(Windows Recovery Environment)、Windows 安装程序(Windows Setup)、Windows 映像(Windows Image)和虚拟(Virtual)硬盘。运行DISM命令是如何删除Windows注册表中损坏条目的替代解决方案。以下是使用 cmd在Windows 10中清理注册表的方法:
1.如前所述,以管理权限运行命令提示符。(Command Prompt)
2. 现在,键入下面给出的CheckHealth命令并按Enter确定本地(Enter)Windows 10映像中是否有任何损坏的文件。
Dism /Online /Cleanup-Image /CheckHealth
3. 然后,同样执行DISM.exe /Online /Cleanup-Image /ScanHealth 命令。
4.再次(Again),逐一键入给定的命令,然后在每次删除损坏的系统文件和注册表项后按Enter 键。(Enter key)此外,它还可以通过减小WinSxS文件夹的大小来帮助您节省磁盘空间。
DISM /Online /Cleanup-Image /StartCompenentCleanup
DISM /Online /Cleanup-Image /RestoreHealth
5. 等待该过程完成并重新启动计算机。
方法4:运行启动修复(Method 4: Run Startup Repair)
运行内置的自动修复将帮助您快速轻松地从系统中删除损坏的注册表项,如下所述:
1. 按Windows 键(key )并单击电源图标(Power icon)。
2.按住Shift 键(Shift key)的同时选择重新启动(Restart )。
3. 在这里,点击疑难解答(Troubleshoot),如图所示。
4.在疑难解答(Troubleshoot)窗口中选择高级选项。(Advanced options )
5. 现在,单击Startup Repair,如下所示。
6. 点击继续(Continue )输入您的密码(Password)。该工具将扫描您的系统并修复损坏的注册表项。
另请阅读:(Also Read:) 修复 Windows 10 中的 DISM 错误 87(Fix DISM Error 87 in Windows 10)
方法 5:重置 Windows(Method 5: Reset Windows)
有时,您的设备可能不允许您从系统中删除损坏的注册表项。以下是通过重置 Windows 10 PC来删除Windows 注册表(Windows Registry)中损坏的条目的方法:
1. 同时按Windows + I keys 打开系统中的设置(Settings )。
2. 现在,选择更新和安全(Update & Security),如图所示。
3. 在这里,单击左侧窗格中的恢复和右侧窗格中的(Recovery )开始(Get started ),如突出显示的那样。
4. 现在,从重置此 PC(Reset this PC )窗口中选择一个选项:
-
保留我的文件(Keep my files )选项将删除应用程序和设置,但保留您的个人文件。
-
删除所有(Remove everything )选项将删除您的所有个人文件、应用程序和设置。
5. 最后,按照屏幕上的说明重置计算机并清除所有损坏或损坏的文件。
受到推崇的(Recommended)
我们希望本指南对您有所帮助,您可以了解如何删除 Windows 注册表中的损坏条目(how to delete broken entries in Windows Registry)。让我们知道哪种方法最适合您。此外,如果您对本文有任何疑问/建议,请随时将它们放在下面的评论部分。
How to Delete Broken Entries in Windows Registry
What is Windows Registry? All low-level Windows settings and Application settings including, device drivers, user interface, paths to folders, start menu shortcuts, etc, are stored in a database called Windows Registry. The entries of this registry are relatively difficult to edit, but you can modify how programs and applications behave. Since Windows usually, does not delete the registry values hence, all unwanted broken registry entries get accumulated in the system when you run it for a prolonged period of time. Even more so, when you install or uninstall applications often. Moreover, it slows down the overall performance of the system. Therefore, it is necessary to remove these. If you want to do so, read below to learn how to delete broken entries in Windows Registry.
How to Delete Broken Entries in Windows Registry on Windows 10
What are Broken Registry Items?
Issues like abrupt shutdown, power supply failure, viruses & malware, damaged hardware, and software, etc., corrupt the registry items. These items get bloated and all these redundant files end up occuping most of the disk space. This leads to slow performance and startup problems in the computer. Hence, if your system is not functioning effectively or if you are facing issues with applications or programs, then delete broken registry items from your computer.
To understand it better, read our tutorial on What is Windows Registry & How it Works?.
Note: Since Windows registry is a collection of sensitive data files, all the deleting/formatting procedures must be handled carefully. If you modify/delete even single essential registry, then the functioning of your operating system will be disturbed. Hence it is recommended to backup all your files before deleting any data from the Windows Registry.
We have compiled a list of methods to remove broken registry items on Windows 10 PC and arranged them according to user convenience. So, let us begin!
Method 1: Perform Disk Cleanup
Follow the steps mentioned below to perform disk cleanup:
1. Press Windows key, type Disk Cleanup then, hit Enter.
2. Select the drive e.g. C: and click on OK in Disk Cleanup: Drive Selection window.
3. Disk Cleanup will now scan for files and calculate the amount of space that can be cleared.
4. Relevant boxes are marked in the Disk Cleanup Window automatically.
Note: You can also check the boxes marked Recycle Bin & others to clear out more space.
5. Finally, click on OK, wait for the Disk Cleanup utility to finish the process and Restart your PC.
Also Read: How to Fix Corrupt Registry in Windows 10
Method 2: Run System File Checker
Windows users can automatically, scan and repair their system files with the help of the System File Checker utility. In addition, this built-in tool lets them delete files accordingly. Here’s how to clean the registry in Windows 10 using cmd:
1. Type cmd in Windows search bar. Click on Run as administrator, as depicted below.
2. Type sfc /scannow and hit Enter.
3. System File Checker will begin its process. Wait for the Verification 100 % completed statement to appear on screen.
4. Lastly, restart your Windows 10 PC and check if the broken registry items on Windows are deleted.
Method 3: Run DISM Scan
Deployment Image Servicing and Management is an administrative command-line tool used to repair Windows Installation Media, Windows Recovery Environment, Windows Setup, Windows Image, and Virtual hard disk. Running DISM command is an alternative solution to how to delete broken entries in the Windows registry. Here’s how to clean the registry in Windows 10 using cmd:
1. Run Command Prompt with administrative privileges, as earlier.
2. Now, type CheckHealth command given below and hit Enter to determine if there are any corrupt files within local Windows 10 image.
Dism /Online /Cleanup-Image /CheckHealth
3. Then, execute DISM.exe /Online /Cleanup-Image /ScanHealth command similarly.
4. Again, type the given commands one-by-one and press Enter key after each to get rid of corrupt system files as well as registry items. In addition, it will help you save disk space by reducing the size of WinSxS folder too.
DISM /Online /Cleanup-Image /StartCompenentCleanup
DISM /Online /Cleanup-Image /RestoreHealth
5. Wait for the process to be completed and restart your computer.
Method 4: Run Startup Repair
Running the in-built automatic repair will help you to delete the broken registry items from your system with speed and ease, as explained below:
1. Press the Windows key and click on the Power icon.
2. Select Restart while holding the Shift key.
3. Here, click on Troubleshoot, as shown.
4. Select Advanced options in Troubleshoot window.
5. Now, click on Startup Repair, as highlighted below.
6. Click on Continue to proceed by entering your Password. The tool will scan your system and fix broken registry items.
Also Read: Fix DISM Error 87 in Windows 10
Method 5: Reset Windows
Sometimes, your device may not allow you to remove broken registry items from your system. Here’s how to delete broken entries in Windows Registry by resetting your Windows 10 PC:
1. Press Windows + I keys together to open Settings in your system.
2. Now, select Update & Security, as shown.
3. Here, click on Recovery in the left pane and Get started in the right pane, as highlighted.
4. Now, choose an option from the Reset this PC window:
-
Keep my files option will remove apps and settings but keeps your personal files.
-
Remove everything option will remove all your personal files, apps, and settings.
5. Finally, follow the on-screen instructions to reset the computer and get rid of all corrupt or broken files.
Recommended
We hope that this guide was helpful and you could understand how to delete broken entries in Windows Registry. Let us know which method worked for you the best. Also, if you have any queries/suggestions regarding this article, then feel free to drop them in the comments section below.