This message appears when you try to delete Virtual Machine from Hyper-V Manager:
The operation cannot be performed while the object is in its current state.
If you go manually to delete the folder where is VM located you will get an error message that you don't have permissions to do that. Into this folder there is config XML file:
Solution for this issue is to find the same XML file in :
C:\ProgramData\Microsoft\Windows\Hyper-V\Virtual Machines
and to delete it.
Note: First you should enable: Show hidden files, folders and drives in Folder Option.
After that when you open Hyper-V Manager you will see that the machine is gone.
Yes, but it only removes the VM entry from Hyper V Manager and not the Actual Virtual Machine
ReplyDeleteConfigmgr, Tips And Tricks: Hyper-V: The Operation Cannot Be Performed While The Object Is In Its Current State. >>>>> Download Now
Delete>>>>> Download Full
Configmgr, Tips And Tricks: Hyper-V: The Operation Cannot Be Performed While The Object Is In Its Current State. >>>>> Download LINK
>>>>> Download Now
Configmgr, Tips And Tricks: Hyper-V: The Operation Cannot Be Performed While The Object Is In Its Current State. >>>>> Download Full
>>>>> Download LINK Kk
Unlike the anonymous user above, this worked perfectly if you pay attention. Thanks for the help.
ReplyDeleteWow, who's the idiot? I had a VM I needed to delete but it was in a stuck state where I couldn't do anything (start it, delete it, edit any aspect). This did the trick.
ReplyDeleteI was successful in deleting the VMs the regular way after just killing and restarting the Service "Hyper-V Virtual Machine Management" (vmms).
ReplyDeleteThank you!
ReplyDeleteThanks, deleting the file started the restoring of the VM after which it started.
ReplyDeleteConfigmgr, Tips And Tricks: Hyper-V: The Operation Cannot Be Performed While The Object Is In Its Current State. >>>>> Download Now
ReplyDelete>>>>> Download Full
Configmgr, Tips And Tricks: Hyper-V: The Operation Cannot Be Performed While The Object Is In Its Current State. >>>>> Download LINK
>>>>> Download Now
Configmgr, Tips And Tricks: Hyper-V: The Operation Cannot Be Performed While The Object Is In Its Current State. >>>>> Download Full
>>>>> Download LINK 3Q