Reset HP iLO2 password

10 Feb

http://winserver.wordpress.com/2008/12/23/reset-hp-ilo2-password/

I have 2 HP DL servers where I’ve lost its password. This is really troublesome when supporting the serve remotely. I’ve asked a few colleagues of mine, they replied to perform reinstallation for the iLO2. OHH MAN… that’s is along process…..

Last week, I found something that finally solves my problem, to change the password or add a user into iLO2, using Remote Insight Board Command Language.

here’s the solution:

log in your server using administrator account (I’m using a Domain Admin).

My server already got installed the following:

– install SNMP, prerequisite for HP Insight Management Agents

–  install HP Insight Management Agents.

– download and extract HP Lights-Out Online configuration Utility to C:\hp\ilo

– downloaded HP Lights-Out XML Scripting Sample for Windows.

the xml script we are going to use (can be found in the downloaded XML Scripting Sample) is “Administrator_reset_pw.xml”

<ribcl VERSION=”2.0″>
<login USER_LOGIN=”Administrator” PASSWORD=”boguspassword”>
<user_INFO MODE=”write”>
<mod_USER USER_LOGIN=”Administrator”>
<password value=”newpass”/>
</mod_USER>
</user_INFO>
</login>
</ribcl>

open it using notepad, and modify <mod_USER USER_LOGIN=”Administrator”> where “Administrator” is your account’s username,                              <password value=”newpass”/> where “newpass” is your desired password.

Next, using cmd, browse to C:\hp\ilo, run command as below:

HPONCFG.exe /f Administrator_reset_pw.xml /l log.txt > output.txt

See the result at log.txt and output.txt. In my case, I’m succeed!!