Using Windows PE on a Server

Windows PE (WinPE) is a minimal Windows OS with limited services that launches from the server’s memory. It is primarily used for troubleshooting, restoring, and deploying Windows.

Learn more about booting to Windows PE.

Editing the OS Registry

If the operating system couldn’t be loaded because the registry file contains errors, then you need to access the registry and fix them.

Follow these steps to edit the registry:

  1. Launch WinPE.
  2. Type the following in the command prompt:

    regedit

    Registry Editor will open and display the status of the WinPE boot environment registry.

  3. Select HKEY_LOCAL_MACHINE from the list on the left. On the File menu, click Load hive.

  4. In the dialog box, navigate to the directory where the system and registry files are located (in most cases this is C:\Windows\System32\config). Select the file named system or software.

  5. Enter the name that the loaded branch will be mounted to the HKEY_LOCAL_MACHINE section with and click Open. The registry branch will appear in the section.

  6. Find and edit the required parameter.

  7. Click File and select Unload hive.

The changes will be saved in the registry.