Using WMI to determine boot device priority

  • Thread starter Thread starter Mike
  • Start date Start date
M

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.
 
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
 
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??
 
Back
Top