Edit the OS registry in WinPE
If the operating system fails to boot due to registry errors, you need to access the registry and fix the error in it.
-
Open it up
cmd
. -
Open it up Registry Editor. It displays the state of the WinPE boot environment registry:
regedit
-
From the list on the left, select
HKEY\_LOCAL\_MACHINE
. -
On the menu. File select Load hive.
-
In the dialog box, navigate to the directory where the system and registry files are located, usually this is
C:\Windows\System32\config
. -
Select a file with the name system or software.
-
Enter the name with which the downloaded branch will be mounted to the partition
HKEY\_LOCAL\_MACHINE
. -
Click Open. The registry branch will appear under.
-
Find and edit the desired parameter.
-
Click File and select Unload hive. The changes will be saved in the registry.
-
Bring back the old server loading template or reboot the server from the OS. When you reboot the server from the OS, the boot template will automatically change to the one that was set before changes to the server load pattern.