You should running the command from a CMD or Terminal window, as Admin. If you get a path error, add .\Check_EFIBootFile.ps1 to say the script is in the current folder you're in.
My Computer
At a glance
Windows 7
- OS
- Windows 7
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
running the script results in:
The argument 'Check_EFIBootFile.ps1' to the -File parameter does not exist. Provide the path to an existing '.ps1' file as an argument to the -File parameter.
And running Check EFIBootFile.ps1 results in a display that disappears too fast to hit Ctrl-A then CTLR-C
The steps to protect W10 systems are identical to W11, the newer boot files are already available from the current Monthly Updates.
Because W10 22H2 will enter End-of-Life for consumer Windows on Oct. 2025, it's not clear whether MS will force an update before then, or expect users to perform the mitigation as a voluntary procedure.
The script posted above will report what certificates are present in the DB (allowed) and DBX (banned) lists.
Ideally, you will have both CA 2011 & CA 2023 as added (both boot files allowed), and DBX may or may not have CA 2011 banned. Not banning CA 2011 doesn't impact Windows, as long as you have both certificates for DB. It just means your system is still vulnerable to an UEFI attack.
EFI DB Certificates
-------------------
Microsoft Windows Production PCA 2011
Windows UEFI CA 2023
Microsoft Corporation UEFI CA 2011
Microsoft UEFI CA 2023
The reported order doesn't matter. When you try booting from a device (HDD, SSD, USB, DVD or PXE), the BIOS examines the signing cert and checks if it's found on the DB list, BUT NOT BANNED on the DBX list. It's not scanned in any particular order, but does the UEFI have a matching cert or not.
Black Lotus can attack any PC which allows the CA 2011 certificate to work. For the most part you don't delete an existing cert from the DB list, you just ban it from the DBX list.
MS thought they were ready to move forward and automatically do this last year, but enough important players out there complained. They've signaled this Fall is the new target date, but it can be delayed until Oct. 2026, when the CA 2011 would have expired ANY WAY.
Which means you need to complete this before Oct. 2026 or none of your PC's will boot (without turning off Secure Boot mode).
Hi garlin,Run this PowerShell script as Admin:
Code:powershell -nop -ep bypass -f Check_EFIBootFile.ps1
The script will report which CA certificates have been added to the DB & DBX lists, and which boot file you currently have installed for the system drive.


Hi.I checked my computer by running the check command first. It returned with a "False", so I ran the other two commands and now the Secure Boot keys are updated. I do run Bitlocker and had no problem updating. System restarted normally.
Thanks, I'll check this later this AM when I can get to the PC.You should running the command from a CMD or Terminal window, as Admin. If you get a path error, add .\Check_EFIBootFile.ps1 to say the script is in the current folder you're in.
Thanks Garlin. Adding the path worked and I see that I do have Secure Boot and it is enabled, though I cn't see from the BIOS where its Enable/Disable switch is located. Thanks for the script!You should running the command from a CMD or Terminal window, as Admin. If you get a path error, add .\Check_EFIBootFile.ps1 to say the script is in the current folder you're in.
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
Try the new cross-platform PowerShell https://aka.ms/pscore6
PS C:\WINDOWS\system32> powershell -nop -ep bypass -f C:\Users\theislands\Downloads\Check_EFIBootFile.ps1
Secure Boot: ENABLED
EFI DB Certificates
-------------------
Microsoft Corporation UEFI CA 2011
Microsoft Windows Production PCA 2011
EFI DBX Certificates
--------------------
AvailableUpdates: 0x0
---------------------
EFI Files
---------
Boot Manager [Microsoft Windows Production PCA 2011] on Disk 0 is allowed.
PS C:\WINDOWS\system32>
Hi thereHi.
Current Microsoft Secure Boot Keys will expire in 2026. Therefore, it may be advisable to update the keys manually in advance.
Hope you find this post helpful.
ConvertConfig.ini -> UpdtBootFiles=1Hi there
Thank you.
This solved my problem whenever I tried to install windows from UUPDump. I had to disable secure boot before installation :)