Tip & How-To about Computers & Internet

How to create and mount VHD files in windows 7

Microsoft's Virtual PC creates its virtual machine hard drives in VHD files, and Windows 7 can now mount these directly so you can access them in the host system. Click Start, type diskmgmt.msc and press Enter, then click Action > Attach VHD and choose the file you'd like to mount. It will then appear as a virtual drive in Explorer and can be accessed, copied or written just like any other drive.
Click Action > Create VHD and you can now create a new virtual drive of your own (right-click it, select Initialise Disk, and after it's set up right-click the unallocated space and select New Simple Volume to set this up). Again, you'll be left with a virtual drive that behaves just like any other, where you can drag and drop files, install programs, test partitioning software or do whatever you like. But it's actually just this VHD file on your real hard drive which you can easily back up or share with others. Right-click the disk (that's the left-hand label that says "Disk 2" or whatever) and select Detach VHD to remove it.
The command line DISKPART utility has also been upgraded with tools to detach a VHD file, and an EXPAND command to increase a virtual disk's maximum size. Don't play around with this unless you know what you're doing, though - it's all too easy to trash your system.

Posted by on

Computers & Internet Logo

Related Topics:

Related Questions:

1 Answer

how virtual pc 2007 works?is it realy use spaceof real hard drive


yea it use space from real hard drive content file.vhd mean virtual hard drive which have ur virtual system

Feb 11, 2010 | Microsoft Windows XP Professional With...

1 Answer

i have a virtual pc with windows2003,Due some virus ntosknrl is corrupt.But i copy this file into my vitual pc using recory console.I copied ntoskrnl and hal.dll successfully.when i open virtual pc,windows2003 is opening with 1 min its is restarted. Could u please send me the solution as soon as possible? or How to recover my data from virtual pc which is in windows vista


This is a suggestion that I have used:
1) Create another Virtual Machine running Windows XP
2) Attach your Virtual disk (.vhd) for windows 2003 as a second drive in your XP VM.
3) Scan/Fix your Windows 2003 drives and copy the required files to the required folders/files to your physical (you need to install Vitual Machine Additions to use Host drivesfolders) or virtual drives .

Hope it helps: let me know how you go.

Oct 31, 2009 | ViewSonic VX2235WM Monitor

1 Answer

Native VHD & Boot from VHD ( Virtual Hard Drive )


but can i install server on this native hdd drive n make it run like a ftp server ?

Jan 10, 2010 | Computers & Internet

Not finding what you are looking for?

150 people viewed this tip

Ask a Question

Usually answered in minutes!

Top Computers & Internet Experts

Doctor PC
Doctor PC

Level 3 Expert

7733 Answers

kakima

Level 3 Expert

102366 Answers

David Payne
David Payne

Level 3 Expert

14161 Answers

Are you a Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Loading...