Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
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.

Go Back   Vista Forums > Misc Newsgroups > VB Script

Vista - VBScript to Query WMI

Reply
 
Old 09-03-2009   #1 (permalink)
AN


 
 

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 SpecsSystem Spec
Old 09-03-2009   #2 (permalink)
mayayana


 
 

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
the
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 SpecsSystem Spec
Old 09-04-2009   #3 (permalink)
AN


 
 

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
> the
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 SpecsSystem Spec
Reply

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


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46