Using XP Mode to test - how to discard changes?

glnz

New member
Member
VIP
Local time
3:11 PM
Messages
135
-
I'm totally new to XP Mode - and it's the first time I've tried virtualization.

I want to use XP Mode to test the installation of a program. But then I want the choice of DISCARDING the install and all changes when I turn XP Mode off -- so the next time I turn it on, I am back before the install.

How do I do that?

In this particular case, I want to test the installation of Mozilla Thunderbird in XP (as the first step for figuring out how to move eight years of emails from a totally separate XP machine into the Win 7 machine). After the first test install, I want to turn off XP Mode so it does NOT save anything I did during the session. No more Thunderbird - as if I never installed it. Then I want to try again - same thing.

How do I give myself the choice to save or discard changes?

Many thanks.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Dell Optiplex 7010 MT
OS
Dual boot - Win 10 Pro 64-bit (good) and Win 7 Pro 64-bit (won't boot on the NVMe)
CPU
Intel Core i5 3470 @ 3.2GHz
Motherboard
Dell 0GY6Y8 - what would the Intel number be? - Q77 chipset
Memory
16GB RAM DDR3 (Four x 4GB)
Graphics Card(s)
Intel HD Graphics (on the CPU)
Sound Card
Realtek High Definition Audio - and Intel Display Audio
Monitor(s) Displays
Dell E176FP - nothing fancy
Screen Resolution
1280 x 1024 @ 60 Hz
Hard Drives
Now a Samsung 970 EVO Plus SSD NVMe, which works for the Win 10 only

Used to be two 500GB WDC WD5000AAKX (SATA @ 6GB/sec)

- External WD My Book 1110 USB device
PSU
What means PSU? I'm at sea level
Cooling
Ice cubes
Keyboard
Noisy
Mouse
Micky
Internet Speed
Verizon FIOS 500 Mbps (was 1Gbps but I can't type that fast)
Antivirus
Win 10 Windows Defender - Win 7 Avast Free
Browser
Firefox only with lots of security drives my wife crazy
Other Info
Also I still have an old but important XP SP3 machine that can run - Optiplex 755 Desktop w 4GB RAM and Momentus XT hybrid HD-SSD 500 GB hard drive. Used the registry hack to get more updates through "XP Embedded" or "POS" so now the machine rings like a cash register and the CD drawer opens to give change.
OK - I have learned it's the Undo Disk setting, which I have now tried successfully.

Is this the only way to turn off without saving the changes? No snapshots so I can save more than one state?

Thanks.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Dell Optiplex 7010 MT
OS
Dual boot - Win 10 Pro 64-bit (good) and Win 7 Pro 64-bit (won't boot on the NVMe)
CPU
Intel Core i5 3470 @ 3.2GHz
Motherboard
Dell 0GY6Y8 - what would the Intel number be? - Q77 chipset
Memory
16GB RAM DDR3 (Four x 4GB)
Graphics Card(s)
Intel HD Graphics (on the CPU)
Sound Card
Realtek High Definition Audio - and Intel Display Audio
Monitor(s) Displays
Dell E176FP - nothing fancy
Screen Resolution
1280 x 1024 @ 60 Hz
Hard Drives
Now a Samsung 970 EVO Plus SSD NVMe, which works for the Win 10 only

Used to be two 500GB WDC WD5000AAKX (SATA @ 6GB/sec)

- External WD My Book 1110 USB device
PSU
What means PSU? I'm at sea level
Cooling
Ice cubes
Keyboard
Noisy
Mouse
Micky
Internet Speed
Verizon FIOS 500 Mbps (was 1Gbps but I can't type that fast)
Antivirus
Win 10 Windows Defender - Win 7 Avast Free
Browser
Firefox only with lots of security drives my wife crazy
Other Info
Also I still have an old but important XP SP3 machine that can run - Optiplex 755 Desktop w 4GB RAM and Momentus XT hybrid HD-SSD 500 GB hard drive. Used the registry hack to get more updates through "XP Embedded" or "POS" so now the machine rings like a cash register and the CD drawer opens to give change.
Unfortunately, Virtual PC, the virtual software that XP Mode VM is run from doesn't support saving snapshots. It's possible to do but you have to find the VHD file created by XP Mode and save a copy of it somewhere. When you're done experimenting, you can shut the VM down and copy the saved VHD file back (replacing the current VHD file) and restart the VM and it will be back to it's original state.

You could save copies of the different states of the VHD and copy them in and out.

The VHD file is created in "C:\Users\[your username]\AppData\Local\Microsoft\Windows Virtual PC\Virtual Machines"
 
Last edited:

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Home Built desktop, Dell G15 5511 Gaming laptop,MS Surface Pro 7 tablet
OS
W10 Pro desktop, W11 laptop, W11 Pro tablet (all 64-bit)
CPU
3.7Ghz 8700K i7, i7-11800H, i7-1065G7
Motherboard
ASUS TUF Z370-Pro Gaming in desktop
Memory
16G desktop, 16G laptop, 4G tablet
Graphics Card(s)
AMD Radeon RX580, RTX 3060, Intel Iris Plus
Sound Card
High Definition Audio (Built-in to mobo)
Monitor(s) Displays
Samsung U32J59 32" (2x), 15.6", 12"
Screen Resolution
3840x2160, 3840x2160, 1920x1080, 2160x1440
Hard Drives
500G SSD for OS; 2T, 10T & 15T HDDs for Data on Desktop, 1TB SSD laptop, 128G SSD tablet.
PSU
Corsair CX 750M
Case
Antec 100
Cooling
CM 212+
Keyboard
IBM Model M - used continuously since 1986
Mouse
Microsoft Pro IntelliMouse
Internet Speed
400M down 8M up
Antivirus
Windows Defender
Browser
FireFox
Other Info
Built my first computer (8Mhz 8088cpu, 640K RAM, 20MB HDD, 2 360K floppy drives) in 1985 and have been building them for myself, relatives and friends ever since.
OK - I have learned it's the Undo Disk setting, which I have now tried successfully.

Is this the only way to turn off without saving the changes? No snapshots so I can save more than one state?

Thanks.

Unfortunately, Virtual PC, the virtual software that XP Mode VM is run from doesn't support saving snapshots. It's possible to do but you have to find the VHD file created by XP Mode and save a copy of it somewhere. When you're done experimenting, you can shut the VM down and copy the saved VHD file back (replacing the current VHD file) and restart the VM and it will be back to it's original state.

You could save copies of the different states of the VHD and copy them in and out.

The VHD file is created in "C:\Users\[your username]\AppData\Local\Microsoft\Windows Virtual PC\Virtual Machines"

The posts I quoted above basically already lists all your options. You found out about Undo Disks by yourself, and Strollin's excellent advice about copying XP Mode VHD and restoring it when you need to go back, these are about your only options. I Like XP Mode very much but let's face it, Windows Virtual PC is quite limited.

I have nothing to add, just to suggestion for a practical and quite easy way to "play" with backing up and restoring the XP Mode. Honestly, I am not sure if you will see it "practical and quite easy" as I do but this is how I do this when I need to do something, test something and then go back to old XP Mode.

First, I think it's important to understand the complexity of XP Mode, how it needs several files to really function. Here's a list of all XP Mode files and their default locations:

   Information
By default, XP Mode virtual machine consists of five files when installed and run first time, plus two additional files if XP Mode is hibernated or the Undo Disk feature is enabled. The file names, extensions and default locations are:
  • 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. In emergence situations you can force XP Mode to reboot instead of waking up from hibernation simply by deleting this file while XP Mode is closed, then restarting XP Mode
  • 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

My way to do this is to set up XP Mode first as I'd like to have it and when ready, copy the Windows XP Mode.vhd from C:\Users\Your_Username\AppData\Local\Microsoft\Windows Virtual PC\Virtual Machines to a safe location, then when a need arises to get back to my starting setup I simply create a new virtual machine using my backed up Windows XP Mode.vhd file as existing vhd.

When doing this, Virtual PC checks the vhd file and when it realizes that it's not a vhd capable of working alone but instead a differencing vhd needing its base, Virtual PC automatically attach the needed Windows XP Mode base.vhd to it and creates a fully functioning new XP Mode virtual machine. The process, creating a new vm takes just a minute or two. When ready, I will test the new XP Mode and when (if) it works I can delete the files belonging to the old XP Mode, including the old original XP Mode vhd.

Creating a new vm in Virtual PC using an existing vhd, see Step 10 in this tutorial: http://www.sevenforums.com/tutorials/8254-windows-virtual-pc-create-virtual-machine.html

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