UPDATE: 2026-05-27
[BUG] Hotfix for bad comparison of boot manager's SVN version
[BUG] Hotfix for bad comparison of boot manager's SVN version
My Computer
System One
-
- 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.
Screen 1 is fully updated and revoked.well hopefully i am good till i die . but wait this is microsoft lol. what do u think master garlin
.\Update-UEFI.bat -Revoke
screen 1 is ur version screen 2 is another version called bo script. which one should i go by lol . and there is a 3 rd one i use and it looks very diffrentScreen 1 is fully updated and revoked.
Screen 2 hasn't finished revocation. Run:
Code:.\Update-UEFI.bat -Revoke
Rebooted to BIOS?After you log into the BIOS, you can access Secure Boot (enable or disable Secure Boot under Boot) and modify Secure Boot settings (under Security). The key was setting the BIOS password first.
Secure Boot Mode was fixed at Standard. After I erased Secure Boot settings and rebooted, Secure Boot Mode showed Custom.
I rebooted my computer, used Advanced Startup to enter the BIOS, and viewed Secure Boot Mode.Rebooted to BIOS?
"Bo Script" is a really outdated version from a few months ago. It shouldn't be used since the script has improved a lot since then.screen 1 is ur version screen 2 is another version called bo script. which one should i go by lol . and there is a 3 rd one i use and it looks very diffrent
I think I got why the SBAT gives an error when reading in my laptop...UPDATE: 2026-05-27
[BUG] Hotfix for bad comparison of boot manager's SVN version
That one works a lot better.Missing a ')' on the line. I should probably not post before having my caffeine in the morning.
Welp, I'll just leave the optout setting then.Here's a confession: My update script can't actually set the SBAT variable, it's a restricted operation limited to the Secure Boot task. So I'm calling the task with AvailableUpdates=0x400.
What I've found in browsing the Event Logs, is the task won't apply the SBAT under two conditions:
- you're opted out- Secure Boot is disabled (there's a specific TPM-WMI warning to the effect of "can't apply SBAT because Secure Boot is off")
The task should be applying the SBAT when you're in a revoke situation. I have seen PC's report the SBAT when the old version of the update script didn't touch the setting. I wouldn't worry too much about a missing SBAT, it's there just in case you run Linux.
Real Linux users get mad because Windows is writing the SBAT, instead of Linux. Which is why the OptOut setting is provided.
Ok so now run Update_UEFI-CA2023.ps1
And if I remember correctly the last time you were in that state, the update script will tell you at the end to load the PK from the BIOS. If I also remember correctly, I think you had loaded the PK "WindowsOEMDevicesPK.der", since in your case your manufacturer, PC Specialist LTD, has not provided MS with a PK.
Then run the check script with "-verbose -audit" again, and hopefully it will tell you that all you need to do is run the update with "-revoke" or wait for MS to do it later.
![]()
.\check_UEFI-CA2023.ps1 -Verbose -audit
Windows 11 25H2 (26200.8457)
Secure Boot: OFF (Audit Report runs as ON)
Virtualization Based Security: OFF
BitLocker on (C:) OFF
BIOS Firmware
-------------
PC Specialist LTD Intel Z370
Version: 2101
Date: 2024-01-19
Factory Default UEFI PK Cert
----------------------------
ASUSTeK MotherBoard PK Certificate
UEFI PK Cert
------------
Windows OEM Devices PK
Factory Default UEFI KEK Certs
------------------------------
Microsoft Corporation KEK CA 2011
Canonical Ltd. Master Certificate Authority
ASUSTeK MotherBoard KEK Certificate
UEFI KEK Certs
--------------
Microsoft Corporation KEK CA 2011
Microsoft Corporation KEK 2K CA 2023
Factory Default UEFI DB Certs
-----------------------------
Microsoft Corporation UEFI CA 2011
Microsoft Windows Production PCA 2011
Canonical Ltd. Master Certificate Authority
ASUSTeK MotherBoard SW Key Certificate
ASUSTeK Notebook SW Key Certificate
UEFI DB Certs
-------------
Microsoft Corporation UEFI CA 2011
Microsoft Windows Production PCA 2011
Microsoft Option ROM UEFI CA 2023
Microsoft UEFI CA 2023
Windows UEFI CA 2023
Factory Default UEFI DBX Certs
------------------------------
(NONE)
EFI_CERT_SHA256_GUID Signatures: 77
UEFI DBX Certs
--------------
(NONE)
Windows BootMgr SVN is MISSING.
EFI_CERT_SHA256_GUID Signatures: 431
UEFI Variables
--------------
Credential Guard: ON
SBAT (Linux only): sbat,1,2025051000 / shim,4 / grub,5 / grub.proxmox,2
EFI Files
---------
Windows Boot Manager [Windows UEFI CA 2023] will be ALLOWED.
\\.\HarddiskVolume4\EFI\Microsoft\Boot\bootmgfw.efi
File Version: 28000.326, SVN 8.0
Registry: "WindowsUEFICA2023Capable" = 2
[Windows UEFI CA 2023] in UEFI DB, and Windows starting from CA 2023 Boot Manager.
AUDIT REPORT
============
1. Secure Boot is DISABLED
2. [Production PCA 2011] is missing from UEFI DBX
3. DBX Updates are missing from UEFI DBX
4. Windows BootMgr SVN is missing from UEFI DBX
REQUIRED ACTION
===============
To REVOKE the [PCA 2011] cert, run the commands:
reg add HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Secureboot /v AvailableUpdates /t REG_DWORD /d 0x282 /f
powershell Start-ScheduledTask -TaskName "\Microsoft\Windows\PI\Secure-Boot-Update"
If Secure Boot settings were erased, reboot into your computer after viewing Secure Boot Mode in the BIOS and update the certificates.I rebooted my computer, used Advanced Startup to enter the BIOS, and viewed Secure Boot Mode.
I think I am, in powershell when I run: [System.Environment]::Is64BitProcess, it comes back True.Are you using the 32-bit version of PowerShell? There was a fix for "cannot find any specified files" a few releases back.
Normally, flashing the BIOS should not change the current certs (which are stored in NVRAM).I updated my system successfully with many thanks to Garlin.
There is an updated Motherboard Bios to fix a DDR5 vulnerability.
I have updated the Bios previously but I am wondering if the Certificate Upgrades may cause boot issues if I flash the Bios?
I'm now using the latest file from SecureBoot-CA-2023-Updates.v2026.05.27 :
The error only occurs if I run the batch file Check-UEFI.bat (Run as Admin),
if I use.. right click windows key, Terminal(Admin), I don't get the error but then it falters after the SBAT section?
edit... installed PowerShell 7.6.2 getting the same
powershell -ep bypass -f \path\Check_UEFI-CA2023.ps1 -Verbose
pwsh -ep bypass -f \path\Check_UEFI-CA2023.ps1 -Verbose
There are four ways to install a new KEK CA 2023:(Repost from another thread)
I have two Acer laptops running 25H2 and with the InsydeH20 UEFI BIOS. Windows update did a partial certificate update but failed as the new KEK has not been provided by the OEM. Using garlin's manual suggestion I copied "microsoft corporation kek 2k ca 2023.der" to the EFI folder. The BIOS appears to have the option to add it but I cannot see the file to select it.
Will running garlin's update script perform the update using the Microsoft KEK?
If I wait is it likely that Windows will retry and eventually succeed using either an OEM or Microsoft KEK?