[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1173
  • Last Modified:

How do I restore XP mode from a backup?

Hi
I've just rebuilt my Win 7 64 Bit Ultimate PC.
One thing I forgot to check beforehand was how to backup/restore my XP mode Virtual PC machine. Now I cannot find any clear answer to that question.
I've reinstalled Virtual PC and found the vmcx file. I tried to open the XP Mode file and reattach the vhd to it, but it did not work. I've got an error message that said approximately "unable to find host".
Then the vmcx file disappeared from the Virtual PC folder.
The only thing that has changed since the rebuild is the path to the HD where the vdi-files were stored.
Question: How do I get my XP mode working again?

Boris
0
speechrec
Asked:
speechrec
  • 2
2 Solutions
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
If you have a copy of your old XP Mode Virtual Machine, restore it to these locations

Windows XP Mode.vmcx
        Virtual Machine description and registration settings
        default location C:\Users\Your_Username\Virtual Machines
   
 Windows XP Mode.vhd
        Virtual Machine virtual hard drive image
        default location C:\Users\Your_Username\AppData\Local\Microsoft\Windows Virtual PC\Virtual Machines

Windows XP Mode.vmc
        Virtual Machine settings file
        default location C:\Users\Your_Username\AppData\Local\Microsoft\Windows Virtual PC\Virtual Machines

Windows XP Mode.vsv
        Virtual Machine saved state file (hibernation data)
        default location C:\Users\Your_Username\AppData\Local\Microsoft\Windows Virtual PC\Virtual Machines
        This file exists only when XP Mode is hibernated or is running. It is deleted automatically every time XP Mode is shut down

Windows XP Mode.vmc.vpcbackup
        Virtual Machine settings backup
        default location C:\Users\Your_Username\AppData\Local\Microsoft\Windows Virtual PC\Virtual Machines
    VirtualPCUndo_Windows XP Mode_X_Y_ZZZZZZZZZZZZZZ.vud
        Virtual machine Undo-disk (X, Y & Z in the file name are replaced with digits)
        default location C:\Users\Your_Username\AppData\Local\Microsoft\Windows Virtual PC\Virtual Machines
        This file exists only if so called Undo Disk is enabled in XP Mode settings

Windows XP Mode base.vhd
        XP Mode base disk
        default location C:\Program Files\Windows XP Mode
0
 
speechrecAuthor Commented:
Thanks, this helped, the Local\Virtual PC folder was not present in any of my backup files.

Here is what to do:
you need to reinstall XP mode as well, not just Virtual PC.
When it asks you "Do you want to start XP mode" --> Cancel that!
And when it asks you for your username, you have to enter XPMUser.
The password is presumably the one you used when you installed XP Mode for the first time (or possibly the one for logging on to your previous Windows 7 user account), I cannot say which exactly.
And it also helps when your drive letters are the same as before.
I had to reconnect the network adapter, but now everything appears to work just fine.
0
 
speechrecAuthor Commented:
I had to find the answer on my own, the expert provided some help along the way.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now