Virtualization Technology News and Information
Article
RSS
How Do I Use the VHDMount Utility?

John Savil and Windows IT Pro help out with explaining how to use the VHDMount utility.  The VHDMount utility is a simple command-line tool with a limited amount of choices, but if you aren't familiar with it, you might not understand how to use it. 

A. Once installed, VHDMount is fairly simple to use with only a few command-line options to use to mount and unmount VHD files. To mount a VHD file, use this command:

C:\Program Files\Microsoft Virtual Server\Vhdmount>vhdmount /m "d:\virtualos\client\client hard disk.vhd" If you run the command and you receive an error that says the device driver software was not successfully installed, the problem is that the device driver isn't signed (the final version will be).

To work around the problem, open Device Manager. You'll see the problem device under "Disk drives", as the figureshows. Right-click the device and select Properties. Select the Driver tab and select "Update Driver." Choose the option to manually select the driver and select for the user to pick the specific driver, select Have Disk, and select vhdstor.inf from C:\Program Files\Microsoft Virtual Server\Vhdmount. The volume will now mount, and the content will be viewable and modifiable. Another option is to change the Drive Signing to Ignore in Windows XP (Start, Control Panel, System, Hardware tab, Driver Signing and set to Ignore). However this opens the machine up to other risks and won't be necessary with the signed, final version of the driver. For Windows Vista, see the FAQ "How do I disable device driver signing in Windows Vista?" at http://www.jsifaq.com/SF/Tips/Tip.aspx?id=11163 but this isn't recommended.

When finished, unmount using /u, as the following example shows:

C:\Program Files\Microsoft Virtual Server\Vhdmount>vhdmount /u "d:\virtualos\client\client hard disk.vhd"

Read the original, here.

Published Monday, March 12, 2007 6:35 AM by David Marshall
Filed under:
Comments
There are no comments for this post.
To post a comment, you must be a registered user. Registration is free and easy! Sign up now!
Calendar
<March 2007>
SuMoTuWeThFrSa
25262728123
45678910
11121314151617
18192021222324
25262728293031
1234567