How do I know the boot order?

Is there a way to get the boot order programmatically, in Windows?

+2


source to share


2 answers


In Windows 98, it was possible to read CMOS data (BIOS settings) using the CPU ports.
If I'm not mistaken, Windows XP no longer allows this.

Motherboard manufacturers usually provide a utility to save BIOS settings to a file.
Even with this information, you probably need the BIOS version specifications so that you can find the correct "BOOT order" byte offset (assuming it's stored in one byte).



Update: I haven't tested it, but I am getting SMBIOS support on Windows.
And more specifically the GetSystemFirmwareTable function.

If I understand correctly, using the above function, you will be able to get the BIOS data stored in the lower 1 MB of physical memory. However, you should know where the boot order information is stored.

+2


source


Yes, use AIS to load the kernel (internal, ordinal dynamic call)



0


source







All Articles