A Digital Age Deserves A Digital Leader

How To: Mount CompletePC Backup VHD file

How To: Mount CompletePC Backup VHD file

Postby jrfree1 » Wed Oct 18, 2006 12:22 pm

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: Select all
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.



<a href="http://www.digg.com/software/How_To_Mount_CompletePC_Backup_VHD_file" target="_blank"><img src="http://digg.com/img/digg-guy-small.gif" border="0" align="absmiddle">Digg this Article</a>
[html]<a href="http://vistamania.org" target="_blank"><img src="http://img116.imageshack.us/img116/1784/sig1pa4.jpg" alt="VistaMaNiA" border="0">[/html]
Image
PROfessional Member
User avatar
Posts: 3779
Joined: Mon Aug 30, 2004 4:24 pm
Location: Florida

Postby kd1966 » Wed Oct 18, 2006 1:12 pm

Wow!! That is excellent Jeff! Thanks!
PRO PLATINUM
User avatar
Posts: 6831
Joined: Tue Aug 09, 2005 2:00 am
Location: USA - GSO - NC

Postby rlynd3 » Tue Oct 09, 2007 5:11 am

This works great if you need to manual resore your PC from the back up. I.e. in the case your drive configuration has changed (on purpose) and the Vista repair DVD can't do it. Does however requre that you have a bootable (working) OS on your PC.

Thanks for the tip.
PRO New Member
Posts: 3
Joined: Mon Oct 08, 2007 12:03 am

Frontend for vhdmount.exe

Postby kmh » Wed Oct 31, 2007 4:18 pm

Here is a simple frontend to vdmount.exe
kmh.qsh.eu/shared/vhdtool.zip
PRO New Member
Posts: 1
Joined: Wed Oct 31, 2007 4:12 pm

Postby Mr Snrub » Fri Nov 02, 2007 10:51 am

Quick note if using this tip on Windows Vista - as vhdmount.exe is attempting an administrative action, you need to run the tool from an elevated command prompt.

This means that to get it to work as a context menu option, you need to edit the properties of vhdmount.exe on the Compatibility page to set "Run this program as an administrator
Abit Fatal1ty AN9 32X
Athlon64 4600+ AM2
4GB Corsair TWIN2X 6400PRO DDR2 CL4
2x WD Raptor 74GB (RAID0)
1x WD 250GB SATA
nVidia 7950GT 512MB PCI-E
ViewSonic VX2025WM widescreen 20" LCD
Dell 2001FP 20" LCD
Windows Vista Ultimate (x64)
PRO Level 3
Posts: 93
Joined: Sun May 28, 2006 9:11 am
Location: Sweden

How To Mount CompletePC Backup VHD file

Postby ukbasu » Mon Nov 12, 2007 8:55 pm

I brought the Sony VGN-SZ670N/C laptop a month and a half before with Vista business loaded. As a promotion, I was provided with a movie loaded on my machine. I had taken a complete Windows PC back-up after I brought the machine. Due to unknown reason, two weeks back, the Vista refused to start (crashed) and I had to restore the laptop to the factory setting. However I lost the movie. Now I wish to restore the movie from the Windows PC back-up (I took earlier).

I have methods that restores the entire PC back-up and not the individual files. I am looking for a application that retores individual files from the back-up. Is there a way to restore the movie only from the Windows PC back-up image (in VHD file format).

Appreciate a lot for any feedback.

Regards

Ujjal Basu
PRO New Member
Posts: 2
Joined: Mon Nov 12, 2007 8:51 pm

Postby Grav!ty » Mon Nov 12, 2007 10:36 pm

Have you tried this: How To Mount CompletePC Backup VHD file ukbasu?
Image

"The great majority of mankind are satisfied with appearances, as though they were realities, and are often more influenced by the things that seem than by those that are." - Niccolo Machiavelli
PROfessional Member
User avatar
Posts: 15790
Joined: Tue Sep 14, 2004 5:22 am
Real Name: Graham

Return to Guides

Who is online

Users browsing this forum: No registered users and 4 guests

cron
cron