The purpose of this article is to provide you a workaround to power on the locked encrypted virtual machine.
Symptoms:
VMware vSphere ESXi 7.x
VMware vSphere ESXi 8.x
This issue occurs after a host reboot:
To work around this issue:
Login to another host in the same cluster using Putty, which is also protected by the same KMS server.
Run this command to check whether the host has the host key to read the affected vmdk.
crypto-util keys iskeyincache <key_ID>
Note: The Output will be either YES or NO.
For example:
crypto-util keys iskeyincache 'vmware:key/fqid/<VMWARE-NULL>/HyTrust%2dCluster/############%2dd8c1%2d11e6%2d8558%2d005#########