Clear the BIOS Power-On password


Clear-HPBIOSPowerOnPassword [[-Password] <String>] [[-ComputerName] <Object>] [<CommonParameters>]

Clear-HPBIOSPowerOnPassword [[-Password] <String>] [-CimSession] <CimSession> [<CommonParameters>]


This function clears any active power-on password.


Name Argument Description
Password <String> The existing setup (not power-on) password. Use Get-HPBIOSSetupPasswordIsSet to determine if a password is currently set. See important note regarding the BIOS Setup Password prerequisite below.
ComputerName <Object> Execute the command on specified target computer. If not specified, the command is executed on the local computer.
CimSession <CimSession> A pre-established CIM Session (as created by New-CIMSession cmdlet). Use this to pass a preconfigured session object to optimize remote connections or specify the connection protocol (Wsman or DCOM). If not specified, the function will create its own one-time use CIM Session object, and default to DCOM protocol.


  • Requires HP BIOS.
  • Use single quotes around the password to prevent PowerShell from interpreting special characters in the string.
  • On many platform families, changing the Power-On password requires that a BIOS password is active.
  • If BIOS Setup Password is not set, it's required to be first set in order to clear the Power-On password.


PS C:\> Clear-HPBIOSPowerOnPassword -Password 's3cr3t'

See also