MDT Bios update with password

Jdp 1 Reputation point
2021-09-16T14:13:45.817+00:00

Hi all,

I'm trying to make a sequence to update the bios for our HP laptops. I have the needed bios update files etc, but the bios is protected with a password.
Is there a way to use the password in de sequence? Can I add it in a command line or script?
In this topic the anwser is to use command line and HP procedures, but I can't find those.

Anyone who has experience with this?

Best regards.

Microsoft Deployment Toolkit
Microsoft Deployment Toolkit
A collection of Microsoft tools and documentation for automating desktop and server deployment. Previously known as Microsoft Solution Accelerator for Business Desktop Deployment (BDD).
825 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Philippe Levesque 5,681 Reputation points MVP
    2021-09-16T15:00:33.323+00:00

    Hi

    In your sequence, can you run the hp software that update with a command line ? It would be the way to do it.

    See there for a command line; HP BIOS Configuration Utility (BCU); https://ftp.ext.hp.com/pub/caps-softpaq/cmit/HP_BCU.html

    HPBiosUpdRec [-s] [-pPasswordFile] [-fROMBINFile] [-a] [-h] [-?]

    -s: Silent mode.
    -p: Specify encrypted password file created with the HpqPswd utility.
    -f: Specify ROM BIN file. Default is BIN file in same folder as exe.
    -a: (Silent mode only) Always flash, ignore version comparison.
    -h: Create HP_TOOLS partition if not present.
    -?: Display usage.
    -b: Suspend BitLocker if needed.
    -r: Prevent autoreboot after the BIOS update.

    And you need to run HPQPswd.exe to create the password file.

    HpqPswd.exe /s /p"password123" /f"password.bin"


  2. Jdp 1 Reputation point
    2021-09-27T18:15:12.67+00:00

    Can anyone help me out?

    I currently use:
    HpFirmwareUpdRec64.exe -s -pBPF.bin -r -b
    But the .bin file is not being read as a password file.

    This is the log:
    @{commandTitle=Setting BIOS password; stdout=<BIOSCONFIG Version="" Computername="Laptop" Date="2021/07/30" Time="12:58:58" UTC="2">
    <ERROR msg="Unable to process command. Password is set, but no password file is provided" />
    <ERROR msg="BCU return value" real="10" translated="10" />
    </BIOSCONFIG>
    ; stderr=; ExitCode=10}

    This is the bios configuration I'm running:
    BiosConfigUtility64.exe /cspwdfile:BPF.bin /nspwdfile:BPF.bin

    0 comments No comments

  3. Tic 1 Reputation point
    2022-01-09T11:55:29.643+00:00

    I contacted HP. They quoted me £475 for engineer to change motherboard despite laptop still on extended warranty.
    Until now bios updated automatically through HP assistant but from January 2022 ITS NO LONGER POSSIBLE.
    HP are thief's trying to force 5million HP owners with forgotten bios passwords to bin them and buy a new laptops.
    We need to boycott HP!!!
    They want destroy our planet.
    Find ways to complain. Their greed to make up for covid losses is unthinkable. Sell HP shares. Let it collapse.
    Their explanation is customer security...???
    By blocking forgotten bios password users from updating bios???
    Disgrace

    0 comments No comments