BIOS Mode - See if Windows Boot in UEFI or Legacy Mode

How to Check if Windows is Booted in UEFI or Legacy BIOS Mode


information   Information
When the PC starts, the firmware interface controls the booting process of the PC, and then passes control to Windows or another operating system.

UEFI is a replacement for the older BIOS firmware interface and the Extensible Firmware Interface (EFI) 1.10 specifications.

For more information, see:



This tutorial will show you how to see if your Windows is booted in UEFI or legacy BIOS (CSM) mode in Windows 7, Windows 8, and Windows 8.1.





OPTION ONE

Check if UEFI or Legacy in Disk Mangement in Windows 7, 8, and 8.1


1. Do step 2 or 3 below.​
2. In Windows 8 and 8.1, open the WIN+X Power Users menu, click/tap on Disk Management, and go to step 4 below.​
WIN+X.jpg
3. Press the :winkey: + R keys to open the Run dialog, type diskmgmt.msc, click/tap on OK, and go to step 4 below.​
4. If prompted by UAC, then click/tap on Yes.​
5. If your Windows disk shows having an EFI partition like below, then it's installed with UEFI. If not, then it's Legacy BIOS.​
UEFI_Disk_Management.jpg
Legacy_BIOS_Disk_Management.jpg





OPTION TWO

Check if UEFI or Legacy in System Information in Windows 8 and 8.1


1. Press the :winkey: + R keys to open the Run dialog, type msinfo32, and press Enter.​
2. In the right pane of System Summary in System Information, see if the BIOS Mode value says Legacy or UEFI. (see screenshots below)​
msinfo32_Legacy.jpg
msinfo32_UEFI.jpg






OPTION THREE

Check if UEFI or Legacy in setupact.log in Windows 7, 8, and 8.1


1. In Windows Explorer (Windows 7) or File Explorer (Windows 8/8.1) navigate to the location below and open the setupact.log file.​
C:\Windows\Panther
2. With the setupact.log file opened in Notepad, click on Edit (Menu bar) and Find, or press the Ctrl+F keys.​
3. Type in this below, and click/tap on Find Next or press Enter. (see screenshot below)​
Detected boot environment
setupact-1.jpg
4. Close the Find dialog.​
5. You will see it say EFI (UEFI) or BIOS (Legacy BIOS).​
Callback_BootEnvironmentDetect: Detected boot environment: BIOS
Callback_BootEnvironmentDetect: Detected boot environment: EFI
setupact-2.jpg





OPTION FOUR

Check if UEFI or Legacy in WinPE for Windows 8 and 8.1


NOTE: This option can be useful if you are unable to boot into Windows or in WinPE.
2. In the command prompt at boot, type the command below and press Enter. (see screenshot below)​
wpeutil UpdateBootInfo
3. In the command prompt at boot, type the command below and press Enter.​
reg query HKLM\System\CurrentControlSet\Control /v PEFirmwareType
4. This command returns 0x1 if the PC boots in Legacy BIOS mode, or 0x2 if the PC boots in UEFI mode.​
UEFI_or_Legacy_Command.jpg



That's it,
Shawn


 

Attachments

  • Disk_Management.png
    Disk_Management.png
    15.3 KB · Views: 574
Last edited by a moderator:
I tried all methods but failed to find out the boot mode.

I tried looking for the log file in Windows/Panther but there is no file to search the "Detected boot environment"

I also looked in System Information but there is no category that says 'Bios Mode'.


Also tried method 3 even though I don't have Windows 8/8.1 and still doesn't work.
 
Hello Penny,

Are you saying that you do not have a "C:\Windows\Panther\setupact.log" file?

How about with Option One?

What brand and model number is your PC or motherboard?
 
Last edited:
Hello Penny,

Are you saying that you do not have a "C:\Windows\Panther\setupact.log" file?

How about with Option One?

What brand and model number is your PC or motherboard?


Yeah, I don't have the setupact.log file in that directory.

I tried option 1 but there is no Bios type category.


My laptop is HP Pavilion g6 Notebook PC.

The BIOS Version is Hewlett-Packard F.34 8/16/2011
SMBIOS Version: 2.7
Boot Device: /Device/HarddiskVolume1
 
I found my problem, there was something wrong with the UAC.

Anyways, looking at my mine attachment, I guess I have Legacy mode right?

Legacy..JPG
 
Yep, that's correct. You're Windows 7 has been installed in legacy and not UEFI.

That's typically how OEMs install Windows 7 though.

Do you know the full model number of your HP Pavilion G6? It looks like some models may not support UEFI.

HP Pavilion g6 Notebook PC series
 
Penny,

Looking through your manual and drivers at the HP site, I only see mention of BIOS and no UEFI. It appears that you model may not support UEFI installations. :(
 
Penny,

Looking through your manual and drivers at the HP site, I only see mention of BIOS and no UEFI. It appears that you model may not support UEFI installations. :(

So does this mean I can't use Rufus to install Windows 8.1 on my flashdrive?
 
Please go ahead and create a new thread for this issue since it will be detailed and go off topic from this tutorial. :)
 
You could still use Rufus to create a Windows 8.1 installation USB flash drive, but you would need to do so without using the GPT for UEFI option, you would use MBR for BIOS.

...or you could use this below instead.

http://www.eightforums.com/tutorials/2227-create-bootable-usb-dvd-windows-8-iso.html


I tried installing the ISO file on my 4gb file using Rufus and Windows7 Tool but both failed. The iso file is 3.63 and 3.8 on disk and my flash drive only has 3.74.

So.. I put the iso on my old iPod and was able to successfully use the Windows 7 tool to get the iso.

So if I boot my iPod as a flashdrive which was able to successfully have its iso contents on it, I would be able to install W8.1 right?
 
Penny,

I've never tried booting from an iPod, but if you are able to, then you should be able to.

If not, then it may be time to get a larger USB flash drive.
 
Ahh.. I see.

Thing is I have like 5 different flash drives and they are all 4gb. Buying a new one seems pointless.

Thanks anyway. If the iPod works, then it works but if it doesn't, I'll borrow a flashdrive somehow I guess.

Thank you for all your help and the tutorials.
 
I'm seeing inconsistent results when checking (on a clean windows 8.1 install)
Option 1: No EFI partition on boot disk (I actually have two bootable drives - the other has an EFI partition, but I don't boot to it)
Option 2: BIOS Mode: UEFI
Option 3: Detected boot environment: EFI

Any idea what would be causing this, or does the article need to be udpated? I'm wondering if I remove the 2nd bootable drive (which I plan to do), will it start reporting Legacy boot? For boot selection, I get what seems to be the UEFI boot screen (with mouse support...etc).
 
Back
Top