At a client site, they received newest HP models to be tested. Downloading drivers and BIOS updates were the usual. Looking at details about the BIOS update, we noticed that the HPBIOSUPDREC.exe that was used was no longer available. HP released a new version called HPFirmwareUpdRec to replace it. Even if the help stated the command line to be the same, it turned out it didn’t work at all. Unfortunately, it doesn’t seem HP documented the new tool and how to use it. we were able to figure it out by digging into HP forums…
In this post, we will show hot to update HP BIOS using the latest HPFirmwareUpdRec tool within a task sequence.
When downloading the bits from HP, looking at the BIOS files you need to see HPFirmwareUpdRec.exe.
If the file is not there, the update should be done using the old tool HPBIOSUPDREC.exe like before.
Update HP Bios with HPFirmwareUpdRec
- Looking at the help from the old and new tool points to the exact same command line or almost…
- If we look closely, the -F as changed from specifying the ROM Bin file, to specify the folder containing the firmware update files.
- After multiple testing, turns out that we can just skip the -F option and the tool will find the .BIN file within the source folder and use it.
- The command line should be : HpFirmwareUpdRec64.exe -s -pPWD.bin -r -b
- The -b option turned out to be necessary even if BitLocker was not enabled yet as part of the task sequence.
- So the Run Command Line set should look like this.
- the package used is pointing to the root of the folder where the tool and the .BIN file are located.
- Note that the previous password.bin file worked just fine.
- But that was not the end to surprises. On the new models, HP provides by default an HP_TOOLS partition of 2GB. Turns out that the HPFirmwareUpgRec is using that partition to update the BIOS.
- without this partition, the BIOS will NOT update at all
- Add to your partitioning task the following partition
- No need to assign a letter for that drive, but the name is important.
- Once this was added the update went well! Hurray!!
- Retrying the task sequence over the same computer brought up another error for the BIOS upgrade. Return Code was 282.
- Manually running the command line from within windows led me to better understand the error.
- Under the run path of HPFirmwareUpgRec, it will automatically create a log file with the same name.
- This log provided the details about the error code 282, which simply state Same Firmware version no need to update!
[alert type=”info” close=”false” heading=”Note”] This is the log file I used to figure out the previous steps.
Error codes I saw were :
3010 for pending restart
282 for Same firmware version
9191 for the unknown file, while trying to specify the .BIN file[/alert]
- So we would like to consider the 282 error code as a success code. On the Options tab the run command line, simply add 282 to the list of Success codes!
Voilà![ratings] [share title=”Share this Post” facebook=”true” twitter=”true” linkedin=”true” reddit=”true” ]
Contributor of System Center Dudes. Based in Montreal, Canada, Senior Microsoft SCCM consultant, working in the industry for more than 10 years. He developed a strong knowledge of SCCM and MDT to build automated OS deployment solution for clients, managed large and complexe environment, including Point of Sale (POS) related projects.