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:
- Launch WinPE.
Type the following in the command prompt:
Registry Editor will open and display the status of the WinPE boot environment registry.
Select HKEY_LOCAL_MACHINE from the list on the left. On the File menu, click Load hive.
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.
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.
Find and edit the required parameter.
Click File and select Unload hive.
The changes will be saved in the registry.