Problems creating new Windows XP virtual machine using existing vhd

kcleary

New member
Local time
5:26 PM
Messages
3
Hi,
I am trying to install a Windows XP VM on my computer (windows 7 ultimate x64) using an existing virtual hard drive. The existing vhd contains many important files I need for my work, and I lost access to it when my old computer crashed and took my previous Windows XP VM with it! Luckily I had a backup of the vhd.

I am following the tutorial here: http://www.sevenforums.com/tutorials/8254-windows-virtual-pc-create-virtual-machine.html, but even though I successfully installed the new Windows XP VM using my existing vhd, when I open the VM it does not contain any of my old files...it's like it is using a new blank vhd.

What is going on? How can I recover my files?

Thanks a lot,
Kate
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
dell
OS
Windows 7 Ultimate x64
Memory
8 GB
Antivirus
Sophos
Browser
Chrome
Hi Kate, welcome to the Seven Forums.

To start please tell how did you backup / copy the old XP Mode, which vhd file or files from that you used when you created a new virtual machine?

Kari
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
HP ENVY 17-1150eg
OS
Windows 10 Pro x64 EN-GB
CPU
1.6 GHz Intel Core i7-720QM Processor
Memory
6 GB
Graphics Card(s)
ATI Mobility Radeon HD 5850 Graphics
Sound Card
Beats sound system with integrated subwoofer
Monitor(s) Displays
17" laptop display, 22" LED and 32" Full HD TV through HDMI
Screen Resolution
1600*900 (1), 1920*1080 (2&3)
Hard Drives
Internal: 2 x 500 GB SATA Hard Disk Drive 7200 rpm
External: 2TB for backups, 3TB USB3 network drive for media
Cooling
As Envy runs a bit warm, I have it on a Cooler Master pad
Keyboard
Logitech diNovo Media Desktop Laser (bluetooth)
Mouse
Logitech Performance Mouse MX
Internet Speed
50/10 Mbps VDSL
Antivirus
Windows Defender 4.3.9431.0
Browser
Maxthon 3.5.2., IE11
HI Kari,

Thanks for your quick response. From my old XP Mode I only have the old vhd file, it is called Windows XP Mode base.vhd. When I create the new machine, I just point to this file at Step 10 of this tutorial: http://www.sevenforums.com/tutorials/8254-windows-virtual-pc-create-virtual-machine.html

As I said it works and a new VM is created, but it is a completely new VM that does not seem to be based on my old vhd file--none of my files are on it.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
dell
OS
Windows 7 Ultimate x64
Memory
8 GB
Antivirus
Sophos
Browser
Chrome
From my old XP Mode I only have the old vhd file, it is called Windows XP Mode base.vhd.

Kate, that's the answer I was afraid to get. Please do not shoot the messenger but you copied / backed up a wrong vhd file. I am afraid that if you no longer have access to your old XP Mode you have lost your files.

I'll try to explain:

Assuming the user has not changed any default settings, a Windows XP Mode virtual machine consists of several files as the following list explains:

  • Windows XP Mode base.vhd
    • XP Mode base disk, contains the core elements of operating system (XP), no user data is saved on this virtual disk
    • default location C:\Program Files\Windows XP Mode
  • Windows XP Mode.vhd
    • Virtual Machine virtual hard drive image, all user data and content is saved on this virtual disk
    • default location C:\Users\Your_Username\AppData\Local\Microsoft\Windows Virtual PC\Virtual Machines
  • Windows XP Mode.vmcx
    • Virtual Machine description and registration settings
    • default location C:\Users\Your_Username\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.vmc.vpcbackup
    • Virtual Machine settings backup
    • default location C:\Users\Your_Username\AppData\Local\Microsoft\Windows Virtual PC\Virtual Machines
    Additional files, only exist when certain criteria is met:​
  • 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
  • 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
(Above list from the Seven Forums tutorial http://www.sevenforums.com/tutorials/21904-virtual-xp-machine-copy.html.)

The XP Mode Base vhd really does not contain anything you had saved and / or installed on your XP Mode, it's just the system core, the operating system files needed for the XP Mode to run. All your personal stuff was saved on the Windows XP Mode.vhd, located at C:\Users\Your_Username\AppData\Local\Microsoft\Windows Virtual PC\Virtual Machines.

Kari
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
HP ENVY 17-1150eg
OS
Windows 10 Pro x64 EN-GB
CPU
1.6 GHz Intel Core i7-720QM Processor
Memory
6 GB
Graphics Card(s)
ATI Mobility Radeon HD 5850 Graphics
Sound Card
Beats sound system with integrated subwoofer
Monitor(s) Displays
17" laptop display, 22" LED and 32" Full HD TV through HDMI
Screen Resolution
1600*900 (1), 1920*1080 (2&3)
Hard Drives
Internal: 2 x 500 GB SATA Hard Disk Drive 7200 rpm
External: 2TB for backups, 3TB USB3 network drive for media
Cooling
As Envy runs a bit warm, I have it on a Cooler Master pad
Keyboard
Logitech diNovo Media Desktop Laser (bluetooth)
Mouse
Logitech Performance Mouse MX
Internet Speed
50/10 Mbps VDSL
Antivirus
Windows Defender 4.3.9431.0
Browser
Maxthon 3.5.2., IE11
Hi Kari,

Thanks for explaining that--I will not shoot the messenger! I may actually have a copy of some of those files on my old hard drive, I will look and see. Meanwhile, I won't waste any more time trying to install with the Windows XP base file...that in itself is helpful.

Thanks again,

Kate
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
dell
OS
Windows 7 Ultimate x64
Memory
8 GB
Antivirus
Sophos
Browser
Chrome
If you find it, take the so called personal vhd (as opposed to base / core vhd), file name Windows XP Mode.vhd at C:\Users\Your_Username\AppData\Local\Microsoft\Windows Virtual PC\Virtual Machines. Notice that AppData is a hidden folder by default.

On the new PC, install XP Mode and Virtual PC, reboot, run XP Mode once, close it, then create a new vm using this personal vhd of yours from the old installation as an existing vhd.

Kari
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
HP ENVY 17-1150eg
OS
Windows 10 Pro x64 EN-GB
CPU
1.6 GHz Intel Core i7-720QM Processor
Memory
6 GB
Graphics Card(s)
ATI Mobility Radeon HD 5850 Graphics
Sound Card
Beats sound system with integrated subwoofer
Monitor(s) Displays
17" laptop display, 22" LED and 32" Full HD TV through HDMI
Screen Resolution
1600*900 (1), 1920*1080 (2&3)
Hard Drives
Internal: 2 x 500 GB SATA Hard Disk Drive 7200 rpm
External: 2TB for backups, 3TB USB3 network drive for media
Cooling
As Envy runs a bit warm, I have it on a Cooler Master pad
Keyboard
Logitech diNovo Media Desktop Laser (bluetooth)
Mouse
Logitech Performance Mouse MX
Internet Speed
50/10 Mbps VDSL
Antivirus
Windows Defender 4.3.9431.0
Browser
Maxthon 3.5.2., IE11
Back
Top