VMware Cloud Community
marcomangiante
Enthusiast
Enthusiast
Jump to solution

Delete invalid virtual machine entry in web client

Hello,

in a standalone esxi 6.5, during the import of a vm via web client I stopped it, so now I have an entry in the web client that point to a vmx file that doesn't exists: in the list of virtual machines in the web client I have, as virtual machine name, the path of the vm that doen't exists and in Status field the "invalid" value.

How I can delete the entry? Is it possible?

I attach an image with 2 vm, the one invalid and one valid:

esxi 6.5 webclient invalid entry.png

--

Regards

25 Replies
Vuoto_66
Contributor
Contributor
Jump to solution

to be sure of what i'm doing, because i'm in production, I've done this:

1- I made a new VM called "dummy" (ubuntu > ok>ok>ok...) no need to install sysop or anything else, only create folder and .vmx file.

2- I went to inventory and select this VM AND the invalids VMs (I had 3 because I deleted a datastore before unregister the VMs).

3- Now  with right click appeared "Unregister" and I unregistered all the VMs.

4- Browsed datastore and erased "dummy" folder.

Now inventory and datastore are clean and right.

Very thanks !!!!

 

0 Kudos
rabrice
Contributor
Contributor
Jump to solution

This is the way......

Tnx

 

 

0 Kudos
strlitman
Contributor
Contributor
Jump to solution

Thank you thank you thank you!!! This worked PERFECTLY!! If I knew you, I'd buy you a drink. I was just that frustrated with this problem and THAT elated at it being resolved!

0 Kudos
CSFNJ1
Contributor
Contributor
Jump to solution

This totally works in seconds.  Thank you for sharing that.

0 Kudos
Detavern
Contributor
Contributor
Jump to solution

Use /etc/vmware/hostd/vmInventory.xml for 6.5/6.7 instead

0 Kudos
eenry
Contributor
Contributor
Jump to solution

Yes this is the right workaround!! Great!!!! Thanks a lot

0 Kudos