Showing results for 
Search instead for 
Did you mean: 
TheInfamousOne Honor Student
Honor Student
3 1 0 0
Message 1 of 5
Flag Post
HP Recommended

Updating BIOS Command Lines

Microsoft Windows 10 (64-bit)

Hello All.

We are trying to update our BIOS on our systems without user interaction.

I understand how to use the HpqPswd.exe and the HPBIOSUPDREC.exe.

I can stop and reboot from happening but when we reboot the machine I'd expect the BIOS to automatcially flash by using the proper command line.

Here is what the help file will list.

HPBIOSUPDREC.exe [-s] [-pPasswordFile] [-fROMBINFile] [-a] [-h] [-b] [-?]

-s: Slient mode
-p: Specify encrypted file

-f: Specify ROMBINfile

-a: (Silent Mode Only) Always Flash, ignore version comparison
-r: Do not reboot
-h: Create HPTOOLS partition if needed
-b: Suspend BitLocker if needed
-?: Help

The command I'm passing wtih the -a I would expect it to automatcially flash without pompting the user with options.

HPBIOSUPDREC.exe -s -p "TempPass.bin" -f "N86_0113.bin" -a -h -b

So what happens is after the reboot just after post or during POST, it will prompt the user these four options.


  • Update Bios
  • Rollback Bios
  • Postpone
  • Cancel

I don't want the users to be prompted, I just want it to flash the BIOS at this point.  That is what I thought the "-a" was for.  Is there a way to just flash the BIOS without giving the users options?

HP Support Agent
HP Support Agent
21,419 21,032 1,379 2,169
Message 2 of 5
Flag Post
HP Recommended

Updating BIOS Command Lines


Hi @TheInfamousOne,


Thanks for engaging in HP support Forums! This is a wonderful location to converse with the community, get assistance and find tips! I understand you need assistance with your HP Laptop. Don't worry I'll be glad to help you with this.


To provide you with an accurate solution, I'll need a few more details:

Could you provide me with the exact model of the PC? Use this link to find it:  (Ensure you do not share any of your personal information such as serial, phone number, email ID, etc...).

Have you tried to follow the steps from HP Article? HP Notebook PCs - Updating the BIOS

If you are havnig issues updating the Bios, then I would suggest here is to either rollback or do a Bios recovery


Click here for Instructions on Performing a Bios Recovery


Could you please respond to this post with the details of the product and with the results of the troubleshooting for further assistance!


Eagerly waiting for your response!

I hope you have a good day ahead,

And Feel free to ask your queries as this forum has some of the best people in the world available and ready to help.




I am an HP Employee

0 Kudos
11,617 11,017 575 1,631
Message 3 of 5
Flag Post
HP Recommended

Updating BIOS Command Lines

> -a: (Silent Mode Only) Always Flash, ignore version comparison


I would expect that using '-a' could cause an INCORRECT update to be flashed into the BIOS, by NOT PREVENTING a "wrong" BIOS-file to be used.


The wording seems to imply that '-s' will NOT show the "prompting" messages.  Maybe.



0 Kudos
romolus Honor Student
Honor Student
4 4 0 0
Message 4 of 5
Flag Post
HP Recommended

Updating BIOS Command Lines



please try the command line:


HPBIOSUPDREC.exe -s -pPassword-Path\password-file -fROM-Path\bin-file -r  -wmi


-s Silent mode. Runs without any user interaction or output.

-ppassword-file  Specifies encrypted password file created with the HpqPswd utility.

-fBIN-file Specifies the path to the .BIN image file

-r Requires -s. Do not reboot after flash

-wmi Force online flash, without using UEFI or HP Utility partition



This command line update the BIOS without any user interaction. It is tested within a MS SCCM task sequence and valid for BIOS Update Sofpaqs which are containing HPBIOSUPDREC.exe or HPBIOSUPDREC64.exe


Please be aware that the BIOS Update may run several minutes and may show a black screen for about a minute depending on the hardware platform

0 Kudos
jszabo Honor Student
Honor Student
2 2 0 0
Message 5 of 5
Flag Post
HP Recommended

Updating BIOS Command Lines

Hi, how can I update an HP bios silently, without the bios recovery partition?  The -wmi option does not work.  The only way seem to be interactively.  I have to enter the password, but then on reboot I have to enter the password a second time at the bios screen.  Then it works, but it makes a new drive in windows.


0 Kudos
† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation