Tuesday, July 14, 2015

Today my lab evalaution license was end with 0 days remaining; I found good way to reset your VMware licence evaluation mode back to 60 days so you can use it for more 60 days & reset again after 60 days.

now there is no need to format / reinstall your ESXi & vCenter to reset your licence.

Note: I will not suggest this to use in your production environment but you can use it for your lab.

here are the steps below:

Reset licence on ESXi host:

A) For ESX 4 & ESXi 4 , 5

Login to the TSM through SSH or Shell

Remove the following two files:

/etc/vmware/vmware.lic

/etc/vmware/license.cfg

Reboot server

use below command to do the task

# m -f /etc/vmware/vmware.lic /etc/vmware/license.cfg

#reboot

B) For ESXi 5.1, 5.5 & 6

For ESXi 5.1 and ESXi 5.5, you may need to continually remove the license files as the server reboots for this to work. The following should do this quite nicely: