Refreshing XP Mode


  1. Posts : 300
    Windows 7 x64 Pro
       #1

    Refreshing XP Mode


    What is the fast/easy way to wipe a virtual XP Mode machine and start afresh?
      My Computer


  2. Posts : 17,545
    Windows 10 Pro x64 EN-GB
       #2

    Open Control Panel > Programs > Programs and Features, uninstall Windows XP Mode. When done, click View installed updates (left pane). Choose Windows Virtual PC, click Uninstall.

    Go to C:\Users\Your_Username\Virtual Machines, delete everything. Go to C:\Users\Your_Username\AppData\Local\Microsoft\Windows Virtual PC, delete everything, except if you want to use your existing virtual machines after re-installing VPC. In that case, delete only folder VCMXBackup and file Options.xml, go to Virtual Machines folder and delete the virtual machines you don't want to keep. When deleting, remember every virtual machine has three files (hard drive image, settings, backup) if shut down, plus a saved state file if hibernated after last time used.

    If you want to keep an old virtual machine and mount it later after re-installing VPC you just need to keep the vhd-file (Virtual Machine Hard Drive Image). You can delete all other files related to that vhd.

    Kari
    Attached Thumbnails Attached Thumbnails Refreshing XP Mode-vpc_remove_1.png   Refreshing XP Mode-vpc_remove_2.png  
      My Computer


  3. Posts : 300
    Windows 7 x64 Pro
    Thread Starter
       #3

    Kari,

    Thanks for the prompt reply. Based on your response, I may not have been clear. If all I want to do is remove an instance of a virtual machine (for example, the machine caught a virus), but do not want to uninstall XP mode, will simply deleting the .vhd file do the trick?
      My Computer


  4. Posts : 17,545
    Windows 10 Pro x64 EN-GB
       #4

    Sorry, misunderstanding.

    Delete Your_Virtual_Machine.vmcx in C:\Users\Your_Username\Virtual Machines and corresponding .vhd, .vmc, .vmc.backup and .vsv files (.vsv exists only if virtual machine is hibernated) in C:\Users\Your_Username\AppData\Local\Microsoft\Windows Virtual PC\Virtual Machines.

    Kari
      My Computer


  5. Posts : 300
    Windows 7 x64 Pro
    Thread Starter
       #5

    Thx!
      My Computer


  6. Posts : 300
    Windows 7 x64 Pro
    Thread Starter
       #6

    Kari,

    One more question (hopefully you'll see this). Based on your comments above, if I were to copy the files you mentioned, could I 'restore' a VM by simply replacing the existing files with the copies?
      My Computer


  7. Posts : 17,545
    Windows 10 Pro x64 EN-GB
       #7

    Basically, yes. I've made a tutorial about copying the XP Mode virtual machine. Following this tutorial, you can copy any existing virtual machine.

    Kari

    My virtual machines:

    Refreshing XP Mode-vpc_machines.png

    Refreshing XP Mode-virtualbox_machines.png
      My Computer


  8. Posts : 300
    Windows 7 x64 Pro
    Thread Starter
       #8

    You da man!
      My Computer


  9. Posts : 5
    Win 7
       #9

    You can use XP-More for the VM management


    FWIW at this time, a tool called XP-More could easily solve your problem:
    1. Keep a clean and untouched VM with the base installations you need
    2. Use XP-More to create a copy of the VM, which you'll use from that point
    3. When the active VM goes sour, use XP-More to delete it
    4. And then create a new copy of the clean VM to work with.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 12:19.
Find Us