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.
-start_menu.jpg
3. Right click on the virtual machine that you want to delete, then click on Settings. (See screenshot below)
-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: 14342
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)
-vhd.jpg
7. Click on Yes to approve. (See screenshot below)
Name:  StepD.jpg
Views: 12596
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)
-stepa.jpg
10. Click on Yes to approve. (See screenshot below)
Name:  StepB.jpg
Views: 12491
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

64-bit Windows 10 Pro
 
 

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

64-bit Windows 10 Pro
 
 

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

64-bit Windows 10 Pro
 
 

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

64-bit Windows 10 Pro
 
 

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

 

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




Similar help and support threads
Windows 7 Tutorial Category
Windows Virtual PC - Create Virtual Machine
How to Create a Virtual Machine in Windows Virtual PC This will show you how to create a new virtual machine in Windows Virtual PC, and install the 32-bit guest operating system that you want to run in the virtual machine on your 32-bit or 64-bit Windows 7 as the host. Windows Virtual PC is...
Tutorials
How to Create a Win95 Virtual Machine in Windows Virtual PC
Hi, first post here. I have Win XP mode running in Win virtual pc on my Win 7 Pro tower. I have been given an original and unopened Win95 pack containing a Win95 v4.0.950B Nov96 CD with USB support and an IE4 CD. I think I understand from Brinks "How to create a virtual machine in windows virtual...
Virtualization
Windows Virtual PC - Connect Virtual Machine to Network
How to Connect Windows Virtual PC to the Network This will show you how to connect Windows Virtual PC to your network so that your created virtual machine or XP Mode will be able to access the internet. For more information, see: Networking in Windows Virtual PC - Windows Virtual PC -...
Tutorials
Windows Virtual PC - Boot from a CD in Virtual Machine
How to Boot from a CD or DVD in a Windows Virtual PC This will show you how to boot from a CD or DVD in an existing virtual machine, including XP Mode, created in Windows Virtual PC.In a virtual machine you will need to use a ISO of the bootable CD/DVD to boot from instead. If you do not have...
Tutorials
Can I retrieve files on virtual machine even if cannot start Virtual
I installed Windows XP mode on my PC 14 months ago. Everything was working fine . One dayabout 6 months ago, I could not start my virtual machine. I stupidly reinstalled XP mode. Result I lost all my files of the programs running in XP (autosketch). My installation allowed me to reinstall...
Virtualization
Windows Virtual PC - Change Virtual Machine Settings
How to Change Virtual Machine Settings in Windows Virtual PC This will show you how to change a Windows Virtual PC virtual machine's settings in Windows 7. To create a virtual machine or install Windows XP Mode, you will need to download and install the 32-bit (x86) or 64-bit (x64) version of...
Tutorials


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 12:20.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App