How to Create and Configure a VHD in Windows 7

One of the most anticipated features of Windows 7 is its native Virtual Hard Disk (VHD) features, the format that is used in Virtual PC and similar virtualization platforms.

Windows 7’s VHD support will give users the ability to install any operating system that supports booting from a VHD into a VHD. For example, a user could have Vista installed on a single partition, and then have three files (VHDs) anywhere on that disk (or for that matter, on any partition that is readable by Windows) and be able to boot different versions of Windows 7. Assuming that SP1 and SP2 were released (which they are not yet available), a user could hypothetically have four operating systems on a single partition (the number is only limited by the bootloader, four is actually just a random number selected), like so:

  • Vista installed on a primary partition (such as “C:”).
  • Windows 7 RTM installed within a VHD (such as “C:Windows7.vhd”).
  • Windows 7 SP1 installed within another VHD (such as “C:Windows7SP1.vhd”).
  • Windows 7 SP2 installed within yet another VHD (such as “C:Windows7SP2.vhd”).

Of course, the number of VHDs is virtually unlimited, but it’s quite easy to see the hype associated with VHDs in Windows 7. Now, as for creating a VHD in Windows 7:

How to Create and Manage a VHD in Windows 7

1. Go to the Start Menu (or Desktop) and right click “My Computer” and click “Manage.” This is the easiest way to access Computer Management, but it can also be accessed via the Administrative Tools as “Computer Management.”

Viewing Disk Management

Viewing Disk Management

2. Now click on “Disk Management” under “Storage” in the sidebar. This will present you with a list of partitions on your computer. Now, to create a VHD, you can either right click “Disk Management” and click “Create VHD” or you can go to “Actions > Create VHD.”

Create VHD

Create VHD

3. This should cause a new window to appear, titled “Create and Attach Virtual Hard Disk.” Now, specify where you would like your .VHD stored (you can type the location or use the “Browse” function shown.” Then select a size (remember that you can choose between MB (Megabytes), GB (Gigabytes), or TB (Terabytes). Now, here comes an important option that is entirely down to user choice.

Selecting the Dynamically Expanding format means that as the files within the VHD increase in size, so will the VHD in question. Unfortunately, this format is a little slower than a Fixed Size format, which allocates all space selected immediately (meaning that even if the files inside the VHD measure, for example, 200MB, the disk will still be 600MB (assuming that you selected 600MB for the size of the disk)). However, a Dynamically Expanding disk can be quite useful for those hurting for disk space; even so, it’s entirely your choice, either format will do. Just make sure that the size of the disk is large enough to handle whatever you plan on placing inside of it. When you’re done, click “OK.”

Creating and Attaching the Virtual Hard Disk

Creating and Attaching the Virtual Hard Disk

On a writer’s note, I personally prefer Fixed Size disks.

Subscribe & Connect

Share This Post: 

Subscribe to our e-mail newsletter for updates:

, , ,

4 Responses to How to Create and Configure a VHD in Windows 7

  1. nomagic October 9, 2009 at 1:52 am #

    SysInternals just released a new tool Disk2VHD to create VHDs from a physical disc also on Windows XP.

  2. Edward June 10, 2010 at 4:17 am #

    Hi my name is edward, I have addeed this new VHD,
    but I want to delete now, so anyone could give me some help on how to delete.

  3. NadiaSz July 2, 2010 at 7:25 pm #

    First, you have to Detach the disk. You do this by right-clicking on the disk (DiskX – on the very left side of the disk management block). Confirm your choice in the dialog box. Now you can delete it in Windows Explorer.

  4. Sourabh anand October 27, 2011 at 8:43 am #

    does this virtual hard disk supports ubuntu??? or only differents versions of windows can be installed??

Leave a Reply