Welcome to MSDN Blogs Sign in | Join | Help

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

Published Monday, March 09, 2009 4:21 PM by cschotte
Filed under: ,

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# re: VHD mounting under Windows 7

Monday, March 09, 2009 11:13 AM by Tom

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

# re: VHD mounting under Windows 7

Sunday, November 08, 2009 10:59 PM by TAG

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.

Leave a Comment

(required) 
required 
(required) 

  
Enter Code Here: Required
 
Page view tracker