Windows 注册表(Windows Registry)包含重要文件,这些文件对于Windows操作系统、系统应用程序和进程的正常运行至关重要。对您的计算机所做的大部分更改都存储在称为注册表文件(Registry Files)的键和条目中。
这些文件负责许多系统应用程序和进程的最佳运行。随着您使用和个性化您的计算机,Windows会创建越来越多的注册表文件,其中大部分即使不再需要也不会被删除。
注册表(Registry)因冗余文件而变得臃肿,这些文件最终会损坏、损坏或损坏。电源故障、突然关机、硬件故障、恶意软件和病毒等因素也会损坏某些注册表项。因此,损坏的注册表项会阻塞您的 PC 存储,降低您的计算机速度,有时还会导致启动问题。
您是否需要修复损坏的注册表项(Fix Broken Registry Items)
您应该偶尔确认您的Windows计算机的注册表中没有损坏的项目。这样做会对您的 PC 性能产生积极影响(positively impact your PC’s performance),尤其是在您的计算机运行缓慢或某些系统应用程序无法正常运行的情况下。
关键是:(The point is: )您从删除或修复损坏的注册表文件中受益更多,而不是让它们膨胀注册表。
Windows有许多内置工具可以帮助诊断注册表文件的问题。继续下一节,了解如何使用这些工具修复 Windows PC 上损坏的注册表项(fix broken registry items on a Windows PC)。
注意:(Note:) Windows注册表(Windows Registry)是敏感文件和设置的数据库。因此,在尝试更改注册表或修复损坏的注册表项之前备份注册表非常重要。损坏任何注册表文件可能会损坏Windows 操作系统(Windows OS)并导致您的计算机出现故障。如果出现任何问题,创建备份可以作为您的保险。本备份和恢复 Windows 注册表指南(guide on backing up and restoring the Windows Registry)包含您需要了解的所有内容。
1.执行磁盘清理
磁盘清理(Disk Cleanup)工具可让您从计算机中删除不必要的文件,其中包括损坏的注册表项。要访问此工具,请在Windows 搜索(Windows Search)框中键入磁盘清理,然后单击结果中的(disk cleanup)磁盘清理(Disk Cleanup)。
单击清理系统文件(Clean up system files)按钮。
您可以在“(“)要删除的文件”窗口中检查其他文件选项。这些是您的计算机可以不用的冗余临时文件。您可以单击文件类型并检查“说明(Description)”部分以了解有关该文件及其作用的更多信息。完成文件选择后单击确定。(OK)
单击确认提示上的删除文件, (Delete File)Windows将永久删除损坏的注册表文件和其他选定文件。
2.使用系统文件检查器
系统文件检查器(System File Checker)( SFC ) 是集成到Windows操作系统中的另一个重要工具。该工具使用“修复或替换”方法修复损坏的注册表文件。它会扫描您的计算机以查找损坏或丢失的系统文件。如果该工具找到任何内容,它将用新副本替换它们。该工具可通过命令提示符(Command Prompt)访问;以下是如何使用它:
1. 右键单击开始菜单(Start Menu)或Windows图标,然后从快速访问菜单中选择命令提示符(管理员) 。(Command Prompt (Admin))
2. 键入或粘贴sfc /scannow,然后按 Enter。
当SFC实用程序执行命令时(PS:这可能需要 30 分钟),它会通知您是否找到或修复了任何损坏的文件。这使得该实用程序成为确认您的计算机是否有任何损坏的注册表项的好方法。
注意:(Note:)如果您收到一条消息,显示“ Windows 资源保护(Windows Resource Protection)发现损坏的文件但无法修复其中一些文件”,请再次运行SFC命令。如果这种情况继续存在,请重新启动计算机并重试。
3. 运行 DISM 工具
您还可以使用部署映像服务和管理 (DISM)(Deployment Image Servicing and Management (DISM))命令来修复损坏的注册表文件,尤其是在系统文件检查(System File Checker)器未找到或修复任何损坏的注册表文件时。
右键单击(Right-click)开始菜单(Start Menu)按钮并选择命令提示符(管理员)(Command Prompt (Admin))。在控制台中键入或粘贴DISM /Online /Cleanup-Image /RestoreHealth 并按键盘上的Enter 。
这将提示DISM工具扫描您的计算机以查找损坏和损坏的系统文件;检查结果以确认是否替换了任何文件。
4.修复安装Windows
修复或替换损坏的注册表项的另一种方法是从头开始重新安装Windows ,同时保留您的个人文件、已安装的应用程序和其他系统设置。(Windows)这称为修复安装(或修复升级)。
您需要从 Microsoft 网站下载 Windows 10 光盘映像(ISO 文件) 。(download the Windows 10 Disc Image (ISO file))双击(Double-click)光盘镜像文件推荐修复安装过程。按照安装提示并同意必要的许可/使用条款。在“准备安装”页面上,确保屏幕上显示“保留 Windows(Keep Windows)设置、个人文件和应用程序”选项。
否则,单击更改要保留的内容(Change what to keep)并选择保留个人文件、应用和 Windows 设置(Keep personal files, apps, and Windows settings)。
安装完成后,您的 PC 将没有损坏或损坏的注册表文件。
5. 运行自动修复
自动修复(Automated Repair)实用程序非常适合解决Windows 10计算机上与启动相关的问题。该工具还可以扫描和修复影响注册表设置以及其他系统文件和配置的问题。
1. 要访问自动修复(Automated Repair)工具,请转到设置(Settings )>更新和安全( Updates & Security )>恢复( Recovery),然后单击“高级启动”部分中的立即重新启动。(Restart now)
这会将您的 PC 重新启动到“高级启动(Advanced Startup) 选项(Options)”菜单。
2. 选择疑难解答(Troubleshoot)继续。
3. 单击高级选项(Advanced options)。
4. 从高级选项列表中选择启动修复(Startup Repair)。
5. 选择您的帐户并输入个人资料密码以继续。如果该帐户没有密码保护,只需单击继续(Continue)继续。
自动(Automatic)(启动(Startup))修复(Repair)工具将扫描您的计算机并修复它发现的任何损坏的注册表文件。
6.使用注册表扫描器
您还可以使用第三方注册表扫描程序(也称为注册表优化器或注册表清理器)来修复Windows计算机上损坏的注册表项。该软件将使您的 PC 注册表恢复原状,删除和替换损坏和丢失的文件。
Malwarebytes是一个值得信赖且可靠的注册表清理程序,可用于修复损坏的注册表项。这些注册表清理程序的问题是它们有时并不总是修复或替换注册表文件。恶意注册表扫描程序甚至可能会破坏您 PC 的注册表。在安装第三方注册表扫描工具之前,请确保您阅读了足够多的评论。
健康的注册表,健康的电脑
除了上面突出显示的解决方案之外,您还可以通过将 PC 恢复到注册表项未损坏的还原点来修复 Windows 中损坏的注册表项。(reverting your PC to a restore point)另一种选择是重置您的计算机(转到设置(Settings )>更新和安全( Updates & Security )>恢复( Recovery)>重置此PC( Reset this PC))。执行重置将删除所有已安装的应用程序和系统设置(但保留您的个人文件)。因此,您只能在不得已的情况下重置您的 PC。
最后,确保您扫描您的 PC 以查找(scan your PC for malware and viruses)导致注册表项损坏或损坏的恶意软件和病毒。
How to Fix Broken Registry Items in Windows
The Windows Registry holds important files that are essential for the proper functioning of the Windows operating system, system apps, and processes. The majority of changes made to your computer are stored in keys and entries known as Registry Files.
These files are responsible for the optimal functioning of many system applications and processes. As you use and personalize your computer, Windows creates more and more registry files, most of which aren’t deleted even when they are no longer needed.
The Registry gets bloated with redundant files that eventually get damaged, corrupt, or broken. Factors like power failure, abrupt shutdown, faulty hardware, malware, and viruses can also corrupt some registry items. Consequently, broken registry items clog your PC’s storage, slow down your computer, and sometimes result in startup problems.
Do You Need to Fix Broken Registry Items
You should occasionally confirm that your Windows computer is devoid of broken items in the registry. Doing so will positively impact your PC’s performance, particularly if your computer is running slowly or if some system apps are not working correctly.
The point is: You stand to benefit more from removing or fixing broken registry files than leaving them to bloat the registry.
Windows has a number of built-in tools that can help diagnose issues with registry files. Proceed to the next section to learn how to use these tools to fix broken registry items on a Windows PC.
Note: The Windows Registry is a database of sensitive files and settings. Therefore, it’s important to make a backup of the registry before you attempt to make changes to the registry or fix broken registry items. Damaging any registry file may corrupt the Windows OS and cause your computer to malfunction. Creating a backup serves as your insurance should anything go wrong. This guide on backing up and restoring the Windows Registry has everything you need to know.
1. Perform Disk Cleanup
The Disk Cleanup tool that lets you remove unnecessary files from your computer, this includes broken registry items. To access this tool, type disk cleanup in the Windows Search box and click Disk Cleanup in the results.
Click the Clean up system files button.
You can check other file options in the “Files to delete” window. These are redundant temporary files that your computer can do without. You can click on a file type and check the Description section to learn more about the file and what it does. Click OK when you’re done with file selection.
Click Delete File on the confirmation prompt and Windows will permanently delete corrupt registry files and other selected files.
2. Use the System File Checker
The System File Checker (SFC) is another important tool integrated into the Windows operating system. This tool fixes broken registry files using a “repair-or-replace” approach. It scans your computer for corrupt or missing system files. If the tool finds any, it replaces them with a fresh copy. The tool is accessible via the Command Prompt; here’s how to use it:
1. Right-click on the Start Menu or Windows icon and select Command Prompt (Admin) from the Quick Access menu.
2. Type or paste sfc /scannow and press Enter.
When the SFC utility executes the command (P.S: this might take up to 30 minutes), it’ll let you know if it found or repaired any corrupt files. This makes the utility a good way to confirm if your computer has any broken registry item.
Note: If you get a message that reads “Windows Resource Protection found corrupt files but was unable to fix some of them,” run the SFC command again. If this continues, restart your computer and try again.
3. Run the DISM Tool
You can also use the Deployment Image Servicing and Management (DISM) command to repair broken registry files, particularly if the System File Checker doesn’t find or fix any broken registry file.
Right-click the Start Menu button and select Command Prompt (Admin). Type or paste DISM /Online /Cleanup-Image /RestoreHealth into the console and press Enter on the keyboard.
That will prompt the DISM tool to scan your computer for corrupt and broken system files; check the results to confirm if any file was replaced.
4. Repair Install Windows
Another way to fix or replace broken registry items is to reinstall Windows from scratch while preserving your personal files, installed applications, and other system settings. This is known as a repair install (or repair upgrade).
You’d need to download the Windows 10 Disc Image (ISO file) from Microsoft’s website. Double-click the disc image file to commend the repair installation process. Follow the installation prompts and agree to the necessary license/usage terms. On the “Ready to install” page, make sure an option that reads “Keep Windows settings, personal files and apps” is on the screen.
Otherwise, click Change what to keep and select Keep personal files, apps, and Windows settings.
When the installation is complete, your PC will be free of corrupt or broken registry files.
5. Run Automated Repair
The Automated Repair utility is great for foxing startup-related issues on Windows 10 computers. The tool is also equipped to scan and fix problems affecting registry settings as well as other system files and configurations.
1. To access the Automated Repair tool, go to Settings > Updates & Security > Recovery and click Restart now in the “Advanced startup” section.
That will reboot your PC into the Advanced Startup Options menu.
2. Select Troubleshoot to proceed.
3. Click Advanced options.
4. Choose Startup Repair from the list of Advanced options.
5. Choose your account and enter the profile password to continue. If the account isn’t password-protected, simply click Continue to proceed.
The Automatic (Startup) Repair tool will scan your computer and fix any broken registry file it finds.
6. Use a Registry Scanner
You can also utilize a third-party registry scanner (also called registry optimizers or registry cleaners) to fix broken registry items on your Windows computer. The software will put your PC’s registry back in shape, removing and replacing corrupt and missing files.
Malwarebytes is a trusted and reliable registry cleaning program you can use to fix broken registry items. The problem with these registry cleaners is that they sometimes don’t always fix or replace registry files. A malicious registry scanner may even ruin your PC’s registry. Make sure you read enough reviews before installing a third-party registry scanning tool.
Healthy Registry, Healthy PC
In addition to the solutions highlighted above, you can also fix broken registry items in Windows by reverting your PC to a restore point where registry items were not broken. Another option is to reset your computer (go to Settings > Updates & Security > Recovery > Reset this PC). Performing a reset will delete all installed applications and system settings (but keep your personal files). So you should only reset your PC as a last resort.
Finally, make sure you scan your PC for malware and viruses causing registry items to become broken or damaged.