Read and write Windows registry content offline

  
        

This article was tested only on WINDOWS XP and WINDOWS 2003. Other platforms are unknown. In 2007, I drafted an article "Successfully repairing a case of WINDOWS system repeatedly logging in, unable to start". The idea at the time was that this process was very meaningful. I wanted to record the solution process. The result was busy day after day. It’s finally gone. In fact, in the process of solving the problem, the deepest experience is that in the case that the system can not be started, there is no registry backup, how to modify its wrong registry key. An easy way to do this is to use the registry editor's load hive. The registry files for WINDOWS XP and WINDOWS 2003 are usually located in the %SystemRoot%\\system32\\config folder: SAM, SECURITY, SOFTWARE, SYSTEM. When the operating system fails to boot, you can mount this unstartable hard disk in another. On WINDOWS, or enter the system through PE, then load the registry file of the original system error, and then modify the corresponding key value. The specific process is: Open “ Registry Editor & rdquo;. In the registry tree (on the left), click the HKEY_USERS or HKEY_LOCAL_MACHINE item. On the "File" menu, click “Load Hive”. In "Find range", click the drive, folder, network computer, and folder that contains the hive you want to load. Click “Open”. In the "item name", type the name you want to assign to the hive (you can just name it as a subkey name), then click “OK”. Note:

1. “Loading the hive” and “Uninstalling the hive” affects only the HKEY_USERS and HKEY_LOCAL_MACHINE items, and they are active only when these predefined items are selected. When you load a hive into the registry, the hive becomes a child of one of the items.

2, after the modification is complete, don't forget to uninstall the configuration unit (select the configuration unit previously loaded into the system in regedit, then open the file menu, select “ uninstall the configuration unit & rdquo;)

Copyright © Windows knowledge All Rights Reserved