Hi,
This situation is when an ESXi host is rebooted or a host agent is restarted, it needs to reload the host agent configuration of each registered virtual machine (.vmx file). If the .vmx file is inaccessible, the ESXi/ESX host is unable to read the configured name of the virtual machine, and it defaults to Unknown VM.
1. Can you access the esxi host with ping command? Can you access the VM with ping command?
2. To re-register a virtual machine:
- Right-click the Unknown VM entry and click Remove From Inventory.
- Browse to the appropriate datastore for the virtual machine and open the folder.
- Right-click the *.vmx file and click Add to Inventory.
- Power on the virtual machine.
- Repeat Steps 1 to 4 for all unknown virtual machines.
3. Reboot your ESXi, and the VM with inaccessible state should be move to another ESXi host.
thanks