Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

How to read BIO information programmatically

Posted on 2008-10-20
3
Medium Priority
?
1,058 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 1500 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 1500 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

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

Article by: SunnyDark
This article's goal is to present you with an easy to use XML wrapper for C++ and also present some interesting techniques that you might use with MS C++. The reason I built this class is to ease the pain of using XML files with C++, since there is…
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…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

688 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