Expanding VHDmount
Wednesday, 06 September 2006 by Michel Roth
Ben Armstrong has revealed how you can "expand" the functionality of VHDmount, a tool that was recently released in Virtual Server 2005 R2 SP1 Beta 2, to allow you to mount VHD files by doubleclicking a VHD file.

"Virtual Server 2005 R2 SP1 Beta 2 includes 'vhdmount' - a tool to allow you to mount a virtual hard disk directly on your host operating system. While vhdmount is provided as a command line tool - a very small amount of work will allow you to mount VHDs by just double clicking on them. By creating a .reg file with the following contents:

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"

And then double clicking on the .reg file (to load it into your registry) you will be able to double click a VHD to mount it, and right click on it to dismount it."

Cool! Read more here.

Related Items:

Vmount GUI Wrapper (4 July 2006)
Displaying A Virtual Machine In A PowerPoint Presentation (27 May 2005)
Virtual Machine Configuration Assistant (16 April 2007)
Microsoft Released Service Pack 1 For Virtual Server 2005 R2 Available (12 June 2007)
Time Synchronization In Virtual Machines (2 February 2006)
ESX Manager 2.3 (16 July 2008)
VMware Announces Open Virtual Machine Format (OVF) (27 February 2008)
Looking at the VM Heartbeat with WMI (13 October 2006)
Virtual Server 2005 R2 SP1 Release Candidate (19 April 2007)
How To Build An Effective Virtual Machine Template (30 March 2006)
Comments (0)add feed
password
 

busy