This article provides methods to retrieve data from a Windows XP Mode virtual machine in Windows 10.
Applies to: Windows 10 - all editions
Original KB number: 2724115
Summary
With the end of extended support for Windows XP in April 2014, Microsoft has decided not to develop Windows XP Mode for Windows 8 and above. If you're a Windows 7 customer who uses Windows XP Mode and are planning a move to Windows 10, this article may be helpful to you.
When you upgrade from Windows 7 to Windows 10, Windows XP Mode is installed on your machine, however Windows Virtual PC isn't present anymore. This issue occurs because Windows Virtual PC isn't supported on Windows 8 and above. To retrieve data from the Windows XP Mode virtual machine, use one of the following methods.
Method 1
Mount the virtual hard disk that was attached to the Windows XP Mode virtual machine, and then extract the data from the mounted drive.
- On the Windows 10 machine, locate your Windows XP Mode virtual hard disk. The default location is: %LocalAppData%/Microsoft/Windows Virtual PC/Virtual Machines/Windows XP Mode.vhd.
- Right-click the virtual hard disk, and then select Mount.
- The contents of the virtual hard disk will appear as a local drive on the Windows PC (for example, G:\).
- Locate data that needs to be extracted, and copy the data to another location.
- To unmount the virtual hard disk, right-click the new local drive (for example, G:\), and then select Eject.
- Uninstall Windows XP Mode when all data has been retrieved.
Method 2
Copy the Windows XP Mode virtual hard disks to another Windows 7 machine, and use Windows Virtual PC to run the virtual machine. Then extract the data from the virtual machine.
-
Copy your Windows XP Mode virtual hard disk (Default location: %LocalAppData%/Microsoft/Windows Virtual PC/Virtual Machines/Windows XP Mode.vhd), and the base virtual hard disk (default location: %ProgramFiles%\Windows XP Mode\Windows XP Mode base.vhd) from the Windows 10 PC to another Windows 7 PC.
-
Ensure the base disk is copied to the exact same location as it existed on the previous Windows 7 PC (for example, C:\Program Files\Windows XP Mode\Windows XP Mode base.vhd).
-
Create a new virtual machine with Windows Virtual PC. Then point to your Windows XP Mode virtual hard disk as the disk for the new virtual machine.
-
Start the virtual machine, login, and copy any required data from the virtual machine to another location.
-
Delete the virtual machine, and uninstall Windows XP Mode when all data is retrieved.
[!Note] The Windows XP Mode virtual hard disk will not work on Windows 8 and above as they does not provide the Windows XP Mode license. The Windows XP Mode license is a benefit provided on Windows 7 only.
Source: Microsoft Learn / IT Pro troubleshooting by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
