If you are not local to the host and cannot access the direct console, use the vSphere Client to access the ESXi license key.

1

From the vSphere Client, select the host in the inventory.

2

Click the Configuration tab.

3

In the Software section, click Licensed Features.

The license key and a list of features that you can configure on the host appears. The license key appears in the form XXXXX-XXXXX-XXXXX-XXXXX-XXXXX.