How to reset iLO 5 password from ESXi 8 shell

Hi,
Today, I need to reset a forgotten iLO password, but Iā€™m unable to reset my ESXi host.

If you installed ESXi using the HPE customized ESXi image, you can utilize the hponcfg application, which comes pre-installed on the ESXi host.

  1. Establish an SSH connection to your ESXi host.

  2. Navigate to the following directory:

				
					cd   /opt/tools
or
cd  /opt/hp/tools
				
			
3. Create an XML file using a text editor (I used the vi editor). This XML file will contain the necessary commands to reset the iLO password.
				
					vi resetpassword.xml

				
			

4. You need to copy and paste the information below into the XML file, then 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>
				
			

5. Run the following command to reset the iLO password:

				
					./hponcfg -f ./resetpassword.xml

				
			

6. You should see a successful message confirming the iLO reset.

Finish šŸ™‚

Facebook
Twitter
LinkedIn