Skip to content

Instantly share code, notes, and snippets.

@vonkoch
Last active January 14, 2016 09:33
Show Gist options
  • Select an option

  • Save vonkoch/5848694 to your computer and use it in GitHub Desktop.

Select an option

Save vonkoch/5848694 to your computer and use it in GitHub Desktop.
P2V - Physical to Virtual
1. Use Disk2VHD (http://technet.microsoft.com/en-us/sysinternals/ee656415.aspx) from sysinternals.com to create VHDs from the disks in the physical machine
2. Install Virtual PC
3. Create virtual machine pointing at the VHD files as the virtual HDs
4. If the virtual machine blue screens with a "Stop 0x0000007B" when starting then the device drivers aren't right, most likely the disk physical machine didn't have drivers for the IDE disks that Virtual PC provides, see http://support.microsoft.com/kb/314082
a. In order to follow the KB you need to mount the VHD and change it's registry:
On Win 7
diskpart
select vdisk file="path to .vhd"
attach vdisk
[seems to auto assign drive letters]
Then copy driver files to appropriate location on mounted .vhd.
regedit
Select HKLM or HKUSER or else load hive is grayed out
File | Load Hive
(the registry hives http://msdn.microsoft.com/en-us/library/ms724877(VS.85).aspx are in the %SystemRoot%\System32\Config directory)
Edit registry as mentioned in the above KB article
Select the loaded hive
File | Unload Hive
DISKPART> detach vdisk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment