Skip to main content
Edit the OS registry in WinPE
Last update:

Edit the OS registry in WinPE

If the operating system fails to boot due to registry errors, then you need to access the registry and fix the error in it.

  1. Boot the server in WinPE recovery and diagnostic mode.

  2. Open cmd.

  3. Open it up Registry Editor. It displays the state of the WinPE boot environment registry:

    regedit
  4. From the list on the left, select HKEY_LOCAL_MACHINE.

  5. On the menu. File select Load hive.

  6. In the dialog box, navigate to the directory where the system and registry files are located, usually this is C:\Windows\System32\config.

  7. Select a file with the name system or software.

  8. Enter the name with which the downloaded branch will be mounted to the partition HKEY_LOCAL_MACHINE.

  9. Click Open. The registry branch will appear under.

  10. Find and edit the desired parameter.

  11. Click File and select Unload hive. The changes will be saved in the registry.

  12. 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.