Tell if a Computer has a BIOS Password

Not interested in knowing WHAT the BIOS password is, just need an Analyses to tell me if a computer has a BIOS password enabled or not. Appreciate any help.

Thanks.

I don’t believe there is any Generic way to Determine this. Some manufacutres, e.g dell have tool that can query the Bios from within Windows Etc.

There is no way to do this without knowing the specific model of BIOS and being able to directly communicate with it, this is not part of the standard driver. It is possible , it’s just different for each model

1 Like

It is definately vendor specific as to whether they include any wmi options or ways to query the information, i know Lenovo has a tool that will query the bios settings and you can write the values to file to query later but that is an HTA (old school) and also queries wmi so you might as well query wmi direction if it’s available.

This is an example for Lenovo but you can execute in debugger to get an idea of what wmi objects are available.

selects “* from Lenovo_BiosSetting” of wmi “\root\wmi”

HP also had one quite a while back but we haven’t had HP’s in quite a few years so I can’t confirm that this is still available on them.

(select “* from HPBIOS_BIOSEnumeration” of wmi “\root\HP\InstrumentedBIOS”)

Once you identify the correct setting that you would like to query you can use a WHERE statement to isolate the setting that your looking for.

if(exists (select “CurrentSetting from Lenovo_BiosSetting WHERE CurrentSetting LIKE ‘NetworkBoot%25’” of wmi “\root\wmi”)) THEN (select “CurrentSetting from Lenovo_BiosSetting WHERE CurrentSetting LIKE ‘NetworkBoot%25’” of wmi “\root\wmi”) as string ELSE “N/A”