Monday, 15 May 2017

Create and mount VHD files

Create and mount VHD files


Microsofts 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 youd 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 its set up right-click the unallocated space and select New Simple Volume to set this up). Again, youll 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 its actually just this VHD file on your real hard drive which you can easily back up or share with others. Right-click the disk (thats 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 disks maximum size. Dont play around with this unless you know what youre doing, though - its all too easy to trash your system

To do this, then follow these steps:

A- Mounting a VHD File
1- Click Windows Start button, type diskmgmt.msc, and press Enter.
 2- Click now Action > Attach VHD.
3- Click Browse button to locate your VHD file, then click OK to mount it.
Thats it. Your virtual drive can be accessed now in Explorer and can be manipulated like any other drive.

B- Creating a VHD File

1- Click Action > Create VHD.
2- Click Browse to select where you want to save your virtual hard disk, enter disk size, select Fixed size, and click OK.
Thats it
download
alternative link download

Like the Post? Do share with your Friends.