Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: 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 Brink
20 Jul 2009
Published by

How to Delete a Virtual Machine Created with Windows Virtual PC

information   Information
This will show how to delete or uninstall a Virtual Machine created with Windows Virtual PC.
Note   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   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)
Name:  StepC.jpg
Views: 6569
Size:  162.8 KB
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)
Name:  StepD.jpg
Views: 4952
Size:  54.8 KB
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)
Name:  StepB.jpg
Views: 4817
Size:  67.8 KB
11. Close the window under step 9.

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




25 Jul 2010   #1
freedom213

Windows 7N
 
 

Thanks for the tutorial very nicely done.

Greg

My System SpecsSystem Spec
25 Jul 2010   #2
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

You're most welcome Greg, and welcome to Seven Forums.
My System SpecsSystem Spec
21 Feb 2013   #3
dfalir

Windows 7 Home Premium 64 Bit
 
 
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 System SpecsSystem Spec
.


21 Feb 2013   #4
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Hello Dionisis,

Reinstalling Windows Virtual PC should be able to repair that.
My System SpecsSystem Spec
21 Feb 2013   #5
dfalir

Windows 7 Home Premium 64 Bit
 
 

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 System SpecsSystem Spec
21 Feb 2013   #6
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

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 System SpecsSystem Spec
21 Feb 2013   #7
dfalir

Windows 7 Home Premium 64 Bit
 
 
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 System SpecsSystem Spec
21 Feb 2013   #8
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

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 System SpecsSystem Spec
21 Feb 2013   #9
Kari

Microsoft Community Contributor Award Recipient

Windows 8.1 Pro with Media Center
 
 

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 System SpecsSystem Spec
Comment

 Windows Virtual PC - Delete a Virtual Machine




Tutorial Tools




Our Sites

Site Links

About Us

Find 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 05:13 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33