Windows Vista's CompletePC Backup allows users to backup entire partitions, and stores these backups as VHD files. While there is currently no support for booting these VHD files, they are easily mountable using either VirtualPC or Virtual Server, both of which are now free downloads from Microsoft.
Thanks to a tip from
Virtual PC Guy on MSDN blogs, there is now an easy way to add right click mounting of these VHD files directly to Windows Explorer in either XP or Vista.
To start you will have to download and install
Microsoft's Virtual Server (although you don't have to actually configure it to run, as you will just be using one of the supplied exe files that comes with the installation package.)
Once you have installed Virtual server, you can run merge the following registry file into your XP or Vista registry, which will add a mount/unmount option to the right click menu in Windows Explorer for .vhd files. It is then just a matter of navigating to the CompletePC Backup vhd file and selecting mount, which will add the vhd file as a virtual drive that shows up in Windows Explorer.
| Code: |
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Virtual.Machine.HD]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Virtual.Machine.HD\shell]
@="Mount"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Virtual.Machine.HD\shell\Dismount]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Virtual.Machine.HD\shell\Dismount\command]
@="\"C:\\Program Files\\Microsoft Virtual Server\\Vhdmount\\vhdmount.exe\" /u \"%1\""
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Virtual.Machine.HD\shell\Mount]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Virtual.Machine.HD\shell\Mount\command]
@="\"C:\\Program Files\\Microsoft Virtual Server\\Vhdmount\\vhdmount.exe\" /p \"%1\""
[HKEY_CLASSES_ROOT\.vhd]
@="Virtual.Machine.HD" |
Copy the above code into a text editor, and name the file vhd.reg (or something similar), and then merge it into your registry. Ensure that the path to vhdmount.exe in the above registry file is correct for wherever you installed Virtual Server.
Warning: Modifying the Windows Registry can cause unforseen results - only users who are familiar with the registry should attempt modifications. As always, ensure you have current backups before attempting any modifications.
Digg this Article