Solved

How to read BIO information programmatically

Posted on 2008-10-20
3
1,035 Views
Last Modified: 2013-12-04
I need to access some of the BIOS settings during our software install. The kind of information I need to access includes:

a) Whether USB 2.0 is enabled or not
b) Whether Parallel ATA is enabled or not

Is there a way to programmatically access this kind of information from BIOS memory. I need to write this in C++ or C on Windows XP.

Thanks.
0
Comment
Question by:swsbuyer
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 3

Assisted Solution

by:leonjs
leonjs earned 500 total points
ID: 22763806
I am pretty sure you can pull all that information from a WMI script.

Check out this link

http://msdn.microsoft.com/en-us/library/aa394077.aspx

0
 
LVL 3

Accepted Solution

by:
leonjs earned 500 total points
ID: 22763832
Here is a second link referencing ways to pull that information using C++ and WMI

http://msdn.microsoft.com/en-us/library/aa394558(VS.85).aspx
Might not be exactly what your looking for but hopefully provide you with a lead.
good luck
0
 

Author Comment

by:swsbuyer
ID: 22813742
Not all settings in BIOS can be read using the BIOS structure in Windows. However, the BIOS information maps to something or other in WMI classes. A list of classes in WMI can be found here:

http://www.it-visions.de/scripting/WMIReferenz.asp?C_Klassentypen=4&C_Suchwort=ata&C_SubmitSearch=Search

An excellent way to extract the WMI information is by using the "wmic" utility:

wmic path <WMI class name>
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question