Is there anyway of unregistering a virtual machine on OSX using the command line with VMware Fusion (so that the VM can then be deleted)?

I've looked around, and found this thread, which suggests

manually remove the VM from inventory before running the DeleteVM command

But where is this inventory? Or is there a better way of unregistering a machine via the command line?

  • Did you check the vmrun utility and the VIX API ? BTW Fusion as workstation doesn't support registration, that's an esx esxi capability to keep an inventory of VMs). This sounds like you're trying to solve a XY problem here
    – Tensibai
    Sep 27, 2017 at 15:28
  • @Tensibai vmrun doesn't support unregistering, and the VIX API doesn't seem to work with Fusion (source: vmware.com/support/developer/vix-api/vix113_reference/…)
    – Rekovni
    Sep 27, 2017 at 15:31
  • 1
    That's the point... in brief "No there's no cli way, you have to go though the Fusion UI"
    – Tensibai
    Sep 27, 2017 at 15:43
  • I see, I thought the workaround mentioned in the thread about manually removing the VM from the inventory could work...
    – Rekovni
    Sep 27, 2017 at 15:54
  • The thread say exactly that, remove from the ui, that said I didn't thought fusion kept an inventory, deleting a stopped machine should work
    – Tensibai
    Sep 27, 2017 at 16:25

1 Answer 1


There doesn't seem to be a "proper" way of unregistering a virtual machine sadly.

I went around this by stopping the virtual machine using vmrun in Fusion, deleting the source folder of the VM, and restarting Fusion so that the application registers that the VM is not there anymore.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.