woensdag 24 maart 2010

Mount VHD without VHDmount, using diskpart

(Source:http://blogs.technet.com/daven/archive/2009/01/16/vhdmount-without-vhdmount.aspx)

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

Geen opmerkingen:

Een reactie posten