Windows Vista Forums

VBScript to Query WMI

  1. #1


    AN Guest

    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

  2. #2


    mayayana Guest

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


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

  3. #3


    AN Guest

    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

    > 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 System SpecsSystem Spec


VBScript to Query WMI
Similar Threads
Thread Forum
Query printers in 2008 domain using vbscript or WMI VB Script
SQL Query in VBScript VB Script
execute mysql query using vbscript VB Script
SQL Query in VBScript VB Script
VBScript problem in running Stored Query VB Script