Windows 7 / Getting Started

Creating VHDs from Within Windows 7

After you have installed Windows 7, it is quite simple to create VHDs.

  1. From the Control Panel, select "System and Security" and then "Administrative Tools".
  2. Select the Computer Management option.
  3. In the left pane, select Storage, Disk Management.
  4. From the Action menu, select Create VHD.

Mounting VHDs

As we noted previously, it is possible to mount a VHD at any time using the command line. Follow these steps:

  1. Type diskpart and press Enter to start the diskpart utility.
  2. Type select vdisk file="c:\Windows7Build.vhd" and press Enter.
  3. Type attach vdisk and press Enter.
  4. Mounting a virtual hard disk.
  5. Type exit.

You can also use the graphic tools within an installed copy of Windows 7 to mount a VHD. Here's how:

  1. Select the Computer Management tab.
  2. In the left pane, select Storage, Disk Management.
  3. From the Action menu, select Attach VHD.
[Previous] [Contents] [Next]