1. go to http://vmware.com/go/get-free-esxi, register an account, and apply for an free licence.
  2. Open vsphere->configuration->License Feature->Edit->Assign a new license key to this host