Solved

How to read BIO information programmatically

Posted on 2008-10-20
3
987 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

With most software applications trying to cater to multiple user needs nowadays, the focus is to make them as configurable as possible. For e.g., when creating Silverlight applications which will connect to WCF services, the service end point usuall…
For a while now I'v been searching for a circular progress control, much like the one you get when first starting your Silverlight application. I found a couple that were written in WPF and there were a few written in Silverlight, but all appeared o…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

895 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

18 Experts available now in Live!

Get 1:1 Help Now