

Specify this if you want to run the script from Windows (it will set log path to script directory)īecause it is the most reliable way to manage exit codes from PowerShell that never(?) fails. Specify this if you are converting legacy to UEFI(seperate step), the script will look for. Specify this if you are not using BIOS-password Specify this if you want to set BIOS-password on script execution (optional) If you want to convert legacy to UEFI, repeat step 5 and 7 but use "Set-HpLegacyToUefi.bat" and add the run command line step to your convert to UEFI-group.Įxit codes that are considered as success, see "BIOS Configuration Utility User's Guide" for more information.Command line: cmd /C Set-HpBiosConfiguration.bat.Just below "Online USMT" add new "Run Command Line"-step(you can add an manufacturer group if you want too)."powershell.exe -WindowStyle Hidden -ExecutionPolicy ByPass -file "%~DP0Set-HpBiosConfiguration.ps1" -BiosPasswordFileName BiosPassword.bin -SetBiosPassword" Edit first line of "Set-HpBiosConfiguration.bat" with parameters you want to use.BiosFiles\EliteBook 840 G5\EFI_BiosConfig.REPSET. If you want to configure legacy to UEFI make sure that this config file is tagged with EFI in name, eg.Make sure that your regular config.REPSET does not contain EFI in name, eg.

BiosFiles\EliteBook 840 G5\BiosConfig.REPSET. REPSET(mandatory file type)-files to BiosFiles\Computer Model, eg. Move password file to Tools\BiosPassword.(optional) Generate HP-password using "HPQPswd.exe".Unpack BCU-files to Tools\ConfigurationUtility.Download "HP BIOS Configuration Utility (BCU)".The script is created to ease managment of HP-BIOS configuration during SCCM-OSD.Īll that script requires is a computer model folder that contains configuration. Script to configure HP-BIOS in SCCM-task sequence environment.
