<

Reset HP servers ILO password remotely WITHOUT rebooting the server (Windows 2003 / 2008)

Published on
77,065 Points
72,765 Views
3 Endorsements
Last Modified:
The HP utility "HP Lights-Out Online Configuration Utility for Windows Server 2003/2008" could be of great use when it comes to remotely configure a HP servers ILO WITHOUT rebooting the server.
We would only need to create and run scripts using this utility to meet the purpose. Scripts could be used to set / reset things like Password, IP, Subnet Mask, etc.
To demonstrate an example, lets try to reset a servers ILO password using this utility.

Please bear in mind, the utility would first need to be installed on the server and you need to be able to connect to the server either by RDP/VNC/etc. for this to work.

This utility comes handy with the servers Proliant Support Pack (PSP) however you could also get it from
HPONCFG

Script:
Create a file named "resetilopwd.xml" on the server and open it with notepad. Paste and customize the following code and save it in the directory where the utility is installed:
 
<RIBCL VERSION="2.0">
<LOGIN USER_LOGIN=Administrator PASSWORD=ANYTHING>
<USER_INFO MODE=write>
<MOD_USER USER_LOGIN=Administrator>
<PASSWORD value=newpassword/>
</MOD_USER>
</USER_INFO>
</LOGIN>
</RIBCL>

Open in new window


The field where we have the text 'ANYTHING' could not be left blank as the utility needs the 'PASSWORD' parameter to run. Hence, even if you do not know the existing password, just put anything in it as the password here does not need to be correct.
Replace 'newpassword' with whatever you want the new password to be.

Script Execution:
Log onto the server via RDP/VNC/etc. Open command prompt and change the directory location to where you have the utility installed.
By default, it is installed at "C:\Program Files\HP\hponcfg"

Execute the following command and you should then be good to go!

hponcfg.exe /f resetilopwd.xml

If the script executes successfully, the command prompt will acknowledge with a success line. I have tried this on HP's various Blades and Rack Mounted servers and it has worked like a charm.

Like I said earlier, this utility could be used to change various ILO configurations, it would only be the script that would differ to meet the purpose.

Refer "HP Integrated Lights Out Scripting and Command Line" document which is attached to this article for more information. This will help you to create scripts for different purpose.

#wyn

HP-Integrated-Lights-Out-Scripti.pdf
3
Author:ashwynr
Ask questions about what you read
If you have a question about something within an article, you can receive help directly from the article author. Experts Exchange article authors are available to answer questions and further the discussion.
Get 7 days free