You can replace the registry HIVE file in WinPE / WinRE using command prompt
- Boot from repair mode (or with WINPE) . Open CMD
- Go to \windows\system32\config (as C:\ or D:\ in WinPE or WinRE)
- Backup the current system/software by :
Ren system system_backup
Ren Software Software_backup - Replace the system / software hive by :
Copy D:\windows\system32\config\regback\software D:\windows\system32\config\software
Copy D:\windows\system32\config\regback\system D:\windows\system32\config\system - Restart the server.