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”
<login USER_LOGIN=”Administrator” PASSWORD=”boguspassword”>
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!!
So how about adding a user? same, find “add user.xml”, modify the appropriate value and you are good to go!
Actually HPONCFG.EXE can do more things that these. I downloaded a copy of pdf version iLO scripting and command line guide. Enjoy!