How do I use the VHDMount utility?

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"

Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish