Enjoying ESXi 4.0.0, but found your license key has expired? In two minutes, you can extend your license for another 60 days! Do remember, that why this is helpful for trial purposes, you are still lacking access to critical updates (such as patches that allow vSphere Client to operate in the presence of the latest version of Microsoft .NET). So enjoy, but don’t expect this little hack to get you out of eventually buying a license!
- Sit down at the server on which ESXi is running. No need to log-in. Simply press Alt+F1, and you will enter a screen that reads “ESXi 4.0 http://www.vmware.com Copyright (c) 2007-2009 VMware, Inc.”, it may even display some other text, such as, “* Failed to load tpm”
- Although no CLI is displayed, type the word unsupported
- Now you’ll be prompted for a password. Enter the password that normally logs you in as the root. If successful, you’ll be rewarded with CLI access
- Type the following
- cd /etc/vmware
- rm vmware.lic
- rm license.cfg
- Reboot ESXi 4.0
Many thanks for the ESXi license renewal tip, saved me a lot of time.
No problem Phil. In ESXi 5, VMware supplies you with a license key with no timeout. After logging in, navigate to, “My Download History”, then follow the links to, “View downloads and licenses”. Once you find yourself in the VMware vSphere Hypervisor 5 Download Center page, you can apply your license key (using vSphere).
I’m just wondering does this trick work with VCenter 4.0i as well, thank you for you help
You can also do a “services.sh restart” at the end, and then a reboot is not required.
Thanks Kevin!