MSEndpointMgr / ConfigMgr

Microsoft Endpoint Configuration Manager scripts and tools
628 stars 282 forks source link

Invoke-HPBIOSUpdate.ps1 not flashing BIOS via TS on HP Z4 G4 #357

Open Ickis99 opened 1 year ago

Ickis99 commented 1 year ago

I have a Task Sequence that i use to upgrade the BIOS on about 20 different HP and Dell Models. For some reason i only experienced problems with the Update for the HP Z4 G4 Workstations. The effect here is that the invoke-hpbiosupdate.log doesn´t show any errors at all. The last entry shows the uses command like with all the other models:

"Running Flash Update: C:_SMSTaskSequence\BIOSPackage\PS100DD5\HPBIOSUPDREC64.exe C:_SMSTaskSequence\BIOSPackage\PS100DD5\HPBIOSUPDREC\HPBIOSUPDREC64.exe -s -r -pC:_SMSTaskSequence\Packages\PS100DCD\Password.bin"

Other models show the 3010 error for needed restart and flash as expected at reboot.

During tests i discovered, that for some reason it works correctly if i execute the command with my own user over command line. But as soon as it is executed via TS, no update happens. So far i tried changing the hpbiosupdrec64.exe with newer versions that worked with other models, i tried to execute the TS Step itself with an administrative account and i recreated the BIOS Package but it never works over TS, only manually.

Thank you