• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

VBScript to Query WMI

#1
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 Computer

M

mayayana

#2
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.)


>
> 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 Computer

#3
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

> 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.)
>
>

>>
>> 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 Computer

Users Who Are Viewing This Thread (Users: 1, Guests: 0)