none
Snapshots in Virtual PC? RRS feed

  • General discussion

  • With Virtual PC, as shipped with Win7, is there a way of taking a snapshot of the machine state, and being able to revert to that snapshot if necessary?

    The only way I've found is cumbersome: Make a manual copy of the .vhd file when the V.machine is powered off, then create a new virtual machine using that .vhd image.  This works, but it is difficult to manage and to implement.


    Wednesday, May 25, 2011 7:55 AM

All replies

  • No, there's no snapshot capability in Windows Virtual PC.  You can use
    "Undo disks" just like a single snapshot, or you could manually set up
    differencing disks to simulate what a snapshot does, but other than
    backing up the vhd like you said, that's it.
     
    To use undo disks, power down the virtual machine (not hibernated, it
    actually has to be off,) then go into the virtual machine's settings,
    select "Undo disks" on the right, and checkmark "Enable undo disks",
    then just power on the virtual machine. 
     
    Then do your testing, when done, close the machine normally
    (hibernated is okay), go into the machine's settings again, select
    "Undo disks" on the right, then you'll have 2 buttons enable, one to
    discard changes, which means go back to what you had when you enabled
    undo disks, or apply changes", which means merge everything together
    (save any changes), and set a new point for undo disks to start.
     
     

    Bob Comer - Microsoft MVP Virtual Machine
    Wednesday, May 25, 2011 12:56 PM
  • Hi Bob,

    Thanks for your reply.  I'm new to VPC and I didn't know about the "undo disks".  That sounds useful. 

    You see, I'm studying for my MCITP on Windows 2008, and I have a little micro-virtual network set up on my computer, to do the exercises.  It presently consists of 2x 2008 Standard, 1x 2003 Enterprise, 1x Vista client, 1x XP Client, set to "Internal" network.  I can't run them all  at the same time but at least 3 I can.

    So if I mess up one of my virtual servers doing some exercise, I can use the "Undo disk" to revert.  Is that correct?

    Wednesday, May 25, 2011 4:08 PM
  • >So if I mess up one of my virtual servers doing some exercise, I can use the "Undo disk" to revert.  Is that correct?
     
    Yep!  I use it that way all the time.
     
     

    Bob Comer - Microsoft MVP Virtual Machine
    Wednesday, May 25, 2011 4:29 PM
  • Does having an undo disk affect the performance of the VM?
    Wednesday, May 25, 2011 10:57 PM
  • No, but, deleteing undo disc deletes everything in that session, commiting undo to XP mode writes everything to XP mode.

    Multi tasking with undo enabled not so good, single testing with undo enabled work's fine.

    Wednesday, May 25, 2011 11:30 PM
  • Not much.  It basically is just an automatic differencing disk in the
    way it's handled and performance is pretty close in my experience.
     
    The big hit  is time to merge the data if you want to keep the
    changes, it can take a few minutes if there has been lots of changes.
     
     

    Bob Comer - Microsoft MVP Virtual Machine
    Thursday, May 26, 2011 1:12 AM
  • Thanks Bob.  I will use undo disks.  Thanks for the pointer!

     

    Thursday, May 26, 2011 8:04 AM
  • You're welcome, glad to help.
     
     
     

    Bob Comer - Microsoft MVP Virtual Machine
    Thursday, May 26, 2011 12:39 PM