ProLiant Servers (ML,DL,SL)
1834088 Members
2713 Online
110063 Solutions
New Discussion

Changing BIOS Password with Set-HPEBIOSAdminPassword failing on G9 server

 
SOLVED
Go to solution
dangar
Occasional Advisor

Changing BIOS Password with Set-HPEBIOSAdminPassword failing on G9 server

Hello.  I've successfully updated dozens of BIOS passwords with the Set-HPEBIOSAdminPassword command, however I have one server that gives this error 

"Error @{Category=Usability; Message=The BIOS administrator password is set. The settings cannot be changed unless this password is supplied in Connect-HPEBIOS."

I can successfully connect to the BIOS with the Connect-HPEBIOS command:

$connection224 = Connect-HPEBIOS -Address $iloServer222 -Credential $ilocreds222 -BIOSAdminPassword $BIOSPW

The password change is successful.

# Change the password
Set-HPEBIOSAdminPassword -Connection $connection224 -OldAdminPassword $BIOSPW -NewAdminPassword $newBIOSPW

 

Why does this one server request to use the Connect-HPEBIOS, but others do not?

Thanks

Dan

3 REPLIES 3
shiva_jr
HPE Pro

Re: Changing BIOS Password with Set-HPEBIOSAdminPassword failing on G9 server

Hi dangar,
    Refer the procedure mentioned in this support site.
Regards,
Shiva_JR



I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
dangar
Occasional Advisor

Re: Changing BIOS Password with Set-HPEBIOSAdminPassword failing on G9 server

Are you saying that I need to perform this procedure in order for the Powershell module Set-HPEBIOSAdminPassword to work?  I'm trying to determine why most servers respond well to the Set-HPEBIOSAdminPassword command, but a few require the Connect-HPEBIOS command with the current password parameter. 

I changed my script to logon with Connect-HPEBIOS vs Connect-HPEiLO.   I think I answered my own question, but want to be sure it's correct.

ManBha
HPE Pro
Solution

Re: Changing BIOS Password with Set-HPEBIOSAdminPassword failing on G9 server

Hello,

Please refer doc: https://support.hpe.com/hpesc/public/docDisplay?docLocale=en_US&docId=a00020913en_us

 

Page 19: Establishing a connection to a Gen9 server
And then execute the command.

Thanks.

I work for HPE.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

Accept or Kudo