Archive

Posts Tagged ‘vhd’

Mount VHD Easy Way….

October 23rd, 2009 No comments

If you dont know what is VHD, you can check it here

Virtual Hard Disk (VHD) is a file formatted to be structurally identical to a physical Hard Disk Drive. It is typically used in various virtualization packages, and can be used to install a wide variety of operating systems (various versions of Microsoft Windows and Linux).[1] The format was created by Connectix which was later acquired by Microsoft for Virtual PC. Since June 2005 Microsoft has made the VHD Image Format Specification available to third parties under the Microsoft Open Specification Promise.[2]

However, There are several ways to mount VHD

1. Using Diskpart

Diskpart is disk utilities that every windows copies has since Windows Vista,CMIIW. You can look here . To mount VHD files using diskpart just follow these steps

  • Go to Command prompt w/ administrator privileges
  • type diskpart then enter
  • type SELECT VDISK FILE=”<full path disk name>” then enter
  • type ATTACH VDISK then enter

You can also create small script to execute that.

  • Run notepad
  • Type SELECT VDISK FILE=”<full path disk name>” then enter
  • type ATTACH VDISK then enter
  • Save and Close that script as attach-vhd.bat for example
  • Go to Command prompt w/ administrator privileges
  • type diskpart /s attach-vhd.bat

But that method, gives me DiskPart was unable to process the parameters. if I run it directly

2. Using Computer Management

This almost the easiest way, by using Computer management Console in Administrative Tools

  • Do right Click and Choose Manage
  • Computer management Console will appear
  • Choose disk management items
  • Go to Action menu, then choose Attach VHD
  • Choose your vhd files

3. Using VHDMount

Recently, I found this method is the easist way to mount. Go to here . Download file called VHDMount.exe . Run it. It will register VHDMount to Windows Registry so you can mount VHD files only by double click on it.

Categories: Win7 Tags: , , ,