Unable to add virtual machine to VMware Server inventory - How I Did It


While attempting to add a virtual machine to VMware Server version 1.x, I received the following message:

Unable to add virtual machine "/path/to/virtualmachine.vmx" to the inventory: No permission to perform this operation"


Solution:

sudo vmware-cmd -s register /path/to/virtualmachine.vmx

(Note: In my case I was "manually" creating a new VM by creating the hard drive first using "vmware-vdiskmanager" and then I copied an existing .vmx file and made some tweaks to it. I had to UNregister first using:

sudo vmware-cmd -s unregister /path/to/virtualmachine.vmx

And then register it using the command above.
I hope this helps


No votes yet

Short URL