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
May 19, 2012 at 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.
November 7, 2013 at 7:38 pm
My English, unfortunately, is not very efficient so there are things that I did not understand well. For me too, ends with error 10, but I did not understand what should I do. You can explain it to me clearly? Thanks in advance
November 8, 2013 at 11:39 pm
Show your code which gives you error code 10
November 14, 2013 at 4:49 pm
I followed this guide first: http://www.ajagwe.com/how-to-set-or-reset-bios-administrator-password-in-hp-notebook/ , so I used this command: biosconfigutility.exe /newsetuppassword:”password”
Thank you for everything
November 18, 2013 at 5:51 pm
Help me please
February 21, 2014 at 9:11 am
error: 10
Valid password not provided. BCU was unable to find a valid password on the command line in
the following cases:
● When attempting to change the password, the correct
password was not provided.
● When attempting to change the password, the new password
did not satisfy password requirements for the platform.
● When attempting to change setting values, the correct
password was not provided.
March 17, 2015 at 9:23 am
Newer versions of BCU don’t allow setting the password in plain text on the command line, you need to encode it into a binary file using another HP tool.
March 17, 2015 at 12:49 pm
Thanks for the update, appreciate it.
May 26, 2015 at 7:57 am
I can tell you an even worse issue… ever since HP changed BCU, it now has issues with decrypting the password “.bin” file if the profile of the user on the computer is a roaming vs mandatory profile.