Background
Windows Secure Boot relies on a set of Certificate Authority (CA) certificates
stored in the UEFI firmware's allowed signature database (db) to verify
bootloaders and UEFI drivers before executing them.
Three specific Microsoft certificates are expiring in 2026:
- Microsoft Corporation UEFI CA 2011 — stored in the Secure Boot allowed signature database (
db). Used to sign third-party UEFI bootloaders including the Linux shim. Expires April 2026. - Microsoft Windows Production PCA 2011 — also in the
db. Used to sign the Windows Boot Manager. Expires October 2026. - Microsoft Corporation KEK CA 2011 — stored in the Key Exchange Key database (
KEK). Used to authorise updates to the Secure Bootdbanddbx. Expires 2026.
Microsoft has issued 2023 replacement certificates for all three. Systems that do not receive the replacements before the 2011 certs expire may fail to boot or lose the ability to update their Secure Boot databases.
Run the Checker
Open an elevated (Administrator) PowerShell window and run:
powershell -ExecutionPolicy Bypass -c "irm https://random.clusterlabs.dev/scripts/windows-uefi-ca-2023/check.ps1 | iex"
Enrollment Phases
The checker's primary indicator is the UEFICA2023Status registry value written
by Windows Update under HKLM\SYSTEM\CurrentControlSet\Control\SecureBoot\Servicing.
Click a row to jump to the full details and remediation steps.
Not Applicable N/A
Legacy BIOS system, or Secure Boot is disabled
What this means
Your system either uses Legacy BIOS (rather than UEFI firmware) or has Secure Boot disabled in UEFI settings. In both cases, the UEFI Secure Boot certificate database is not used when booting, so the expiration of the 2011 Microsoft CAs does not affect this machine.
Certificate state
Action required
If you intentionally disabled Secure Boot (for example, to run unsigned bootloaders or enable certain virtualization features) no change is needed. If you believe Secure Boot should be enabled on this machine, see the Enable Secure Boot section below.
NotStarted Action Required
UEFICA2023Status = NotStarted — enrollment has not run
What this means
Your system's Secure Boot databases contain only the original 2011 Microsoft certificates. None of the three 2023 replacement certificates have been enrolled. When the 2011 certs expire, your system will no longer trust the bootloaders and UEFI updates they authorise — including the Windows Boot Manager, Linux shim, and the ability to update the Secure Boot signature databases themselves.
Certificate state
Secure Boot DB (db)
Key Exchange Key (KEK)
Remediation — Trigger enrollment manually (fastest)
Open an elevated PowerShell and run:
$path = "HKLM:\SYSTEM\CurrentControlSet\Control\SecureBoot\Servicing"
Set-ItemProperty -Path $path -Name "AvailableUpdates" -Value 0x5944 -Type DWord -Force
Start-ScheduledTask -TaskPath "\Microsoft\Windows\PI\" -TaskName "Secure-Boot-Update"
This sets AvailableUpdates = 0x5944 and immediately runs the Secure Boot Update task. Restart when prompted, then re-run the checker — UEFICA2023Status should progress to InProgress then Updated.
Remediation — Windows Update
- 1Open Settings → Windows Update → Check for updates and install all available updates
- 2Restart when prompted
- 3Re-run the checker —
UEFICA2023Statusshould showUpdated
Remediation — Enterprise / IT-managed devices
On domain-joined machines managed via WSUS, SCCM, or Intune, the update must be approved
by your IT/patch management team. The AvailableUpdatesPolicy registry value
is set by Intune/GPO and controls device opt-in. Confirm with your administrator that
the CA enrollment update has been approved and the machine has checked in.
The Secure Boot Update scheduled task runs every 12 hours automatically once triggered.
UEFICA2023ErrorEvent, and refer to
KB5016061
for error code definitions. Also verify your Windows version is within its
support lifecycle
— end-of-life versions will not receive the CA update.
InProgress Reboot Likely Needed
UEFICA2023Status = InProgress — enrollment triggered, boot manager update pending
What this means
The enrollment process has been triggered and the certificate updates have been
applied (AvailableUpdates has progressed from 0x5944 to
0x4100 or 0x4000). A reboot is required to allow the
signed boot manager update to complete. After restart the status should move to
Updated.
Certificate state
Secure Boot DB (db)
Key Exchange Key (KEK)
Action required
UEFICA2023Status should show Updated.
If the status remains InProgress after a restart, check UEFICA2023Error and UEFICA2023ErrorEvent in the registry output for error details, then refer to KB5016061.
Updated Protected
UEFICA2023Status = Updated — all three 2023 certificates enrolled
What this means
All three 2023 replacement certificates are enrolled in your system's Secure Boot databases. The system will continue to boot correctly after the 2011 certs expire and retains the ability to update its Secure Boot signature databases via the new KEK.
Certificate state
Secure Boot DB (db)
Key Exchange Key (KEK)
Action required
Enabling Secure Boot
If your system is UEFI-capable but Secure Boot is currently disabled, you can enable it from your UEFI firmware settings. Note that enabling Secure Boot on a system that previously ran without it may prevent unsigned bootloaders from starting until they are signed or their certificates are enrolled.
- 1Restart your computer and enter UEFI/BIOS setup — typically by pressing
F2,Del,F10, orEscduring POST (the key is usually shown on screen) - 2Navigate to the Security or Boot tab (varies by vendor)
- 3Find Secure Boot and set it to Enabled
- 4If prompted to clear existing keys or restore defaults, choose Restore Factory Keys / Reset to Setup Mode → Enroll Keys — this restores Microsoft's standard key set
- 5Save and exit, then run the checker again to confirm your phase
What the Script Checks
- Firmware type — UEFI vs Legacy BIOS (Legacy systems exit early as Phase 0)
- Secure Boot state —
Confirm-SecureBootUEFI— whether Secure Boot is currently active - Secure Boot DB (
db) — reads the allowed signature database viaGet-SecureBootUEFI -Name dband scans for the threedb-resident certificates: Corporation UEFI CA 2011, Windows Production PCA 2011, and their 2023 replacements - Key Exchange Key (
KEK) — reads the KEK database viaGet-SecureBootUEFI -Name KEKand checks for Microsoft Corporation KEK CA 2011 and the KEK 2K CA 2023 replacement - SecureBoot Servicing registry — reads
HKLM\SYSTEM\CurrentControlSet\Control\SecureBoot\Servicingand itsDeviceAttributessubkey. Windows Update writes structured enrollment status values here after processing the CA update — more reliable than binary EFI variable parsing for determining whether enrollment has run - Windows Update KBs — checks for known cumulative updates from April 2024 onward that carry the CA enrollment
- Machine certificate store — scans the Windows Trusted Root store for matching certs and reports their expiry dates
The script requires Administrator to read UEFI variables. Without elevation, the db and KEK checks are skipped and results will be incomplete.
Reference: Windows UEFI CA 2023 Certificate Update — Microsoft Tech Community
Hosted at random.clusterlabs.dev