Avatar of Sekodata
Sekodata
 asked on

Add vm to inventory greyed out

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!
VirtualizationvSphereVMware

Avatar of undefined
Last Comment
Sekodata

8/22/2022 - Mon
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

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 ?
Sekodata

ASKER
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)
Sekodata

ASKER
There is also a .vmx~ file present
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
ASKER CERTIFIED SOLUTION
Sekodata

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question