VHD mounting under Windows 7


Windows 7 has native support for VHD mounting (and booting). In my earlier blog post about VHD mounting under Vista you needed vhdmout.exe from Virtual Server. In Windows 7 you can use Disk Management and/or diskpart to mount VHD’s native!


Disk Management


You can also mount a VHD file in scripts using diskpart. Create a text file with this content:



SELECT VDISK FILE=”some  vhd file”
ATTACH VDISK


To attach the VHD image in a script, you have to use “diskpart -s textfile

Comments (3)

  1. Tom says:

    Even more useful would be if they added support for mounting ISO images as drives in Windows 7.

  2. Garry Trinder says:

    For some reasons does not work for Windows Complete PC backup done on Vista.

    But this is fully legit scenario as it’s used during Vista->7 migration.

  3. Ian says:

    Is there a way to specify drive letter with diskpart?  You could do that with vhdmount….. we're regressing.

Skip to main content