HP has a utility that is similar to the Dell’s Command | Configure utility (see How to create a Dell Command-Configure Package in ConfigMgr) called the HP BIOS Configuration Utility that allows for reading and setting BIOS/UEFI values on HP systems. The latest release (version 220.127.116.11 at the time of this blog post) can be found on the HP Client Management Solutions page in the Download Library. The HP BIOS Configuration Utility can be used to enable and standardize BIOS/UEFI settings automatically across the enterprise, yielding a consistent, standard environment. Now that Windows 10 is here, organizations are going to want to configure UEFI as the default so that they can leverage features like Secure Boot, Device Guard and Credential Guard.
The HP BIOS Configuration Utility is only command line (in other words, there is not a GUI component like Dell’s Command | Configure utility). However, the HP BIOS Configuration Utility can output an answer file that can then be used to apply to other systems. For this post, I am going to show you how to create a basic ConfigMgr Package that can be used as part of an OSD Task Sequence
The first thing you need to do is download it from the HP Client Management Solutions page (or search on HP BIOS Configuration Utility) and install it on a HP system.
Next, create a directory on your ConfigMgr Package repository share where you store the source files for your ConfigMgr Packages (for example \\ContentSource\Packages\HP\BIOS Configuration Utility-WinPE\18.104.22.168).
Locate the install directory and copy the contents of the installation directory (minus the link to the User’s Guide) to the Package share. On a x64 system, the default install location is C:\Program Files (x86)\Hewlett-Packard\BIOS Configuration Utility.
Create a file in the root of the Package directory called BCU.cmd. Use the following for the contents of the file:
@ECHO OFF set cmdline=%* ECHO == Seting BIOS Settings == REM Determine Arch IF "%PROCESSOR_ARCHITECTURE%" == "AMD64" GOTO :X64 GOTO X86 :X64 SET BCU="BiosConfigUtility64.exe" GOTO RunBCU :X86 SET BCU="BiosConfigUtility.exe" GOTO RunBCU :RunBCU ECHO --Running command %BCU% %CMDLINE% %BCU% %CMDLINE% EXIT /B %errorlevel%
This file handles the logic to run the correct exe based on the currently detected platform. The final Package source directory should look like the following:
Create a Package in ConfigMgr like you normally would and distribute it to the Distribution Points. A Program is not required, so that can be skipped.
In a future post, I will show how this can be used in an OSD Task Sequence.
Originally posted on http://miketerrill.net