Way to manually remove or delete VMs?


scud133b

Recommended Posts

I had been fooling around with several test Windows VMs, messing with the XML, etc., and now have managed to screw things up enough that I cannot delete the VMs to start over.

 

That means I can't reuse my UUID that I need for my licensed copy of Windows, because it is currently reserved by one of these busted VMs.

 

If I try to delete any of these VMs (which are currently stopped), I get an error that:

 

Requested operation is not valid: cannot delete inactive domain with nvram

 

Is there a way to remove these manually? A config file or something on the flash drive? I located the actual VM disc image but deleting that will not remove the entry from the Unraid GUI.

 

The big problem is freeing up my UUID because it is tied to a paid version of W10, which right now is stuck on a useless VM.

  • Like 1
Link to comment
  • 3 years later...
  • 2 months later...
  • 3 weeks later...

Had this exact error and then figured since the nvme drive is enabled and checked within the vm template to just go back to that busted or bad VM template and then uncheck NVME drive in the other pci devices section or just uncheck any usb or pci express devices and hit apply. Now you should be able to simply delete the vm without any error message.

 

Unraid is so logical that if you try to 'Windows' it, it won't forgive you for being stupid and it will just tell you off, but if you think like spock unraid just works.

 

 

  • Like 1
Link to comment
  • 4 months later...
On 6/2/2020 at 9:54 AM, HectorG said:

Had this exact error and then figured since the nvme drive is enabled and checked within the vm template to just go back to that busted or bad VM template and then uncheck NVME drive in the other pci devices section or just uncheck any usb or pci express devices and hit apply. Now you should be able to simply delete the vm without any error message.

Thanks for this. I checked the button for my Logitech wireless mouse, updated the template, then was able to delete it without error.

Link to comment
  • 5 months later...
  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.