
How to edit the registry in recovery mode
Created: 2020-09-30 03:12:25 | Last modified: 2021-03-23 11:11:01Access: Read | Views: 115 | Rating: N/A | Tags: windows windows server
Instructions on how to edit the registry in recovery mode
When you enter recovery mode on a PC/Server, only the recovery's registry is loaded by default, if you wish to make changes to the main operating system, you need to load the registry hive. To do this, follow the steps below;
1) In the recovery console enter in the following command to load the hive.
# For HKLM Software REG LOAD HKLM\TempSoft D:\Windows\System32\config\software # For HKLM System REG LOAD HKLM\TempSoftSystem D:\Windows\System32\config\system
2) You can now open the registry editor. Once open, refresh to make sure the loaded hive is available. You will be able to see the newly added hive under HKEY_LOCAL_MACHINE
regedit.exe
3) Once you have made your changes, you need to unload the hive by running the following commands
# For HKLM Software REG UNLOAD HKLM\TempSoft # For HKLM System REG UNLOAD HKLM\TempSoftSystem