Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Using Windows 7 x64, my boot disk is an SSD. I'd like to reserve it for Windows 7 programs, and locate the XP Mode VHD on a second standard HD. Can that be done? After creating XP Mode, can I shut it down, relocate it, and then edit the pathname node in "Windows XP Mode.vmc"?

<ide_controller id="0">
 <location id="0">
   <drive_type type="integer">1</drive_type>
  <absolute type="string">**C:\Users\foo\AppData\Local\Microsoft\Windows Virtual PC\Virtual Machines\Windows XP Mode.vhd**</absolute>
<relative type="string">.\Windows XP Mode.vhd</relative>
   <absolute type="string" />
    <relative type="string" />

share|improve this question

After creating XP Mode, can I shut it down, relocate it, and then edit the pathname node in "Windows XP Mode.vmc"?

I'd say, just try it. If it doesn't work, revert the changes and create a symlink, that should always work.

share|improve this answer
+1:IMO, the symlink is a better solution. – surfasb Nov 9 '11 at 3:10

By rule of thumb, the base VHD file located in Program Files cannot, unfortunately, be moved or renamed. If you do attempt to do this, XP Mode will cease functioning.

To move the files under the C drive to an alternate location you would first boot up in to XP Mode.

Instead of saving the virtual machine (VM), you want to shut it down. (Be sure to change the close settings to prompt the user for close action.)

When closing the VM you will want to choose shutdown. This will remove the .VSV file. Do not manually delete the .VSV file, as it contains unsaved data within the VM.

Now, you can move the VHD located in the following path: C:\Users\[yourusernamehere]\AppData\Local\Microsoft\Windows Virtual PC\Virtual Machines\Windows XP Mode.vhd to your desired location.

Open XP mode settings, navigate to Hard Disk 1 settings, and repoint the hard disk to the new location of your VHD file. You should now be able to boot the VM as you did previously.

share|improve this answer
Please avoid advertising other communities here. – Simon Sheehan Dec 1 '11 at 21:31

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .