Lost ILO Administrator Password with Zero Downtime

Lost ILO Administrator Password with Zero Downtime

By Tim Husar
Posted in Infrastructure, Support
On May 04, 2023

Recently, a client became locked out of the HPE ILO Administrative account on six VMware ESXi hosts. The direct route to fixing this involves downtime, and solutions that could be done while the hosts were online couldn’t be found. We were able to review the HPE REST API documentation and resolve the issue by following the steps below.

  • The HPE ESXi must have been installed or updated with the VMware Custom HPE Software.
  • Enable SSH on the target HPE host.
  • Log into the host with the root account or equivalent.
  • Change the tools directory:
    • “cd /opt/tools”
  • Run the following command:
    • “./ilorest_esxcli”
  • You should get a “iLOrest >” status.
  • Reset the Administrator password by issuing the follow command:
    • “Iloaccounts changepass Administrator newpassword”
  • The successful execution will output the following:
    "
  • Test the new password by logging into the ILO console.
  • Ensure SSH is disabled on each ESXi host after each ILO account is reset.
Tim Husar

Tim Husar

Tim Husar is a Technical Architect at Gotham Technology Group. Tim has been designing, deploying, managing, and supporting solutions using best-of-breed virtualization and related technologies for over 15 years.