1
0
I have a Windows PE (Win7) image which I can boot but the hostname is randomly set. I know I can change that behavior by setting the following registry keys:
SOFTWARE\ControlSet001\Control\ComputerName\ComputerName\ComputerName = computername
and
SYSTEM\Microsoft\Windows NT\CurrentVersion\WinPE\SetComputerName = 0
It works if I mount the WIM image on a second computer, mount the hives, edit the keys and unmount everything again and then apply the WIM file.
But what I need is to make these changes within a running Windows PE instance. I already tried to mount the hives there, but it only works for the SYSTEM hive and not the SOFTWARE hive.