Check if Windows 10 is using UEFI or Legacy BIOS  

Page 3 of 5 FirstFirst 12345 LastLast

  1. Posts : 41,481
    windows 10 professional version 1607 build 14393.969 64 bit
       #20

    When booting with a WIndows 10 iso it can boot when the computer BIOS settings are:
    UEFI without CSM
    UEFI with CSM
    BIOS / Legacy

    Without going into the BIOS what command if any can be run to see whether the computer is or is not using CSM?
      My Computer


  2. Posts : 68,997
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #21

    zbook said:
    When booting with a WIndows 10 iso it can boot when the computer BIOS settings are:
    UEFI without CSM
    UEFI with CSM
    BIOS / Legacy

    Without going into the BIOS what command if any can be run to see whether the computer is or is not using CSM?
    I'm not sure there's a 100% method to be sure without checking in BIOS since msinfo32 will usually only show it as either Legacy or UEFI. I haven't seen it show as CSM or UEFI CSM yet.
      My Computers


  3. Posts : 19
    Windows 10 Professional Version 10.0.18363 Build 18363
       #22

    Thank you, Brink! I hope this great tutorial is the best place to post this question, rather than in Installation and Upgrade.

    In preparing to create my media for my Windows 7 to Windows 19 upgrade, I am not clear on what I should be saying my system is – Legacy Bios or otherwise.

    I have an Asus P8P67, which has an "EFI BIOS".

    Windows Boot Loader path is \Windows\system32\winload.exe, which I understand is BIOS not UEFI.
    Check if Windows 10 is using UEFI or Legacy BIOS-path.jpg

    The System Information lists BIOS Version/Date as American Megatrends Inc.1702, 17/05/2011 with no mention of Legacy, BIOS or UEFI. Below that line it says SMBIOS Version 2.6
    Check if Windows 10 is using UEFI or Legacy BIOS-01-system-info.jpg
    From an old forum post Asus P8P67 Pro and UEFI booting | [H]ard|Forum it sounds like the option of UEFI is only presented installing from the Windows 7 x64 disc and a GPT booting drive is available. I have not explored this since I got my computer nearly 10 years ago and feel a bit slow for not being more curious.

    My questions now are:

    - for upgrading should I use Legacy BIOS settings when I make my bootable USB in Rufus?

    and

    -if I should ever subsequently (or in the near future if upgrading doesn't work) do a fresh install of Windows 10, should I then try to change to UEFI at the time of install?
      My Computer


  4. Posts : 68,997
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #23

    Hello @EdieShack,

    It appears to be "Legacy BIOS" from your bcdedit results.

    If you like, you can use Rufus to create a bootable Windows 10 installation USB that supports both UEFI and Legacy BIOS to have your bases covered.

    Create Bootable USB Flash Drive to Install Windows 10
      My Computers


  5. Posts : 19
    Windows 10 Professional Version 10.0.18363 Build 18363
       #24

    Thank you, @Brink! Will give it a go.
    Last edited by EdieShack; 18 Jun 2020 at 16:59.
      My Computer


  6. Posts : 68,997
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #25

    EdieShack said:
    Thank you, Brink! Will give it a go.
    You're most welcome. Please let us know how it went.
      My Computers


  7. Posts : 4
    Windows 10 Enterprise x64
       #26

    Another powershell method is:
    $env:firmware_type
      My Computer


  8. Posts : 68,997
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #27

    pmkochie said:
    Another powershell method is:
    $env:firmware_type
    Hello pmkochie, and welcome to Ten Forums.

    Thank you. I added this as option 5 to the tutorial.

    Check if Windows 10 is using UEFI or Legacy BIOS
      My Computers


  9. Posts : 18,044
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
       #28

    OK, this is driving me nuts. How can I use a CMD Prompt to output either of the following please . . .

    The Motherboards Firmware is: Legacy
    The Motherboards Firmware is: UEFI

    Everything I have tried has put the result on the line below the "The Motherboards Firmware is: ". I just can't get it on the same line.

    I have tried loads of different ways, including . . .

    Code:
    if (Test-Path $env:windir\Panther\setupact.log) {(Select-String 'Detected boot environment' -Path "$env:windir\Panther\setupact.log" -AllMatches).line -replace '.*:\s+'} else {if (Test-Path HKLM:\System\CurrentControlSet\control\SecureBoot\State) {"UEFI"} else {"BIOS"}}
    Code:
    PowerShell.exe -Command "Write-Host 'The Motherboards Firmware is:' Write-Host if (Test-Path $env:windir\Panther\setupact.log) {(Select-String 'Detected boot environment' -Path "$env:windir\Panther\setupact.log" -AllMatches).line -replace '.*:\s+'} else {if (Test-Path HKLM:\System\CurrentControlSet\control\SecureBoot\State) {"UEFI"} else {"BIOS"}}"'
    Code:
    echo  The Motherboards Firmware is: & PowerShell.exe -Command "& {if (Test-Path $env:windir\Panther\setupact.log) {(Select-String 'Detected boot environment' -Path "$env:windir\Panther\setupact.log" -AllMatches).line -replace '.*:\s+'} else {if (Test-Path HKLM:\System\CurrentControlSet\control\SecureBoot\State) {"UEFI"} else {"BIOS"}}}

    Thanks.
      My Computer


  10. Posts : 4
    Windows 10 Enterprise x64
       #29

    @PowerShell.exe -executionpolicy bypass -Command "Write-Host 'The Motherboards Firmware is:'$env:firmware_type
      My Computer


 

Tutorial Categories

Check if Windows 10 is using UEFI or Legacy BIOS Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone


  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 22:23.
Find Us




Windows 10 Forums