OSD icon indicating copy to clipboard operation
OSD copied to clipboard

HP BIOS Update - Error (no BIOS available)

Open dany20mh opened this issue 9 months ago • 4 comments

For some reason, there is no BIOS update available for HP Firefly G11A currently. When we use the variable true for HPBIOSUpdate, it uses HPCMSL and crashes the progress at the end as it throws an error message that it couldn't find any BIOS update.

I can replicate the error by checking for BIOS updates.

PS C:\> Get-HPBIOSUpdates -Verbose
VERBOSE: Perform operation 'Enumerate CimInstances' with following parameters, ''namespaceName' =
root\cimv2,'className' = Win32_BaseBoard'.                                                                              
VERBOSE: Operation 'Enumerate CimInstances' complete.                                                                   
VERBOSE: Using platform ID 8C6F                                                                                         
VERBOSE: Retrieving catalog file https://ftp.hp.com/pub/pcbios/8C6F/8C6F.xml                                           
VERBOSE: GET with 0-byte payload
VERBOSE: received 70-byte response of content type application/xml
There are currently no BIOS updates available for your platform.
At C:\Program Files\WindowsPowerShell\Modules\HP.ClientManagement\1.8.1\HP.ClientManagement.psm1:1725 char:5
+     throw [System.FormatException]"There are currently no BIOS update ...
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationStopped: (:) [], FormatException
    + FullyQualifiedErrorId : There are currently no BIOS updates available for your platform.

dany20mh avatar Mar 13 '25 17:03 dany20mh

I'd recommend contacting HP.
For now, just disable the option to update the BIOS on HP

gwblok avatar Mar 17 '25 13:03 gwblok

@gwblok Oh I did, the reason I opened this issue is to see if there is a possibility for you and the team to put checks on the script as to when HPCMSL returns an invalid return, it doesn't crash the whole script

dany20mh avatar Mar 17 '25 14:03 dany20mh

It's a fair request, and that was my first thought.

Ill probably do that in time for v2, but no plans to retrofit this code.

My availability has dropped dramatically recently, so I don't commit to anything.

That said, sometimes I just want to escape from my current tasks, and this might get done. I just can't commit.

gwblok avatar Mar 17 '25 16:03 gwblok

@gwblok, that is totally understandable, and I appreciate your time and work as always.

dany20mh avatar Mar 17 '25 16:03 dany20mh