Welcome to TechNet Blogs Sign in | Join | Help

VHDMount without VHDMount

To mount a VHD file onto your file system, you either ran some very complicated VB (or PowerShell) Script or you used VHDMount.exe that came with Virtual Server.  If you’re running Windows 7 (or Windows Server 2008 R2), you can now use Diskpart.

So, from an elevated command prompt, run Diskpart.

Select the VHD in question:

sel vdisk file="c:\users\daven\desktop\xp professional.vhd"

Then attach it to your system:

attach vdisk

image 

That’s it.  Pretty easy.

Dave

Share this post : Technet! del.icio.us it! digg it! live it! reddit! technorati!
Published Friday, January 16, 2009 3:20 PM by daven
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: VHDMount without VHDMount

Now if they would just include a built-in ISO mount utility with Windows 7.

Monday, January 19, 2009 11:28 AM by Joe

# re: VHDMount without VHDMount

I can only agree with you Joe - I've been asking for the same thing for years...

Wednesday, January 21, 2009 5:51 AM by daven

# re: VHDMount without VHDMount

take a look at Portlock SMART Suite for windows.  No installation required. allows you to mount an ISO with a program called Portlock Drive Explorer. I had no problems accomplishing this on Win 7. Theres a free trial for download

Wednesday, January 28, 2009 6:59 PM by MattD

# re: VHDMount without VHDMount

Dave,

Can you mount differencing disks with this?

Yeah, I know, I should get 2008 R2 up and running.  Will do _soon_.

Aidan.

Wednesday, February 04, 2009 4:55 AM by Aidan Finn

# re: VHDMount without VHDMount

In "disk management" look at "actions->more actions" - you can do the same thing with the GUI! - I am on Win7 build 7000, still - I suppose it is still there on newer builds too!

Monday, April 13, 2009 11:54 AM by dmuscett

# re: VHDMount without VHDMount

Thank you Soooooooo Much for this tip

Gotta Love Diskpart!

Sunday, May 10, 2009 7:50 PM by Nicolas Levi

# re: VHDMount without VHDMount

Way cool - thanks for this Dave!

Thursday, May 28, 2009 11:49 AM by Dave

# re: VHDMount without VHDMount

Nice one Dave, however it looks like it does not support RAW or EFS filesystems which I believe Vhdmount did.  Bummer

Thursday, June 11, 2009 12:15 AM by Sean

# re: VHDMount without VHDMount

Hi,

did you have heard about Gizmo drive?

It does many of the things that you are discussing here.

It's a very handy tool and it's free.

http://arainia.com/software/gizmo/overview.php?nID=4

Wednesday, October 28, 2009 9:03 AM by Marco

# re: VHDMount without VHDMount

How to make .bat file to attach vhd every time I boot a system?

Monday, November 09, 2009 12:06 PM by Marcin

# re: VHDMount without VHDMount

This post reminds me why I love the internet-thanks a million.

Thursday, November 19, 2009 11:20 PM by Michael

# re: VHDMount without VHDMount

Thanks a lot! Saved me lots of time :)

Tuesday, January 19, 2010 12:26 PM by redguy

Leave a Comment

(required) 
required 
(required) 

  
Enter Code Here: Required
 
Page view tracker