Solved

How to read BIO information programmatically

Posted on 2008-10-20
3
972 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
  • 2
3 Comments
 
LVL 3

Assisted Solution

by:leonjs
leonjs earned 500 total points
Comment Utility
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
Comment Utility
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
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
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 concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

762 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

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now