Howto enter VMware ESXi license key after it has expired

vmware-esxi-5-license-has-expired“Disable VMware ESX” is the warning message that is displayed when you open your VMware vSphere Client after the 60-day evaluation period has expired without typing in a new license key for your free VMware vSphere Hypervisor 5 install. You cannot type in the license key in the vSphere Client after the evaluation period has expired. If you do not type in the key before it expires you will not be able to power on VMs after they have been powered down.

This is a short howto describing how you can type in the license key for you free VMware Hypervisor after it has expired, since you cannot use the vSphere Client.
This requires that you have enabled the SSH service on your host before it expired and you can access it using your favourite SSH client to your ESXi host.
The file should look something like this if you have not entered any license information 00000-00000-00000-00000-00000.
This key should be replaced with the key you have gotten from VMware when you downloaded the installer file.

This is a step by step description of how you can update the license file

  1. Start a SSH session to your ESXi host using your favourite SSH client like Putty
  2. Log in with the username root (unless you have changed it to something else)
  3. Open the file /etc/vmware/vmware.lic using the vi editor
    ~# vi /etc/vmware/vmware.lic
  4. Delete the old license key with the dd command
  5. Insert a new license key by with the i command

    The key above is just an example and is not a valid key. Replace the key used above with the evaluation license key you received from VMware.

  6. Save the file using the write command w
  7. Now you can open a new vSphere Client window and see if the license warning windows appears again. If it does not, then you have successfully updated the license key. If not, then you need to check if the license key is typed in correctly.

All this can be done without a reboot of the ESXi host.


  1. josh 14. August 2013
  2. sam 19. August 2013
  3. josh 22. August 2013
  4. Hans-Henry JakobsenAuthor 22. August 2013
  5. Andy 29. October 2013
  6. Bruce 29. December 2013
  7. Vincent Murphy 19. February 2014
  8. Gina 16. March 2014
  9. dicky 18. March 2014
    • Hans-Henry JakobsenAuthor 19. March 2014
  10. Bill 22. March 2014
  11. Anon 7. August 2014
  12. Joel 24. November 2014
  13. Derek A 3. February 2015
  14. Derek A 3. February 2015
  15. Evan Schemm 2. July 2015