Best practice for removing/deleting Hyper-V server

Posted on 2011-05-05
Medium Priority
Last Modified: 2012-05-11
We have some hyper-v virtual servers that were created for testing and I would like to remove them.  None of them have snapshots.   What is the best practice?  I want to make sure I get rid of all associated files for a clean uninstall or delete.  It seems too easy to just hit the "Remove Server" button in the "Actions" window.  Can someone with experience advise me?


Question by:egalois
  • 2
LVL 20

Accepted Solution

Svet Paperov earned 900 total points
ID: 35702430
You need to remove the virtual machines from the Hyper-V Manager first. This, however, does not delete the VHD files, so you have to remove them manually.

Then, you can remove the Hyper-V role from the server.
LVL 124
ID: 35702455
Yes, it's as simple as that.

Make sure you don't want the virtual machine when you do this later.
LVL 124

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE^2)
Andrew Hancock (VMware vExpert / EE MVE^2) earned 100 total points
ID: 35702491
When trying to delete the VMs, you may get an error message

Cannot access the settings for the seleceted virtual machine.
You might not have permission to perform this task.

Locate the physical files for the VM and the VHD. (AVHD if you had snapshots)

Change permissions (you may need to take ownership of the files).

Delete the files in question.

Author Closing Comment

ID: 35716068

Featured Post

Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Many people don't know about it - and it's almost like a huge secret, but Hyper-V is one of the most cost-effective Virtual solutions out there, and I'll tell you why. In a single word - Licensing. The Breakdown Microsoft gi…
Introduction Windows 2012 is here - it is upon us, and I hope that like me, you will upgrade your Hyper-V to the new version which has been promised to be a lot more stable, flexible and powerful than its predecessor in Windows 2008 R2.  Setting up…
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?
Suggested Courses

862 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question