How to decommision Hyper V VM?

Dear Hyper V Expert,

We are running Windows Server 2012 Standard as the Hyper V Server and there are some VMs running Windows Server 2008 R2 inside. One of the VM will need to decommission as it is old server and we have done the backup. What is the best procedure to decommission the server? is it just by deleting the VM then all the VM related file such as .VHD/.VHDX or XML will be deleted?

Thanks.

Regards,

H

August 26th, 2015 12:51am

Yes.
Free Windows Admin Tool Kit Click here and download it now
August 26th, 2015 4:58am

August 27th, 2015 6:07am



Hi Henry2050,

After you delete the vm from Hyper-V manager, the virtual disk will remain a short time and it will deleted automatically, this is the expected and by designed behavior.

Best Regards,

Free Windows Admin Tool Kit Click here and download it now
August 31st, 2015 8:13am



Hi Henry2050,

After you delete the vm from Hyper-V manager, the virtual disk will remain a short time and it will deleted automatically, this is the expected and by designed behavior.

Best Regards,

September 2nd, 2015 5:18am

The virtual disk is never removed automatically if you used Hyper-V Manager to remove the virtual machine. I think Alex has HVM confused with VMM.

I have a VHD from a virtual machine that I deleted three years ago and the VHD is still there.

Free Windows Admin Tool Kit Click here and download it now
September 2nd, 2015 4:19pm

The virtual disk is never removed automatically if you used Hyper-V Manager to remove the virtual machine. I think Alex has HVM confused with VMM.

I have a VHD from a virtual machine that I deleted three years ago and the VHD is still

September 3rd, 2015 3:09am

Yes, that is what Eric is saying.  When you delete a VM from the Hyper-V Manager console, it removes the VM definition from Hyper-V.  It does NOT delete the associated files.  This allows you to create another VM using the same VHD file, if you desire, and that is the only way to get it to show up in Hyper-V again.  If you do not want it anymore, delete the files for that VM.
Free Windows Admin Tool Kit Click here and download it now
September 3rd, 2015 10:08am

Yes, that is what Eric is saying.  When you delete a VM from the Hyper-V Manager console, it removes the VM definition from Hyper-V.  It does NOT delete the associated files.  This allows you to create another VM using the same VHD file, if you desire, and that is the only way to get it to show up in Hyper-V again.  If you do not want it anymore, delete the files fo
September 4th, 2015 3:31am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics