• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 624
  • Last Modified:

Best practice for removing/deleting Hyper-V server

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?

Thanks

0
egalois
Asked:
egalois
  • 2
2 Solutions
 
Svet PaperovIT ManagerCommented:
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.
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Yes, it's as simple as that.

Make sure you don't want the virtual machine when you do this later.
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
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.
0
 
egaloisAuthor Commented:
thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now