This document covers how to create host profile for recovering ESXI password and steps to recover the password using a host profile.
Pre-requisites to apply host profile for resorting ESXI password are:
1.The host should be in connected state with vCenter server
2. If the host is in disconnected state with vCenter server, in this case reboot ESXI host, post reboot host should be connected back to vCenter server.
3. Post reboot, if the host is disconnected or removed from vCenter server then host profile will not work, in this case please follow below link to recover password.