How to reset iLO 5 password from ESXi 7 shell

Hi, Today I need to reset forgotten ilo password, and I can’t reset my ESXi host.

If you install ESXi from HPE customized ESXi image, you can use hponcfg application, that exists on ESXi.

First SSH to your ESXi, Then go to this address:

cd /opt/tools
or
cd /opt/hp/tools

Then we need to create an XML file. I used vi tools.

vi resetpassword.xml

You must copy and paste this below information and save and exit.

<RIBCL VERSION="2.0">
<LOGIN USER_LOGIN="Administrator" PASSWORD="yourpassword">
<USER_INFO MODE="write">
<MOD_USER USER_LOGIN="Administrator">
<PASSWORD value="yourpassword"/>
</MOD_USER>
</USER_INFO>
</LOGIN>
</RIBCL>

Then run this command:

./hponcfg -f ./resetpassword.xml

You see a successful message.

Finish 🙂

Leave a Reply

Your email address will not be published.

*

code