Remote Lights-Out Mgmt (iLO 2, iLO, RILOE II) Forum
Showing results for 
Search instead for 
Do you mean 

iLO XML script syntax in Windows

SOLVED
Go to Solution
Valued Contributor

iLO XML script syntax in Windows

I'm running an unmodified version of reset administrator password XML file and it gets a syntax error and I don't know why. The factory script is attached and the error output is below. I'm using the hponcfg.exe util from May and logged in as a local administrator on the server. The command line I'm using is "hponcfg /f administrator_reset_pw.xml /l log.txt"





STATUS="0x0000"
MESSAGE='No error'
/>
Scripting utility should be updated to the latest version.




STATUS="0x0001"
MESSAGE='Syntax error: Line #18: syntax error near """" in the line: ""'
/>



Any ideas?

3 REPLIES
Trusted Contributor

Re: iLO XML script syntax in Windows

Add a username and password in line 2 of the script. Looks like it does not like it to be blank ("") for the username and password. Make sure your iLO driver is installed.
Honored Contributor

Re: iLO XML script syntax in Windows

Follow BWC's suggestion. The resulting script would look like:









Valued Contributor

Re: iLO XML script syntax in Windows

Thanks! That was it. Since the comments said it ignored the username and password, I didn't think to just put in garbage to trick it.
//Add this to "OnDomLoad" event