ESXi 5.1 Add to Inventory Grayed Out

I was renaming a VM in the command vmdk using vmkfstools, updating he vmx, then did a mv of the folder to rename it the the new name

I then removed the VM from inventory and whenI try to readd it Add to Inventory is grayed out. I have tried everything and and all online suggestions have  failed
LVL 21
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
You mean when you highlight/select the VMX file it's grayed out?

e.g,. Right Click it...

If so this means the VMX file is INVALID.....(could mean!)

Does not take much to invalidate a VMX file.

The client does a quick check to validate the VMX file, e.g. configuration before it displays the Add to Inventory.

Check your VMX file is valid, and nothing is wrong, or revert to the BACKUP you made, before you modded it!

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
compdigit44Author Commented:
I am not see and misconfigured settings and not backup :(
compdigit44Author Commented:
LOL I figured it out... I had a double quote in one area.. LOL

Your good luck helped me....
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
I'm afraid it's nothing to do with luck, 17 years+ experience dealing with VMware Administrators!

and we see it every week, on our Support Desk!
John SalleSenior IT Systems EngineerCommented:
In the future, if you're running vCenter you can rename the VM and then do a Storage vMotion. VMware will rename the folder/files to match the VM name during a Storage vMotion (or if you're not licensed for that, power off and move the files to a new datastore)
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.