MSEndpointMgr / ConfigMgr

Microsoft Endpoint Configuration Manager scripts and tools
637 stars 281 forks source link

HP Bios Update not working #292

Open AsmusRohwer opened 3 years ago

AsmusRohwer commented 3 years ago

Hello,

i have a problem to update HP Bios.

The Log say: Current BIOS version determined as: S93 Ver. 01.01.05 Match found for computer model and manufacturer: BIOS Update - HP EliteBook x360 1040 G7 Notebook PC

and at the end: BIOS package list contains multiple matches, attempting to set task sequence variable BIOS is already up to date with the latest 01.03.02 version

But the version is 01.01.05

did anyone know how to fix it ?

Gor3t3x commented 3 years ago

Are you using Beta script?

I'm not able to make it work. I had to switch back to the legacy one.

AsmusRohwer commented 3 years ago

No, i not using Beta but this is my workaround:

i have add
$CurrentBIOSVersion = $($CurrentBIOSProperties.SMBIOSBIOSVERSION.Substring(9)) instad of $CurrentBIOSVersion = "$($CurrentBIOSProperties.SystemBiosMajorVersion).$($CurrentBIOSProperties.SystemBiosMinorVersion)" to the Invoke-CMDownloadBIOSPackage.ps1 line 304

this remove SXX Ver. from the SMBIOSBIOSVERSION

if you use Bios Major and Minor the bios version is 1.5 and not 1.1.5 and thie is of course newer than 1.03.02

This workaround should could be broken until HP change anything in the version number. Maybe someone has a better solution.

image