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.
3. Right click on the virtual machine that you want to delete, then click on Settings. (See screenshot below)
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)
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)
7. Click on Yes to approve. (See screenshot below)
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)
10. Click on Yes to approve. (See screenshot below)
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?
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!
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.
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.
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.
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.
Computer type Laptop System Manufacturer/Model Number HP ENVY 17-1150eg OS Windows 7 x64 Ultimate CPU 1.6 GHz Intel Core i7-720QM Processor Memory 6 GB Graphics Card ATI Mobility Radeon HD 5850 Graphics Sound Card Beats sound system with integrated subwoofer Monitor(s) Displays 17" laptop display, 22" LCD and 32" Full HD TV through HDMI Screen Resolution 1600*900, 1680*1050 and 1920*1080
Keyboard Logitech diNovo Media Desktop Laser (bluetooth) Mouse Logitech MX1000 Laser (Bluetooth) Hard Drives Internal: 2 x 500 GB SATA Hard Disk Drive 7200 rpm
External: 2TB for backups, 3TB USB3 network drive for media Internet Speed 50/10 Mbps VDSL Antivirus MSE, Windows Defender Browser Maxthon 3.5.2. Other Info Windows 7 Ultimate Retail Full in English, additional Guest-user accounts in Finnish, German and Swedish (Working languages English & Swedish, Family language German, my own language, mother tongue, Finnish. I really need Ultimate to get to use Language Packs!)