Windows上的每个文件和应用程序都可能在某个时间点损坏。本机应用程序也不例外。最近,许多用户报告说他们的Windows 注册表(Windows Registry)编辑器已损坏并引发大量问题。对于那些不知道的人,注册表编辑器(Registry Editor)是一个存储所有已安装应用程序的配置设置的数据库。每次安装新应用程序时,其大小、版本、存储位置等属性都会嵌入到Windows 注册表(Windows Registry)中。编辑器可用于对应用程序进行配置和故障排除。要了解有关注册表编辑器(Registry Editor)的更多信息,请查看 –什么是 Windows 注册表及其工作原理?(What is the Windows Registry & How it Works?)
由于注册表编辑器(Registry Editor)存储了我们计算机上所有内容的配置和内部设置,因此建议在对其进行任何更改时非常谨慎。如果一个人不小心,编辑器可能会被破坏并造成一些严重的损害。因此,在进行任何修改之前,必须始终备份其注册表。除了不准确的手动更改外,恶意应用程序或病毒以及任何突然关机或系统崩溃也可能损坏注册表。极度损坏的注册表将阻止您的计算机完全启动(启动将被限制为蓝屏死机(blue screen of death)),如果损坏不严重,您可能会不时遇到蓝屏错误。频繁蓝屏(Frequent Blue Screen)错误会进一步恶化您的计算机状况,因此尽快修复损坏的注册表编辑器非常重要。
在本文中,我们解释了修复Windows 10中损坏的注册表的各种方法,以及在对其进行任何更改之前备份注册表编辑器的步骤。
修复 Windows 10 中损坏的注册表(Fix Corrupted Registry in Windows 10)
根据损坏是否严重以及计算机是否能够启动,确切的解决方案因人而异。修复损坏的注册表最简单的方法是让Windows控制并执行自动修复(Automatic Repair)。如果您能够在计算机上启动,请执行扫描以修复任何损坏的系统文件,并使用第三方应用程序清理注册表。最后,您将需要重置您的 PC,返回到以前的Windows版本,或者如果没有任何效果,请使用可启动的Windows 10驱动器来修复注册表。
方法一:使用自动修复
幸运的是,Windows有内置工具来修复任何可能阻止计算机完全启动的问题。这些工具是Windows 恢复环境 (RE)(Windows Recovery Environment (RE))的一部分,可以进一步定制(添加额外的工具、不同的语言、驱动程序等)。用户可以通过三种不同的方法访问这些诊断工具并修复磁盘和系统文件(repair disk and system files)。
1. 按Windows 键(Windows key)激活开始(Start)菜单,然后单击电源图标上方的 cogwheel/gearWindows 设置( Windows Settings)。
2. 点击更新和安全(Update & Security)。
3. 使用左侧导航菜单,移至恢复(Recovery )设置页面,然后在高级启动(Advanced startup )部分下单击立即重新启动(Restart )按钮。
4. 计算机现在将重新启动(Restart),在高级启动屏幕上(Advanced boot screen),您将看到三个不同的选项,即继续(到 Windows)、故障排除(使用高级系统工具)和关闭您的 PC。(Continue (to Windows), Troubleshoot (to use advanced system tools), and Turn off your PC.)
5. 单击疑难解答(Troubleshoot )继续。
注意:(Note:) 如果损坏的注册表阻止您的计算机启动,请在出现任何错误时长按电源按钮( long-press the power button)并按住它直到 PC 关闭(强制关机(Force Shut Down))。再次打开计算机电源并再次强制将其关闭。重复此步骤,直到启动屏幕显示“准备自动修复(Preparing Automatic Repair)”。
6. 在以下屏幕上,单击高级选项(Advanced Options)。
7. 最后,单击启动或自动修复( Startup or Automatic Repair)选项来修复Windows 10中损坏的注册表。
方法 2:运行 SFC 和 DISM 扫描
对于一些幸运的用户,尽管注册表损坏,计算机仍会启动,如果您是其中之一,请尽快执行系统文件扫描。系统文件检查器(System File Checker)( SFC ) 工具是一个命令行工具,可验证所有系统文件的完整性,并用缓存的副本替换任何损坏或丢失的文件。同样,使用部署映像服务和管理工具 (DISM) 为 Windows 映像提供服务并修复(use the Deployment Image Servicing and Management tool (DISM) to service Windows images)SFC扫描可能遗漏或无法修复的任何损坏文件。
1.按Windows key + R 运行(Run)命令框,然后键入 cmd 并按Ctrl + Shift + Enter以打开具有管理(Administrative)权限的命令提示符。(Command Prompt)在随后的“用户帐户控制(User Account Control)”弹出窗口中单击(Click)“是”以授予所需的权限。(Yes)
2. 仔细输入以下命令并回车(Enter)执行:
sfc /scannow
3. SFC扫描验证所有系统文件的完整性后,执行以下命令:
DISM /Online /Cleanup-Image /RestoreHealth
方法 3:使用可引导的Windows光盘
用户修复Windows安装的另一种方法是从可启动的USB驱动器启动。如果您手边没有Windows 10可启动驱动器或光盘,请按照如何创建 Windows 10 可启动 USB 闪存驱动器(How to Create Windows 10 Bootable USB Flash Drive)中的指南进行准备。
1.关闭(Power off)计算机并连接可启动驱动器。
2. 从驱动器启动计算机。在启动屏幕上,您将被要求按特定键从驱动器启动,(press a specific key to boot from the drive)请按照说明进行操作。
3. 在Windows 设置(Windows Setup)页面上,单击修复您的计算机(Repair your computer)。
4. 您的计算机现在将启动到Advanced Recovery菜单。选择高级选项( Advanced Options),然后选择疑难解答(Troubleshoot)。
5. 在下一个屏幕上,单击启动或自动修复(Startup or Automatic Repair)。选择要继续的用户帐户并在出现提示时输入密码(enter the password)。
6. Windows 将启动自动诊断并修复损坏的注册表。
方法 4:重置您的计算机
如果上述方法都不能帮助您修复损坏的注册表,那么您唯一的选择是重置计算机。用户可以选择重置(Reset)计算机但保留文件(所有第三方应用程序将被卸载,并且安装Windows的驱动器将被清除,因此将所有个人文件移动到另一个驱动器)或重置(Reset)并删除所有内容。首先尝试在保留文件的同时进行重置,如果这不起作用,请重置并删除所有内容以修复Windows 10中损坏的注册表(Registry):
1. 按Windows key + I启动设置(Settings)应用程序,然后单击更新和安全(Update & Security)。
2. 切换到恢复(Recovery )页面,然后单击重置此电脑下的(under Reset This PC)开始(Get Started)按钮。
3. 在以下窗口中,选择“保留我的文件(Keep my files)”,很明显,此选项不会删除您的个人文件,尽管所有第三方应用程序将被删除并且设置将重置为默认值。
4.现在(Now) 按照屏幕上的所有说明完成重置。(follow all the on-screen instructions to complete resetting.)
另请阅读:(Also Read:) 修复注册表编辑器已停止工作(Fix The Registry editor has stopped working)
方法 5:还原系统备份
重置注册表的另一种方法是恢复到以前的Windows版本,在此期间注册表完全健康并且没有提示任何问题。虽然,这仅适用于事先启用了系统还原(System Restore)功能的用户。
1. 在开始搜索栏中输入 control 或control panel并按回车键打开应用程序。
2. 点击恢复(Recovery)。从右上角调整图标大小,以便更轻松地查找所需项目。
3. 在Advanced recovery tools下,单击Open System Restore超链接。
4. 在“系统还原”(System Restore)窗口中,单击“下一步”(Next )按钮继续。
5. 查看各个还原点的日期和时间信息,并尝试回忆第一次出现损坏的注册表问题的时间((Date & Time)勾选(Tick)显示更多还原点(Show more restore points)旁边的框以查看所有还原点)。选择该时间之前的还原点,(Select a restore point before that time)然后单击扫描受影响的程序(Scan for affected programs)。
6. 在下一个窗口中,您将被告知将被旧版本替换的应用程序和驱动程序。单击(Click)“完成(Finish )”将您的计算机还原到所选还原点的状态。
除了讨论的方法之外,您还可以安装第三方注册表(third-party registry)清理程序,例如Restore Advanced system repair或RegSofts – Registry Cleaner,并使用它来扫描编辑器中任何损坏或丢失的键条目。这些应用程序通过将损坏的键恢复到默认状态来修复注册表。
如何备份注册表编辑器?(How to Backup the Registry Editor?)
从此以后,在对(Henceforth)注册表编辑器(Registry Editor)进行任何更改之前,请考虑备份它,否则您将再次冒着计算机的风险。
1. 在运行(Run)命令框中键入regedit ,然后( regedit)按 Enter 键(Enter)打开注册表编辑器(Registry Editor)。在随后的用户帐户控制(User Account Control)弹出窗口中单击(Click)是。(Yes)
2.右键单击(Right-click )左侧窗格中的计算机并选择(Computer )导出(Export)。
3. 选择合适的位置(location)导出注册表(最好保存在笔式驱动器等外部存储介质或云服务器上)。为了更容易识别备份日期,请将其包含在文件名本身中(例如Registrybackup17Nov)。
4. 点击保存(Save )完成导出。
5.如果以后注册表(Registry)再次损坏,只需连接包含备份的存储介质或从云端下载文件并导入(connect the storage media containing the backup or download the file from the cloud and import it)即可。要导入:打开注册表编辑器(Registry Editor)并单击文件( File)。从随后的菜单中选择Import ...,找到注册表备份文件,然后单击Open。
为防止注册表编辑器(Registry Editor)出现任何进一步的问题,请正确卸载应用程序(删除其残留文件)并执行定期防病毒和反恶意软件扫描。
受到推崇的:(Recommended:)
我们希望本文对您有所帮助,并且您能够轻松修复 Windows 10 上损坏的注册表( fix Corrupted Registry on Windows 10)。如果您仍有任何疑问或建议,请随时使用下面的评论部分与我们联系。
How to Fix Corrupted Registry in Windows 10
Εvery single file and аpplication on Wіndоws can gо corrupt at somе point in time. The native applications aren’t exempt from this either. Lately, many users have been reporting thаt their Windows Registry Εditor has becomе corrupt and is prompting a wild number of рroblems. To those υnaware, the Registry Editor is a database that stores configuration settіngs of all installed apрlicationѕ. Each time a new аpplication is installed, its properties such as size, version, storage location are embedded into the Windows Registry. Τhe Editоr can be used to configure and troυbleshoot applications. To know more about the Registry Editor, check out – What is the Windows Registry & How it Works?
Since the Registry Editor stores configuration and internal settings for everything on our computer, it is advised to be extremely cautious when making any changes to it. If one isn’t careful, the editor may be rendered corrupt and cause some serious damage. Therefore, one must always backup their registry before making any modifications. Apart from inaccurate manual changes, a malicious application or virus and any sudden shutdown or system crash can also corrupt the registry. An extremely corrupt registry will prevent your computer from booting on altogether (the boot will be restricted to the blue screen of death) and if the corruption isn’t severe, you may encounter the blue screen error every now and then. Frequent Blue Screen errors will further deteriorate your computer’s condition so fixing a corrupt registry editor as soon as possible is very important.
In this article, we have explained various methods to fix a corrupt registry in Windows 10 along with the steps to back up the registry editor before making any changes to it.
Fix Corrupted Registry in Windows 10
Depending on whether the corruption is severe and if the computer is able to boot on, the exact solution will vary for everyone. The easiest way to repair a corrupt registry is to let Windows take control and perform an Automatic Repair. If you are able to boot on your computer, perform scans to fix any corrupt system files, and clean the registry using third-party applications. Finally, you will need to reset your PC, go back to previous Windows versions, or use a bootable Windows 10 drive to fix the registry if nothing works.
Method 1: Use Automatic Repair
Fortunately, Windows has built-in tools to fix any issues that may prevent the computer from booting on altogether. These tools are part of the Windows Recovery Environment (RE) and can be customized further (add extra tools, different languages, drivers, etc.). There are three different methods via which users can access these diagnostic tools and repair disk and system files.
1. Press the Windows key to activate the Start menu and click on the cogwheel/gear icon above the power icon to open Windows Settings.
2. Click on Update & Security.
3. Using the left navigation menu, move to the Recovery settings page then under Advanced startup section click on the Restart now button.
4. The computer will now Restart and on the Advanced boot screen, you will be presented with three different options, namely, Continue (to Windows), Troubleshoot (to use advanced system tools), and Turn off your PC.
5. Click on Troubleshoot to continue.
Note: If the corrupt registry is preventing your computer from booting on, long-press the power button at the arrival of any error and hold it until the PC turns off (Force Shut Down). Power on the computer again and force shut it down again. Repeat this step until the boot screen reads ‘Preparing Automatic Repair’.
6. On the following screen, click on Advanced Options.
7. Finally, click on the Startup or Automatic Repair option to fix your corrupt Registry in Windows 10.
Method 2: Run an SFC & DISM Scan
For some lucky users, the computer will boot on in spite of a corrupt registry, if you are one of them, perform system file scans as soon as possible. The System File Checker (SFC) tool is a command-line tool that verifies the integrity of all system files and replaces any corrupt or missing file with a cached copy of it. Similarly, use the Deployment Image Servicing and Management tool (DISM) to service Windows images and fix any corrupt files that the SFC scan may miss or fail to repair.
1. Open Run command box by pressing Windows key + R then type cmd and press Ctrl + Shift + Enter to open Command Prompt with Administrative privileges. Click Yes on the ensuing User Account Control pop-up to grant the required permissions.
2. Carefully type the below command and press Enter to execute it:
sfc /scannow
3. Once the SFC scan has verified the integrity of all system files, execute the following command:
DISM /Online /Cleanup-Image /RestoreHealth
Method 3: Use a Bootable Windows disc
Another way users can repair their Windows installation is by booting from a bootable USB drive. If you do not have a Windows 10 bootable drive or disc handy, prepare the same by following the guide at How to Create Windows 10 Bootable USB Flash Drive.
1. Power off your computer and connect the bootable drive.
2. Boot on the computer from the drive. On the start-up screen, you will be asked to press a specific key to boot from the drive, comply with the instruction.
3. On the Windows Setup page, click on Repair your computer.
4. Your computer will now boot on to the Advanced Recovery menu. Select Advanced Options followed by Troubleshoot.
5. On the next screen, click on Startup or Automatic Repair. Select a user account to continue from and enter the password when prompted.
6. Windows will start auto-diagnosis and repair the corrupt registry.
Method 4: Reset your Computer
If none of the above methods helped you to fix the corrupt registry, your only option is to reset the computer. Users have the option to Reset the computer but keep the files (all third-party applications will be uninstalled and the drive in which Windows is installed will be cleared so move all your personal files to another drive) or Reset and remove everything. First try resetting while keeping the files, if that doesn’t work, reset and remove everything to fix the corrupt Registry in Windows 10:
1. Press Windows key + I to launch the Settings application and click on Update & Security.
2. Switch to the Recovery page and click on the Get Started button under Reset This PC.
3. In the following window, choose ‘Keep my files’, as obvious, this option won’t get rid of your personal files although all the third-party apps will be deleted and the settings will be reset to default.
4. Now follow all the on-screen instructions to complete resetting.
Also Read: Fix The Registry editor has stopped working
Method 5: Restore a System Backup
Another way to reset the registry is to revert back to a previous Windows version during which the registry was completely healthy and didn’t prompt any issues. Although, this only works for users who had the System Restore feature enabled beforehand.
1. Type control or control panel in the start search bar and press enter to open the application.
2. Click on Recovery. Adjust the icon size from the top-right corner to make looking for the required item easier.
3. Under Advanced recovery tools, click on the Open System Restore hyperlink.
4. In the System Restore window, click on the Next button to continue.
5. Have a look at the Date & Time information of the various restore points and try to recollect when the corrupt registry issue first appeared (Tick the box next to Show more restore points to view all of them). Select a restore point before that time and click on Scan for affected programs.
6. In the next window, you will be informed about the applications and drivers that will be replaced with their previous versions. Click on Finish to restore your computer to its state at the selected restore point.
Apart from the discussed methods, you can install a third-party registry cleaner such as Restore Advanced system repair or RegSofts – Registry Cleaner and use it to scan for any corrupted or missing key entries in the editor. These applications fix the registry by restoring the corrupted keys to their default state.
How to Backup the Registry Editor?
Henceforth, before making any changes to the Registry Editor, consider backing it up or you will again be risking your computer.
1. Type regedit in the Run command box and hit Enter to open the Registry Editor. Click on Yes in the ensuing User Account Control pop-up.
2. Right-click on Computer in the left pane and select Export.
3. Select an appropriate location to export the registry (preferably save it in an external storage media such as a pen drive or on a cloud server). To make it easier to identify the backup date, include it in the file name itself (For example Registrybackup17Nov).
4. Click on Save to finish exporting.
5. If the Registry gets corrupted in the future again, simply connect the storage media containing the backup or download the file from the cloud and import it. To import: Open Registry Editor and click on File. Select Import… from the ensuing menu, locate the registry backup file, and click on Open.
To prevent any further issues with the Registry Editor, properly uninstall applications (remove their residual files) and perform periodic antivirus & antimalware scans.
Recommended:
We hope this article was helpful and you were able to easily fix Corrupted Registry on Windows 10. If you still any queries or suggestions then feel free to reach out using the comment section below.