01-18-2018 09:12 AM - edited 01-18-2018 09:14 AM
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
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
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?
01-19-2018 04:49 PM
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: https://support.hp.com/in-en/document/c03754824 (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
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
02-19-2018 09:15 PM
> -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.
02-20-2018 11:34 AM
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
08-16-2019 01:19 PM
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.
10-02-2019 01:43 PM - edited 10-02-2019 02:26 PM
Ok, I finally figured out how to silent install the hp bios after a year. I just have to let it shrink the C: drive and make the E: drive, and then undo it after it's over. Plus, the password file gets deleted every time, so if I run it from a file share I have to make the password file again. This has been an uphill battle.
rem the fireware update bin is in the same directory
rem pass.bin gets deleted every time
rem the -h and -r options are not documented in HpFirmwareUpdRec.txt,
rem I got them from HpFirmwareUpdRec64.exe -?
start /wait HpFirmwareUpdRec64.exe -s -ppass.bin -h -r
copy /y HpFirmwareUpdRec64.log c:\users\admin
rem will reboot on my own
if %err%==3010 set err=0
exit /b %err%
rem after it's done, delete the E: drive
diskpart /s delete-e.txt
where delete-e.txt is:
11-22-2019 02:02 AM
How is your partition layout?
Only a C-drive? or also an additional partition for extra storage?
E.g. C-drive for Windows (and program files and the likes) and a D-drive for my documents, downloads and other files? (hence the E-Drive is the HP Tool partition?
I take it the HP Tool partition needs to stay in place if you want to be able to update the bios and/or setting in the future?