![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | VBScript to Query WMI Hi, I am basically looking for a VBSCRIPT that can query the WMI to retrieve the BIOS password set on a machine (to prevent normal users from changing the BIOS settings). Since various vendors seem to have different methods of storing, there does not seem to be a common WMI Class for finding this information. Any pointers on this will be very helpful. TIA AN |
My System Specs![]() |
| | #2 (permalink) |
| | Re: VBScript to Query WMI I don't see anything like that listed in the WMI help. I'd be surprised if WMI could retrieve it. I'd be even more surprised if Microsoft added that ability. What good is a BIOS password that can be negated programmatically, even remotely? If you got locked out of your own PC and need to clear the password, look up your motherboard model online. There should be a small jumper that you can remove for a few seconds to clear the password. It's often easily identifiable on the board even without needing to get a diagram of your specific motherboard. There will probably be a tiny but readable marking next to the jumper that says something like "pswrd". Failing that you could also just remove the battery for a minute or so, but that will erase the memory of all BIOS settings. So if you don't know the BIOS fairly well then you should be careful with that. Maybe write the current settings down before proceeding. (In many cases a cleared BIOS will have little or no effect, but in some cases it can make the machine seem "fried" until you get the settings right.) Quote: > > I am basically looking for a VBSCRIPT that can query the WMI to retrieve Quote: > BIOS password set on a machine (to prevent normal users from changing the > BIOS settings). Since various vendors seem to have different methods of > storing, there does not seem to be a common WMI Class for finding this > information. > > Any pointers on this will be very helpful. > > TIA > > AN > > |
My System Specs![]() |
| | #3 (permalink) |
| | Re: VBScript to Query WMI Thanks ... but I am looking more from a reporting perpective to check if machines have BIOS password set or not. I do not want to retrieve the same but just wondering if there was some kinda flag indicating if the BIOS password is set on the machine, Appreciate you taking the time to respond! Rgds AN "mayayana" <mayaXXyana@xxxxxx> wrote in message news:OfQSL2JLKHA.1488@xxxxxx Quote: > I don't see anything like that listed in the WMI > help. I'd be surprised if WMI could retrieve it. I'd > be even more surprised if Microsoft added that ability. > What good is a BIOS password that can be negated > programmatically, even remotely? > > If you got locked out of your own PC and need > to clear the password, look up your motherboard > model online. There should be a small jumper that > you can remove for a few seconds to clear the > password. It's often easily identifiable on the board > even without needing to get a diagram of your specific > motherboard. There will probably be a tiny but readable > marking next to the jumper that says something > like "pswrd". > > Failing that you could also just remove the battery for > a minute or so, but that will erase the memory of > all BIOS settings. So if you don't know the BIOS fairly > well then you should be careful with that. Maybe write > the current settings down before proceeding. (In many > cases a cleared BIOS will have little or no effect, but in > some cases it can make the machine seem "fried" > until you get the settings right.) > > Quote: >> >> I am basically looking for a VBSCRIPT that can query the WMI to retrieve Quote: >> BIOS password set on a machine (to prevent normal users from changing the >> BIOS settings). Since various vendors seem to have different methods of >> storing, there does not seem to be a common WMI Class for finding this >> information. >> >> Any pointers on this will be very helpful. >> >> TIA >> >> AN >> >> > |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| execute mysql query using vbscript | VB Script | |||
| SQL Query in VBScript | VB Script | |||
| How to do No hang up VBScript (nohup for VBScript) | VB Script | |||
| VBScript problem in running Stored Query | VB Script | |||
| VBScript Problem with Access Query (Unspecified error) | VB Script | |||