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.
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
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â