Advertisement
keebz

WinPE Registry - PowerShell Unrestricted

Feb 26th, 2015
246
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. How to Edit the registry on WinPE
  2.  
  3. 1. Mount the WinPE.
  4.  
  5. 2. Run regedit and select the HKLM hive.
  6.  
  7. 3. Select File | Load Hive, then browse to the location of your Windows PE build. Select Software mount\windows\system32\config.
  8.  
  9. 4. Enter a temporary name for the hive like WINPE.
  10.  
  11. 5. Edit the registry as normal.
  12.  
  13. 6. Select File | Unload Hive... and confirm the Yes | No dialog, and ensure you dismount the registry every time, as having it locked will prevent a successful build of Windows PE.
  14.  
  15. 7. Quit Regedit.
  16.  
  17. 8. Unmount
  18.  
  19. HKLM\Software\Microsoft\PowerShell\1\ShellIds\Microsoft.PowerShell
  20. ExecutionPolicy = Unrestricted
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement