How to add entries to offline registry


I have used the tool "Disc2vhd" from MS, to grap one of my servers.
When I try to boot the VHD in Hyper V I get an error (Descibed below)

What it boils down to is that I need to add some registry keys to the VHD file.
I want to do this from another virtual PC where I have mounted the VHD from the physical server as an extra drive so I can browse the files etc.

Can anyone tell me how to open a registry file that is different from the currently used system?

Is it even possible??

The physical server I converted is an IBM box with SCSI drives. OS is 2003SP2.

Described here:
When converting a Windows XP / Windows 2003 machine with P2V utilities, a STOP: 0x0000007B may occur during boot in Hyper-V. (Pressing F8 during boot and selecting the option to "Disable automatic restart on system failure" will reveal the blue screen error code.) Typically this indicates the lack of a necessary driver required by Hyper-V virtual hardware (IDE channel).
Link for blog:

Who is Participating?
deroodeSystems AdministratorCommented:
Open Regedit. Select HKEY_LOCAL_MACHINE, enter File - Load Hive, browse to the registry file and enter a name (e.g. temp)
Don't forget to unload the hive after editing, or the registry file will stay in use and unusable.

User registry files are stored in the user profile, Machine registry files are stored in the SystemRoot%\System32\config folder
Neil RussellTechnical Development LeadCommented:
Was the OS License for 2003SP2 RETAIL, Volume Licence or OEM?

OEM Can NOT be converted
GrodelAuthor Commented:
Retail - OSL agreement.
Anyways I think I found the solutuon. Will post here again if it works.
GrodelAuthor Commented:
I mounted the other registry using REG. (But Iam sure this works too)
I then added the mount name to the reg files and simply dblclicked them as usual. Dismounted... and after that I was able to boot the virtual server... which now runs great!
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.