Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
For use with HP machines for deploying updated UEFI firmware.
PUSHD %~dp0
SET _upd=HPBIOSUPDREC.exe
SET bios=%1
IF /I "%PROCESSOR_ARCHITECTURE%" EQU "AMD64" (
SET _upd=HPBIOSUPDREC64.exe
)
"%_upd%" -pBIOSPW.bin -f%bios% -s -r
POPD
IF %ERRORLEVEL% NEQ 282 (
IF %ERRORLEVEL% NEQ 273 (
EXIT /B 3010
)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment