VMware: Unable “Add to Invetory” option is greyed out
Today I got some trouble with my Exchange production VM, my VMware Data Recovery 1.2 created many snapshots.. and removed the VM from the vCenter inventory… ok not a big issue, but on the datastore I can’t Add it to the inventory again, the option “Add to Inventory” is greyed out.
Solution:
On the console I added the VM again in vCenter with the vmware-cmd option:
vmware-cmd –s register servername.vmx
vmware-cmd -l
It’s re-added in vCenter again:
Now it’s time to delete some snapshots… pffff
More vmware-cmd information: VMware
Thank you for posting this!! Came in handy!
Thanks, solved!
Good article, thanks
I have the same problem but on an ESXi host, how would I go about adding a VM back into the inventory on ESXi?
Thanks.
@spence
You can log onto the host directly from the console (monitor and keyboard) and enable SSH. not sure if the above fix works for us ESXi guys yet though…
Good artical, thank you
You saved my day!! A big thanks
vim-cmd solo registervm /vmfs/volumes/store/vm.vmx
shold work for esxi
thanks although it didn’t fix my problem.