HOW-TO: Reset VMware License Expiration

From Tayledras
Jump to: navigation, search
VMware Logo
This is for education/informational testing/development purposes only, and should not be used on a production server. WARNING:

This is for education/informational testing/development purposes only, and should not be used on a production server.

To reset your expired ESXi 60-day evaluation license:

Step-by-Step

1. Login to the HOST via SSH or Shell

2. Remove /etc/vmware/license.cfg

3. Copy /etc/vmware/.#license.cfg to /etc/vmware/license.cfg

4. Restart the vpxa service

5. Or simply copy the code below and paste it into your SSH session.

CLI commands

rm -r /etc/vmware/license.cfg
cp /etc/vmware/.#license.cfg /etc/vmware/license.cfg
/etc/init.d/vpxa restart

6. Then open the “Licensed Features” option in the configuration tab of the ESXi host through the vSphere Client.

7. Click on “Edit” in the top right of the “Licensed Features” page

8. Once the “Assign License” window opens you will see two options. There will be a category for Evaluation Mode and Assigned License.

9. Click on the “(No License Key)” option and then click “OK”. This will set the host back to “evaluation” mode and will give you access to all features for 60-days!