cli · hp · vmware

Reset HP iLO password online from VMware ESX


I was having a problem with a server that I wanted to reset the HP iLO password but it was forbidden for me to restart the ESXi server in order to proceed.

In my previous experience as an HP employee, I noticed that inside the HP customized images for ESX there are some binary applications that can help you do some very low level operations without restarting the server, like hpbootcfg_esxcli, hptestevent and the tool that we will use hponcfg. These applications are in the /opt/hp/tools directory.

First of all check if the file exist:

[aksouzafeiris@esxi18-hostname ~]# ls -lsa /opt/hp/tools/hpon*
total 1
1 -r-xr-xr-x 1 root root 232716 Jan 10 2015 hponcfg

Now, that we have see that the file exists we need to create an XML file where we will give the new password in order to reset the existing one.

[aksouzafeiris@esxi18-hostname ~]# vi passwdreset.xml

and copy paste this inside the xml file:

<LOGIN USER_LOGIN=”Administrator” PASSWORD=”unknown”>
<USER_INFO MODE=”write”>
<MOD_USER USER_LOGIN=”Administrator”>
<PASSWORD value=”password”/>

Save and Exit (:wq+ENTER)

Now you can run the reset iLO Online config utility with the xml file:

[aksouzafeiris@esxi18-hostname ~]# /opt/hp/tools/hponcfg -f passwdreset.xml

Now, you can login with “Administrator” and “P@ssw0rd”


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s