HP BIOSConfigUtility Command Line in a Task Sequence

First, let me start by saying there is already a good blog post which outlines how to use HP’s BIOSConfigUtility in an MDT task sequence (which can be easily translated into an SCCM task sequence).

I recently implemented this tool for a client to enable the TPM feature in BIOS in preparation for BitLocker.  The utility was being run from a task sequence with command line such as:

cmd.exe /c c:\temp\BIOSConfigUtility.exe /SetConfig:TPMEnable.REPSET /NewAdminPassword:"P@55word!"

In my testing, the BIOS password was being set properly, but the TPM enable would not get enabled.  BIOSConfigUtility.exe would terminate with error code 10, which essentially meant it was trying to enable TPM but the provided password is incorrect.  What I found to fix the problem was to instead specify the full path to TPMEnable.REPSET file.  So instead, the switch would instead be:

/SetConfig:c:\temp\TPMEnable.REPSET
About these ads

, ,

  1. #1 by Rukicc on May 19, 2012 - 11:50 am

    I bios config set with BAT file whitch contains:
    BiosConfigUtility.EXE /nspwd:BIOS_password
    BiosConfigUtility.EXE /setConfig:Bioss_settings_file.txt /cspwd:BIOS_password

    Some hints –
    1.If bios is without password you can`t change settings.
    2.Some manufaturers bioses skip some characters in passwords – check manually, Lenovo skips “_”
    3.Bios config I manually create and after than get with command BiosConfigUtility.EXE /getConfig:Bioss_settings_file.txt /cspwd:BIOS_password – then use this file in task sequence.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 59 other followers

%d bloggers like this: