1
I have a Hp Pavilion g6 laptop running Windows 10 Pro and I would like to list all (or as much) bios setting as I can from within windows without actually going into the bios for debugging purposes. I searched online and I was able to find this PowerShell line
Get-WmiObject -Namespace root/hp/instrumentedBIOS -Class hp_biosEnumeration |Format-Table Name,Value -AutoSize
but it gives me this error
Get-WmiObject : Invalid namespace "root/hp/instrumentedBIOS"
At line:1 char:1
+ Get-WmiObject -Namespace root/hp/instrumentedBIOS -Class hp_biosEnume ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [Get-WmiObject], ManagementException
+ FullyQualifiedErrorId : GetWMIManagementException,Microsoft.PowerShell.Commands.GetWmiObjectCommand
and i don't know where to go from here
gwmi -class hp_biossettinginterface -Namespace "root\hp\instrumentedbios" , can you please try this?, found this is a forum for a G3, unfortunately I don't own any HP hardware to try. – CraftyB – 2019-01-26T12:16:56.503
After looking further for the model G6 I have found the following article https://community.spiceworks.com/topic/2156656-wmi-namespace-error-when-running-hp-bios-utility with a response from HP stating "BCU is a command-line utility for controlling various BIOS settings on a supported HP notebook, desktop, or workstation system. It requires a BIOS that supports HP WMI Namespace within the BIOS.", Whilst your not trying to use the BCU application if the wmi namespace is unavailable due to not being supported you will not be able to read from it via any other software (powershell etc).
– CraftyB – 2019-01-26T12:27:46.573yeah i have figured that sadly. maybe there is a 3rd to what i need. I just need to read the setting and nothing else – user22341 – 2019-01-26T12:32:54.733
According to the HP CMI whitepaper, there may be a compatibility software layer that provides these WMI namespaces on otherwise unsupported systems: “The HP CMI Software Provider, available as a SoftPaq downloadable from HP.com, extends many of the capabilities of the HP Client Management Interface for legacy HP business computers.” – Daniel B – 2019-01-26T12:53:00.597