Home All Groups Group Topic Archive Search About

Using WMI to determine boot device priority

Author
7 Apr 2005 4:38 PM
Mike
We need to change the BIOS settings on approx 2500 machines, to set
PXE as the primary boot device. Before visiting every desktop, I would
like to use WMI to query this info, but I can't find how to query data
from the BIOS itself. Any sugegstions? Thanks.

Author
7 Apr 2005 7:44 PM
WinSysBee Support
Hello,
you have to query your PCs with WQL language, like  "SELECT * FROM
WIN32_BIOS"
you can find information about how to query WMI with WQL at this url:
ttp://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmisdk/wmi/querying_with_wql.asp


WinSysBee Support
Sécurité et Expertise Informatique
http://www.winsysbee.com

Show quoteHide quote
"Mike" <m***@mikeshore.com> wrote in message
news:d3354680.0504070838.f7dadb9@posting.google.com...
> We need to change the BIOS settings on approx 2500 machines, to set
> PXE as the primary boot device. Before visiting every desktop, I would
> like to use WMI to query this info, but I can't find how to query data
> from the BIOS itself. Any sugegstions? Thanks.
Author
11 Apr 2005 5:54 PM
Mike
Thanks for the suggestion. I am able to pull whatever BIOS information
Windows has access to using WMI, ie:

Win32_BIOS(1).BiosCharacteristics=[7;9;10;11;12;15;16;19;20;21;22;23;24;25;26;27;28;29;30;32;33;34;36;37;40;41]
Win32_BIOS(1).BIOSVersion=[INTEL  - 20040421;BIOS Date: 04/21/04
15:58:22 Ver: 08.00.10;BIOS Date: 04/21/04 15:58:22 Ver: 08.00.10]
Win32_BIOS(1).Caption=BIOS Date: 04/21/04 15:58:22 Ver: 08.00.10
Win32_BIOS(1).CurrentLanguage=enUS
Win32_BIOS(1).Description=BIOS Date: 04/21/04 15:58:22 Ver: 08.00.10
Win32_BIOS(1).InstallableLanguages=1
Win32_BIOS(1).ListOfLanguages=[enUS]
Win32_BIOS(1).Manufacturer=Intel Corp.
Win32_BIOS(1).Name=BIOS Date: 04/21/04 15:58:22 Ver: 08.00.10
Win32_BIOS(1).PrimaryBIOS=True
Win32_BIOS(1).ReleaseDate=20040421******.******+***
Win32_BIOS(1).SerialNumber=1117710                       
Win32_BIOS(1).SMBIOSBIOSVersion=BF86510A.86A.0061.P17.0404211558
Win32_BIOS(1).SMBIOSMajorVersion=2
Win32_BIOS(1).SMBIOSMinorVersion=3
Win32_BIOS(1).SMBIOSPresent=True
Win32_BIOS(1).SoftwareElementID=BIOS Date: 04/21/04 15:58:22 Ver:
08.00.10
Win32_BIOS(1).SoftwareElementState=3
Win32_BIOS(1).Status=OK
Win32_BIOS(1).TargetOperatingSystem=0
Win32_BIOS(1).Version=INTEL  - 20040421

However this information does not include boot device priority.
Perhaps I am confusing BIOS with CMOS??

Show quoteHide quote
"WinSysBee Support" <support.nospam@winsysbee.com> wrote in message news:<42558f7d$0$27764$626a14ce@news.free.fr>...
> Hello,
> you have to query your PCs with WQL language, like  "SELECT * FROM
> WIN32_BIOS"
> you can find information about how to query WMI with WQL at this url:
> ttp://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmisdk/wmi/querying_with_wql.asp
>
>
> WinSysBee Support
> Sécurité et Expertise Informatique
> http://www.winsysbee.com
>
> "Mike" <m***@mikeshore.com> wrote in message
> news:d3354680.0504070838.f7dadb9@posting.google.com...
> > We need to change the BIOS settings on approx 2500 machines, to set
> > PXE as the primary boot device. Before visiting every desktop, I would
> > like to use WMI to query this info, but I can't find how to query data

> > from the BIOS itself. Any sugegstions? Thanks.