Windows Virtual PC - Delete a Virtual Machine

    Windows Virtual PC - Delete a Virtual Machine

    Windows Virtual PC - Delete a Virtual Machine

    How to Delete a Virtual Machine Created with Windows Virtual PC
    Published by
    Designer Media Ltd


    How to Delete a Virtual Machine Created with Windows Virtual PC

       Information
    This will show how to delete or uninstall a Virtual Machine created with Windows Virtual PC.
       Note
    This will delete the .vmcx (Virtual Machine settings) and .vhd (Virtual Hard Drive) files to completely remove the virtual machine and regain the hard drive space used by it.
       Warning
    Be sure to back up anything that you do not want to lose in the virtual machine first. When you delete the virtual machine, it will be gone for good.



    Here's How:
    1. If you have the virtual machine that you want to delete running, then you must close or shut down the virtual machine first.

    2. Open the Windows 7 Start Menu, and click on All Programs, expand Windows Virtual PC folder, and double click on the Virtual Machines shortcut. (See screenshot below)
    NOTE: You can also open the Virtual Machines folder at C:\Users\(User Name)\Virtual Machines.
    Windows Virtual PC - Delete a Virtual Machine-start_menu.jpg
    3. Right click on the virtual machine that you want to delete, then click on Settings. (See screenshot below)
    Windows Virtual PC - Delete a Virtual Machine-settings.jpg
    4. In the left pane, click on the Hard Disk (ex: Hard Disk 1) that has a .VHD file (ex: Vista SP2.vhd) listed under "Current Value" to select it. (See screenshot below)
    Windows Virtual PC - Delete a Virtual Machine-stepc.jpg
    5. In the right pane, click on the Browse button. (See screenshot above)
    NOTE: You could also just navigate to that location for the .vhd file in Windows Explorer.

    6. Right click on the .vhd file (ex: Vista SP2.vhd) for the virtual machine that you want to delete, and click on Delete. (See screenshot below)
    Windows Virtual PC - Delete a Virtual Machine-vhd.jpg
    7. Click on Yes to approve. (See screenshot below)
    Windows Virtual PC - Delete a Virtual Machine-stepd.jpg
    8. Close the window under step 6 and under step 5.

    9. Right click on the .vmcx file for the virtual machine that you want to delete, then click on Delete. (See screenshot below)
    Windows Virtual PC - Delete a Virtual Machine-stepa.jpg
    10. Click on Yes to approve. (See screenshot below)
    Windows Virtual PC - Delete a Virtual Machine-stepb.jpg
    11. Close the window under step 9.

    12. Empty the Recycle Bin.
    That's it,
    Shawn







  1. Posts : 1
    Windows 7N
       #1

    Thanks for the tutorial very nicely done.

    Greg
      My Computer


  2. Posts : 72,036
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #2

    You're most welcome Greg, and welcome to Seven Forums. :)
      My Computer


  3. Posts : 14
    Windows 7 Home Premium 64 Bit
       #3

    When i try your instructions i have the following problem


    When i click on Settings as you indicate i am presented with the windows that says choose the program you want to open this file (Typical windows when a file is not associated with a program). I dont know what to choose there. Can you help me plz?

    Regards,
    Dionisis Falireas
      My Computer


  4. Posts : 72,036
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #4

    Hello Dionisis,

    Reinstalling Windows Virtual PC should be able to repair that. :)
      My Computer


  5. Posts : 14
    Windows 7 Home Premium 64 Bit
       #5

    You could pretend that it was a bit more complicated than this, so that i dont feel like an idiot.. Probably i am getting old. In my defence i was confused because when i run Windows XP mode i was presented with the logon screen so i assumed everything was installed... Thank you very much, i will proceed!
      My Computer


  6. Posts : 72,036
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #6

    There's nothing to feel silly about. There's an issue with the association of that context menu and Windows Virtual PC. Reinstalling Windows Virtual PC should restore the association without to much fuss for you. :)
      My Computer


  7. Posts : 14
    Windows 7 Home Premium 64 Bit
       #7

    Repairing Windows Virtual PC administrator


    Brink thank you very much for the answer.

    I would like to ask you one more question, but please instruct me wether i should open a new thread / question as it is idirectly related to my problem.

    On the 2 virtual machines i have created (XP with i.e 8 and the 2nd is XP with i.e 7), i deleted the user accounts i had created thinking i could log in as administrator. The result is that i can no longer log in. i think this is a common problem with virtuale machines created with windows virtual pc.

    My question is wether it is easier to fix this by some way, or to completely uninstall the whole Windows Virtual PC in and reinstall it, or just the virtual machines, or anything else you might propose.

    Can you help me with this? What should i do?

    Regards,
    Dionisis Falireas
      My Computer


  8. Posts : 72,036
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #8

    Dionisis,

    A virtual machine, like any other installed Windows, will require an user account to be able to log on to it.

    Unless you have something in the virtual machines you really need, it may be best to delete the virtual machines, uninstall and reinstall Windows Virtual PC, then create new virtual machines.
      My Computer


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

    If the built-in administrator account is active (enabled) but has no password set, you can login to it by first disabling Integration Features.

    When Integration is enabled you cannot login to a VPC virtual machine to an account which has no password but this is possible when Integration is disabled.

    Kari
      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 07:35.
Find Us