Windows only: Free Sysinternals application Disk2vhd takes a snapshot of your PC, and turns it into a Microsoft Virtual PC virtual hard drive—while your system is up and running.
Using the software, which requires no installation, is as easy as launching, selecting the drives you would like to create into a virtual disk, giving the file a name, and clicking the Create button. The utility uses the same volume snapshot feature that Windows uses for backup utilities, so it doesn't matter if software is running or not—but you'll have best results if you create the virtual disk on a separate drive.
Once you've created your virtual drive, you can use the free Microsoft Virtual PC to boot the image of your PC, which you can then use for testing, or just as a great way to completely backup your computer. Disk2vhd is a free download for Windows only.
I wonder if you're running into the issue that's referenced at the Microsoft Technet site:
[Quote]
Note: do not attach to VHDs on the same system on which you created them if you plan on booting from them. If you do so, Windows will assign the VHD a new disk signature to avoid a collision with the signature of the VHD’s source disk. Windows references disks in the boot configuration database (BCD) by disk signature, so when that happens Windows booted in a VM will fail to locate the boot disk.
[End Quote]
Attach the VHD in disk management, defrag the VHD, shrink the partition, detach the VHD and use VHDResize to shrink below 127.5 GB
ReplyDeleteSee Here for step by step http://blog.wisefaq.com/2009/12/31/how-to-fix-the-cannot-attach-the-virtual-hard-disk/
That works well for me. Thanks Simon
Delete