A healthy registry is important to the proper operation of a Windows computer. The registry contains configuration information and a number of critical settings, so if they registry contains an error, it can cause serious problems — even prevent the computer from starting up. Microsoft provides a Recovery Console to help users restore their systems to working order.
You Will Need
Windows installation/recovery media (DVD or USB drive)
Insert the Windows installation USB drive, or turn on the computer, insert the Windows installation DVD, and restart the computer.
Turn on the computer. You will see the POST screen or manufacturer’s logo. Somewhere on this screen — usually near the bottom — will be given a key to press to select a boot device. Locate this key and press it. You may need to restart again if you don’t catch it the first time.
Select the Windows installation media from the list of drives.
Press any key when prompted to boot from the installation media and wait for the installer to load.
Click “Next,” then “Repair Your Computer.”
Wait for the installer to try to detect your Windows installation, then click “Next.”
Click “Command Prompt.”
reg load HKLMLive[hive] C:windowssystem32config[hive]
replacing each [hive] with the hive you want to edit (BCD00000000, Components, Hardware, SAM, Security, Software, System). For example, to be able to edit HKLMSystem, you would enter:
reg load HKLMLiveSystem C:windowssystem32configsystem
at the command prompt.
Type “regedit” without quotation marks and press “Enter.”
Use Registry Editor to edit the keys of the hive you loaded (e.g. LiveSystem) as you would normally in Windows. Changes will be retained when you exit the Recovery Console and restart the computer.
- To load BCD00000000, you may need to replace the second [hive] with “BCD-Template” instead of “BCD00000000.”
- A Windows Recovery Disk can also be used to edit the registry in this manner.
Microsoft: What are the system recovery options in Windows 7?
Microsoft: Make system repairs from the Windows Recovery Environment
Microsoft: Reg Load