Server Management - Remote Server Management
1752374 Members
6282 Online
108787 Solutions
New Discussion юеВ

iLO XML script syntax in Windows

 
Go to solution
Derek_31
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 3
barnett chan
Trusted Contributor
Solution

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.
acartes
Honored Contributor

Re: iLO XML script syntax in Windows

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









Derek_31
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.