We help IT Professionals succeed at work.

Add vm to inventory greyed out

Sekodata
Sekodata asked
on
136 Views
Last Modified: 2018-09-05
After removing a VM from the inventory of a vmware vSphere 5.5 cluster, the "Add to inventory" option is grayed out on the vmx file. The files are probably locked, as it is "Powered on". How do I add it again and start it?

Thanks!
Comment
Watch Question

Andrew Hancock (VMware vExpert PRO / EE Fellow)VMware and Virtualization Consultant
CERTIFIED EXPERT
Fellow
Expert of the Year 2017

Commented:
I'm not quite sure how you were able to remove a Power On VM from the Inventory.

If the add to inventory option is grayed out, it could be the VMX file is corrupted, or it is locked.

If locked you will have to find the process which has locked the file, and remove the lock.

Why do you think it's Powered On ?

Is there a memory swap file present ?

Author

Commented:
We had a SAN improper shutdown, and the vm was greyed out as inacccessible. We then removed it from inventory, and now we can't add it again. I think it is "powered on" because there's a vmx.lck file, and the swapfile is present, (3 actually)

Author

Commented:
There is also a .vmx~ file present
Commented:
This problem has been solved!
(Unlock this solution with a 7-day Free Trial)
UNLOCK SOLUTION