Interrogate BIOS from OS

By dg ·
Can anyone advise whether it is possible to interrogate the BIOS from within the operating system?
Is there a piece of software that can display in Windows, BIOS settings, such as whether ?Wake-up-on-PCI? is enabled?
Also, does anyone know if it is possible to make such a change from within the OS rather than by entering the BIOS at boot-up?

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Answers

Collapse -

You're going to have to get to grips with WMI

by neilb@uk In reply to Interrogate BIOS from OS

It will let you do most things if you can write a script to do it. As WMI is capable of trashing a system if you misuse it, you'll have to find this out for yourself as I've no idea what system you have.

Neil :)

Just so you can see what you can view, download a copy of WMI Object Browser from Microsoft (Google for it).

Collapse -


by dg In reply to You're going to have to g ...

Thanks for your help - really apprecaite it

Collapse -

You can do it using VBScript. Download VBSEdit as it has tons of samples

by ManiacMan In reply to Interrogate BIOS from OS

and useful scripts built right into the editor than you can easily use by modifying a few simple parameters. I use it a lot myself and I truly don't know much about VBScript or WMI, but the canned scripts in VBSEdit will take care of that for you. I believe it has a sample script to query BIOS via WMI classes.

Here's the script provided by VBSEdit:

strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")

Set colBIOS = objWMIService.ExecQuery _
("Select * from Win32_BIOS")

For each objBIOS in colBIOS
Wscript.Echo "Build Number: " & objBIOS.BuildNumber
Wscript.Echo "Current Language: " & objBIOS.CurrentLanguage
Wscript.Echo "Installable Languages: " & objBIOS.InstallableLanguages
Wscript.Echo "Manufacturer: " & objBIOS.Manufacturer
Wscript.Echo "Name: " & objBIOS.Name
Wscript.Echo "Primary BIOS: " & objBIOS.PrimaryBIOS
Wscript.Echo "Release Date: " & objBIOS.ReleaseDate
Wscript.Echo "Serial Number: " & objBIOS.SerialNumber
Wscript.Echo "SMBIOS Version: " & objBIOS.SMBIOSBIOSVersion
Wscript.Echo "SMBIOS Major Version: " & objBIOS.SMBIOSMajorVersion
Wscript.Echo "SMBIOS Minor Version: " & objBIOS.SMBIOSMinorVersion
Wscript.Echo "SMBIOS Present: " & objBIOS.SMBIOSPresent
Wscript.Echo "Status: " & objBIOS.Status
Wscript.Echo "Version: " & objBIOS.Version
For i = 0 to Ubound(objBIOS.BiosCharacteristics)
Wscript.Echo "BIOS Characteristics: " & _

If you're running this against a computer other than your local machine, replace the dot within the double quotes in strComputer with the Netbios name of the remote machine and run the script.

Collapse -


by dg In reply to You can do it using VBScr ...

Appreciate your help. many thanks

Related Discussions

Related Forums