Answered by:
Configure BIOS VB.Net

Question
-
I have a need to configure a BIOS password programmatically. I have been using the CCTK on Dell machines but, we are targeting new NEC WEPOS machines and there doesn't seem to be a toolkit to do this. I can write C++ or VB so, whatever it takes. I have looked at ROOT.COMV2.Win32_Bios but it returns nothing useful. This is very important as, it relates to PCI compliance. Any thoughts?
Steve
- Moved by Karel ZikmundMicrosoft employee Sunday, March 18, 2012 7:18 AM Wrong forum (From:Building Development and Diagnostic Tools for .Net)
Thursday, March 15, 2012 7:48 PM
Answers
-
I was able to convince the folks at NEC for the need to have such an app for PCI compliance on our POS app.
We are testing the tool currently and if you'd like, i'll provide what I find out.
Steve
- Proposed as answer by Ed Price - MSFTMicrosoft employee Saturday, July 21, 2012 1:41 AM
- Marked as answer by Steve Frase Saturday, July 21, 2012 2:10 AM
Sunday, June 24, 2012 5:44 PM
All replies
-
Hi Steve,
This is not right forum for your question.
check below link may be you can start from below link
http://www.syntax-example.com/Code/show-system-configuration-biosequip-631.aspx
Regards
Alisha
Friday, March 16, 2012 5:54 PM -
You did not mention the 'correct' forum. I looked at the example and it calls for 'bios.h' which does not exist on my machine.
Steve
Also, this only works on a "DOS" based OS which doesn't apply.
Thanks, though. Still looking
- Edited by Steve Frase Friday, March 16, 2012 6:17 PM
Friday, March 16, 2012 6:10 PM -
Hi
Bios.h is exist in C, not VC, because it is can only be called in DOS envirionment.
Have a nice day.
Ghost,
Call me ghost for short, Thanks
To get the better anwser, it should be a better question.Saturday, March 17, 2012 3:50 AM -
Doing a complete search of my computer, i found no file named Bios.h. Searching the Internet for it, reveals that it is irrelevant on machines that do not have DOS as the OS and, is not offered on Win32/64 machines.
Surely I am not the first developer that needed to do this. In the early days, I read a book on BIOS programming (early 90s) that was pretty complex using Assembler Language but, it was do-able. Has this area remained completely in the hands of a few companies? I find it hard to believe that Microsoft would blindly sit on top of any hardware or software without 100% knowledge and access to its inner workings.
Still looking.
Steve
Saturday, March 17, 2012 11:30 PM -
Remember Windows API is for automating an existing Windows feature, and Windows does not have a feature to let you to change the bios password. Microsoft does not have any knowledge about what it does not need, because if it asks then there must be a reason.
You need to contact the author of the driver for the motherboard. What you are asking is implementation detail, and is very likely to be different between hardware producers.
The following is signature, not part of post
Please mark the post answered your question as the answer, and mark other helpful posts as helpful, so they will appear differently to other users who are visiting your thread for the same problem.
Visual C++ MVPSunday, March 18, 2012 3:56 PM -
So, if I understand you, Microsoft has "no way" to touch the BIOS memory - documented or otherwise? Using "Debug" at the console gains access to this area. Also, I assume there is a way to use AL to get to it. Why is this being shyed away from? Someone out there in MS Forum land knows how to do this. I have reached out to the BIOS manufacturer but, I'm not holding my breath.
Steve
Sunday, March 18, 2012 4:10 PM -
You understood wrong. Microsoft has access to BIOS, but only up to what it need. There is no need for Microsoft to ask BIOS manufacturers to have an IO code to change password, so Microsoft does not have a feature that you can ask API for.
And since Microsoft does not have such a requirement, it is unlikely BIOS manufacturers can justify the cost to design such an IO code in the hardware that does not bring in revenue, let alone spending time to standardize the IO code's value.
The following is signature, not part of post
Please mark the post answered your question as the answer, and mark other helpful posts as helpful, so they will appear differently to other users who are visiting your thread for the same problem.
Visual C++ MVP- Edited by Sheng Jiang 蒋晟 Sunday, March 18, 2012 7:57 PM
- Proposed as answer by Ed Price - MSFTMicrosoft employee Tuesday, March 27, 2012 2:23 AM
- Unproposed as answer by Ed Price - MSFTMicrosoft employee Monday, April 9, 2012 5:01 AM
Sunday, March 18, 2012 7:56 PM -
I'm not sure whether to mark your comment as the 'answer' or not. While it is an answer, it does not solve my problem. But, I do appreciate your feedback.
Steve
Monday, March 19, 2012 1:03 PM -
Did you find the right forum?
VS category list: http://social.msdn.microsoft.com/Forums/en-US/category/visualstudio
Visual C++: http://social.msdn.microsoft.com/Forums/en-US/vcgeneral/threads
Maybe drill down to a specific technology?
Ed Price (a.k.a User Ed), SQL Server Experience Program Manager (Blog, Twitter, Wiki)
- Proposed as answer by Ed Price - MSFTMicrosoft employee Monday, April 9, 2012 5:04 AM
- Marked as answer by Ed Price - MSFTMicrosoft employee Monday, April 16, 2012 8:11 AM
- Unmarked as answer by Steve Frase Saturday, July 21, 2012 2:09 AM
- Unproposed as answer by Ed Price - MSFTMicrosoft employee Saturday, July 21, 2012 2:17 AM
Monday, April 9, 2012 5:04 AM -
did you ever find a universal way to modify the bios on non dell/hp machines?Wednesday, April 25, 2012 4:36 PM
-
I was able to convince the folks at NEC for the need to have such an app for PCI compliance on our POS app.
We are testing the tool currently and if you'd like, i'll provide what I find out.
Steve
- Proposed as answer by Ed Price - MSFTMicrosoft employee Saturday, July 21, 2012 1:41 AM
- Marked as answer by Steve Frase Saturday, July 21, 2012 2:10 AM
Sunday, June 24, 2012 5:44 PM