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
cmd
. -
Open Registry Editor. It displays the state of the WinPE boot environment registry:
regedit
-
From the list on the left, select
HKEY\_LOCAL\_MACHINE
. -
From the File menu, select Load hive.
-
In the dialog box, navigate to the directory where the system and registry files are located, usually
C:Windows\System32\config
. -
Select a file named system or software.
-
Enter the name with which the downloaded branch will be mounted in
HKEY\_LOCAL\_MACHINE
. -
Click Open. The registry branch will appear in the section.
-
Find and edit the desired parameter.
-
Click File and select Unload hive. The changes will be saved in the registry.
-
Revert to the previous server boot pattern 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 the server boot template was changed. the server boot pattern was set before the server boot pattern was changed.