Delete a VM which is in UnSupported Cluster Configuration

It happens some time.. the VMM says that VM is in unsupported cluster configuration. In my case, I created few test machines, tested everything and deleted it from Hyper-V Manager. However, few of the VMs was created with VHDX file on a local drive instead of CSV Volume. In-fact, this message should be there in VMM, however I noticed this only after the VMs got deleted.

Remove VM on Unsupported Cluster Configuration

Unsupported Cluster Configuration

Trying to remove the VM directly form the VMM Console fails with error 809.

Error (809)
VMM cannot remove the virtual machine because it is in the Unsupported Cluster Configuration state.

Recommended Action
Change the virtual machine’s state, and then try the operation again.

So its clear that VMM expects the virtual machine’s state to be running or stopped or anything apart from “unsupported cluster configuration”.

Since I don’t see any option through GUI, I tried using the Power Shell module.

Remove-VM

Remove-VM

However, Remove-VM VMName didn’t helped as the commandlet failed with the below error.

Remove-VM : VMM cannot remove the virtual machine because it is in the
Unsupported Cluster Configuration state. (Error ID: 809, Detailed Error: )

Change the virtual machine’s state, and then try the operation again.

 

The next attempt is with a -Force switch.

Remove-VM VMName -Force

Remove-VM VMName -Force

 

That worked !

 

Comments

comments