You try to connect to the virtual machine console and get the following error:
Unable to connect to the MKS: Internal Error
- connect to your ESXi Host via SSH and start the DCUI
- press “F2” to log-in
- select “Troubleshooting Options”
- select “Restart Management Agents”
Do not panic, if you see the hosted virtual machines as “orphaned” in your vCenter. It will take some minutes till they are connected back as normal.
The restart of the Management Agents will not kill the virtual machines – they will continue to run.