This document covers requirements for UEFI support.
One of the requirements seems to be ACPI. The Win32_BIOS class of WMI has a BIOSCharacteristics property that indicates if ACPI is supported. See this link for properties exposed by Win32_BIOS:
There is a PowerShell example showing how to get this information at the bottom. You will need to study the document in the first link to see what else is required.
Richard Mueller - MVP Directory Services
Maybe I didn't make my question clear. My motherboard BIOS is UEFI BIOS but it supports Legacy Mode.
I can install UEFI Mode Win2K8 R2 and x64 Win7, and I can isntall regular Legacy Mode Windows also.i want to know how to use WMI to query to distinguish Windows installed in Legacy and UEFI mode?
I don't have an answer through WMI, but I did write a utility I could use in WinPE to see if the system executing the binary is UEFI or not.
I know I came looking here for *any* way and assumed WMI was the most likely candidate in a WinPE environment, but this is what I came up with.
- Proposed as answer by Richard MuellerMVP Wednesday, September 21, 2011 7:52 PM
Thanks for the UEFI file.
now, if you wish to use it from Microsoft Deployment Toolkit 2010 check out this link:
Can you recompile detectEFI.exe to work on 32bit systems? We still using WinPE4_32bit to deploy our OS since many of our systems are still Windows 7 32bit. It might only be useful for a few years while we transition, but it is most useful compiled for 32bit.