How to reset VMware vSphere ESXI 6.5 evaluation licenses

In case   you want to reset the ESXI evaluation license for more 60 days to run your virtual machine on it . Below are the tested command to reset license

  1. Ssh the ESXI host and login with the root access
  2. Run

rm -r /etc/vmware/license.cfg

cp /etc/vmware/.#license.cfg /etc/vmware/license.cfg

/etc/init.d/vpxa restart


Reboot the ESXI host