Open the vSphere Client, select the virtual machine wich is in invalid state
- Right-click the virtual machine and choose Remove from Inventory.
Caution: Do not choose Delete from Disk.
- Click on the ESX host and, using the Summary tab, locate the appropriate datastore in which the virtual machine exists.
- Right-click the datastore and click Browse Datastore.
- Browse to the directory of the virtual machine.
Note: If you have renamed the virtual machine in the VMware Infrastructure Client, use the original name given to it.
- Right-click the .vmx file of the virtual machine and choose Add to Inventory.
- Power on the virtual machine.