Dismount a VHD file in Windows 7

Microsoft Windows 7 enables users to dismount a VHD file using the Disk Management snap-in. VHD files are Virtual Hard Drives used by Microsoft Virtual PC and Microsoft Virtual Server.

Dismount a VHD File – Using Disk Management

  1. Click Start Orb.
  2. Type:

    mmc
  3. Right-click mmc to select Run as Administrator to open the snap-in.

    Start Menu - Launch Microsoft Management Console Elevated

  4. From the File menu select Add/Remove snap-in….

    Windows 7 - Add Microsoft Management Console Snap-In

  5. Select Disk Management and click Add.

    Windows 7 - Add Disk Management to Microsoft Management Console Snap-In

  6. Ensure Local Computer is selected and click Finish.

  7. Ensure Disk Management is added as a Snap-In and click Ok.

  8. Right-click the Virtual Hard Drive (VHD) to select Detach VHD.

  9. Click Ok.

Mounting a VHD File – Using Command Prompt

  1. Open an Elevated Command Prompt, see “Elevate a Command Prompt in Windows 7” for help.
  2. Type:

    diskpart

  3. Type:

    select vdisk file=c:\VHD\Vista.vhd

  4. Type:

    detach vdisk

  5. Type:

    exit

Related Articles

Version 1.2
Edited: April 11, 2014

Advertisements

One Response to Dismount a VHD file in Windows 7

  1. Pingback: Mounting a VHD file in Windows 7 with Read or Write Access « BillJr's Space

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: