How to access the Virtual Hard Drive (VHD) for Windows XP mode from Windows 7

Description: Windows uses the VHD format for XP mode. This can be accessed through disk management.

  1. VHD - Virtual Hard Disk
    • The XP mode is stored in a Virtual Hard Disk (VHD) file. This format is used by several programs that run virtual machines. The format can be used for several operating systems as well as Windows XP. Windows 7 has the ability to mount and display these files as though they are a real physical drive.
  2. Setting up XP Mode
    • Saving files to the standard "My Documents" folder within XP mode will not allow access to them from the Windows 7 side because of incorrect permissions. (XP mode and win7 are considered two separate machines)
    • Make a new folder in the root directory of C:\ within XP mode.
    1. Open XP mode
    2. Click on Start, then on My Computer

    3. Double click the local drive C:

    4. Go to File » New » Folder

    5. Rename the folder to XP Mode Files (or any other name that is descriptive).

    6. Create a shortcut to the folder on the desktop by right-clicking the folder and then choosing send to desktop.

    • Shut down XP Mode
    1. Click on Ctrl-Alt-Del from the top menu
    2. Choose Shut Down button from the menu

    3. Then Choose shut down from the pull down menu.

    4. Note: The XP mode will not work as long as the VHD file is attached to the windows 7 system.
  3. Attach the VHD
    • This will allow you to explore the virtual hard drive (like a flash drive).
    • Click on Start
    • Move the mouse pointer over Computer and right-click the mouse.

    • Choose Manage from the menu
    • Right click on Disk Management
    • Choose Attach VHD

    • Browse to C:\Users\your username\AppData\Local\Microsoft\Windows Virtual PC\Virtual Machines

    • AppData is a hidden folder. If it is not visible take the following steps.
    1. Start » Computer
    2. Tap the ALT button once on the keyboard
    3. Choose Tools
    4. Choose Folder options
    5. Click the button to show hidden files folders and drives

    6. Click OK

    • Close computer management and open computer. You will now see your new attached disk as a drive under Hard Disk Drives.

    • You can browse to this drive and transfer files in and out of your created folder.
  4. Detach the VHD
    • In order to start the Windows XP mode you will need to Detach the VHD. Windows 7 and Windows XP cannot use the Virtual Hard Drive at the same time.
    • Open Disk Management as above except left click to open the drive view.
    • The mounted VHD will show in blue and will have the same drive letter as in Computer (I:) in this case.
    • Find the Disk that also has a blue drive icon beside the number and the volume is labeled with the same drive letter as at the top.
    • Right click the white area to the left (that has the Disk 5 - or whatever number)
    • Choose Detach VHD

    • Click OK on the pop up window and the drive will detach.
    • Windows XP Mode can now be opened.

Satisfaction Guaranteed

We guarantee your satisfaction on every product we sell with a full refund - no receipt needed if you have a Micro Center Insider Account.

Service & Repair

We're your trusted local service and repair professionals.
How can we help?