When attempting to remove a VM from the vCenter Server or ESX inventory, the process may fail with an "Invalid State" error. You may experience one or more of the following conditions:
- The VM shows powered off in the vCenter and ESX UI
- Attempting to remove the VM from the vCenter UI or ESX UI fails with an "Invalid State" error
- Attempting to remove the VM from ESX inventory via command line fails with an "Invalid State" error
- There is no folder, vmx, or vmdk's related to the VM on any datastore
- An attempt to remove the VM from the vCenter Server database edit has already been attempted via
KB311105
- There is no running VMX Process for the VM shown in esxtop or when running esxcli vm process list