I did a restore of a broken VM to a two-node Hyper-V Cluster, however, the machine didn't boot because the last backup was also corrupted. I deleted the VM from Hyper-V Manager and I thought everything was cleared until I saw that the VM still existed in SCVMM (slow refresh maybe?). When I tried and delete the VM from there, I get:
Error (1730): The selected action could not be completed because the virtual machine is not in a state in which the action is valid.
The machine is in a failed state.
When I go to Failover Cluster Manager, I don't see the VM under service and applications. I reloaded Hyper-V Manager and machine is back!
When I go to the CSV, I see the machine folder that just contains a Virtual Machines folder which I can't open (don't have permissions to access with folder). I'm also unable to delete the VM folder (you require permission to perform this action).
I'm at a loss on how to remove this machine. I realize I worked to quick to remove the bad machine, any easy way to clear whatever is holding access to this folder/machine? I don't want to interupt any machine if I can help it.