Updating Microsoft Secure Boot keys before expiration in June 2026




UPDATE 4/02:

UPDATE 2/10:


 Windows IT Pro Blog:

Secure Boot playbook for certificates expiring in 2026

The first set of tools and steps are now available to help you proactively update your Secure Boot certificates before they expire in June of 2026.

Secure Boot is more mature and robust today than it was some years ago. Coupled with the Unified Extensible Firmware Interface (UEFI) firmware signing process, Secure Boot uses cryptographic keys, known as certificate authorities (CAs), to validate that firmware modules come from a trusted source. This helps prevent malware from running early in the startup sequence of a Windows device.

Secure Boot certificates have always had expiration dates. New certificates help ensure that your devices stay up to date with the latest security protections. That is why your organization will need to install the 2023 CAs before the 2011 CAs start expiring in June of 2026.

Note: Need a refresher on why updating Secure Boot certificates is so important?
Many Windows PCs manufactured since 2024 already have the updated 2023 certificates. For the remaining devices, Microsoft is delivering new Secure Boot certificates through Windows monthly updates, with partner original equipment manufacturers (OEMs) making firmware updates available to help ensure compatibility.

If you wish to proactively update your Secure Boot certificates, this post contains initial steps you can take and tools you can use, with more scalable approaches coming soon. At a minimum, we encourage you to monitor the progress of your device fleet from the start.

Let’s get started. Here’s a summary of what you can do today to prepare:
  • Step 1: Inventory and prepare your environment
  • Step 2: Monitor and check your devices for Secure Boot status
  • Step 3: Apply OEM firmware updates before Microsoft updates
  • Step 4: Plan and pilot Secure Boot certificate deployments
  • Step 5: Troubleshoot and remediate common issues

Step 1: Inventory and prepare your environment​

For most devices in your organization, Microsoft will automatically update high-confidence devices via Windows Update. However, you can validate and actively roll out these updates, in which case, you would start by conducting an inventory.

Inventory

Most devices manufactured since 2012 have Secure Boot enabled, but you should always verify that. You should also check the status of the Secure Boot certificates with sample inventory PowerShell commands or by checking the value of the UEFICA2023Status registry key (it should ultimately be “updated”). Out of the devices that show up as not updated, build a small, representative sample. We recommend that you focus on the less common devices, for which high confidence determination isn’t automatic. Then follow the rest of the steps outlined in this post to pilot the certificate updates and help ensure that deployment is successful

Prepare select devices

To prepare devices for Secure Boot certificate deployment, consider how you’ll manage it. There are several approaches to managing Secure Boot certificate updates. Today, you can use registry keys or Group Policy. A Configuration Service Provider (CSP) for mobile device management (MDM), such as Microsoft Intune, is coming soon. Bookmark Windows Secure Boot certificate expiration and CA updates - Microsoft Support for the latest updates.
  1. The primary method is to deploy the certificates to devices that have been validated as ready for the update. See Step 4 when you’re ready to deploy these updates!
  2. For the more common device configurations in your environment, you can utilize two “assists” to manage your deployment:
    • Get new certificates through monthly Windows updates for high-confidence devices. This option is enabled by default for devices that are ready for new certificates. Microsoft will update these devices for you unless you opt out. To opt out, set the HighConfidenceOptOut registry key<a href="Secure Boot playbook for certificates expiring in 2026 - Windows IT Pro Blog" target="_self" rel="nofollow noopener noreferrer">ii</a> value to 1 or set the Automatic Certificate Deployment via Updates Group Policy to Disabled.
    • Opt devices in to Microsoft-managed controlled feature rollout. With registry keys, set the value of MicrosoftUpdateManagedOptIn to 1 to opt in to Microsoft-managed controlled feature rollout. The value of 0 or non-existent key means that you’re opted out. With Group Policy, configure the Certificate Deployment via Controlled Feature Rollout policy to Enabled. Note: To opt in, please configure devices to share required diagnostic data with Microsoft.
Important: All Secure Boot registry keys are under these two paths:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecureBoot
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecureBoot\Servicing


See Registry key updates for Secure Boot: Windows devices with IT-managed updates for more details.

Group Policy settings are available to you under the following path: Computer Configuration > Administrative Templates > Windows Components > Secure Boot. To get the updates that include the Group Policy for deploying Secure Boot certificate updates, download the latest Administrative Templates (.admx) for Windows 11 and Windows Server.

Step 2: Monitor and check your devices for Secure Boot status​

Check the Secure Boot status of your devices before and after deployment. Soon, you will be able to use your preferred management and reporting tools. For now, you can use registry keys or Windows Event Log events to identify which devices already have new certificates and which ones need attention.

Deployment progress

The text value of the UEFICA2023Status registry key will indicate if your certificate deployment status is not started, in progress, or updated. The value will change progressively until all new certificates and the new boot manager have been deployed successfully.

Successful deployment
  • Audit the Windows System Event Log events for Event ID 1808. This informational event indicates that the device has the required new Secure Boot certificates applied to the device’s firmware.
  • Audit the UEFICA2023Error registry key for issues. This key should not exist unless an error is pending.
  • Check that the text value of the UEFICA2023Status registry key reads as “Updated.”
Errors during deployment
  • Audit the Windows System Event Log for Event ID 1801.This error event indicates that the updated certificates have not been applied to the device. Analyze details specific to the device, including device attributes, that will help you in correlating which devices still need updating.
  • Check if the UEFICA2023Error registry key exists. If so, it indicates an error in certificate deployment. The error itself won’t appear in the Event Log. Trace related issues through Secure Boot DB and DBX variable update events.

Step 3: Apply OEM firmware updates before Microsoft updates​

Updated firmware can help prevent compatibility problems and ensure new Secure Boot certificates are accepted. If your organization has identified Secure Boot update issues or your OEM recommends a firmware update, apply the latest BIOS/UEFI update before installing Secure Boot–related Windows updates.

Some OEMs provide firmware updates that include important fixes and updated certificate stores. These updates help Secure Boot function correctly with new Windows certificates. Microsoft works closely with OEM partners to ensure these updates integrate smoothly with Windows.

Step 4: Plan and pilot Secure Boot certificate deployments​

As you’ve seen in Step 1, Microsoft can assist with your Secure Boot updates if you enable diagnostic data.

You can also deploy new Secure Boot certificates yourself for devices that don’t already have them. Choose a way to do this with registry keys, via Windows Configuration System (WinCS) command-line interface (CLI), or using Group Policy today. Pilot your desired method first on a representative set of devices to gain confidence.

In a typical enterprise deployment, whatever option you choose, allow approximately 48 hours and one or more restarts after changing configuration for updates to fully apply. See How updates are deployed for more details. For testing scenarios, you can accelerate the experience by following the steps outlined in Device Testing Using Registry Keys.

Important: Avoid mixing deployment methods on the same device. For additional technical recommendations to help you plan and deploy your Secure Boot updates, see Deployment strategies.

Option 1: Deploy certificates with registry keys​

Find the AvailableUpdates registry key located under this registry path:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecureBoot

Set its value to 0x5944 to deploy all needed certificates and update to the Windows UEFI CA 2023 signed boot manager. This key corresponds to the Group Policy setting Enable Secure Boot certificate deployment. For details, see Registry key updates for Secure Boot: Windows devices with IT-managed updates.

Option 2: Deploy certificates via Windows Configuration System (WinCS)​

New command-line tools are now available for domain-joined clients on Windows 11, versions 25H2, 24H2, and 23H2.

These include both a traditional executable and a PowerShell module to query and apply Secure Boot configurations locally to a device. For step-by-step guidance, see Windows Configuration System (WinCS) APIs for Secure Boot.

Deploy the Secure Boot updates via WinCS:
  • Feature name: Feature_AllKeysAndBootMgrByWinCS
  • WinCS key value: F33E0C8E002
  • Secure Boot configuration state: Enabled

Option 3: Deploy certificates using Group Policy​

Group Policy settings are available by navigating to Computer Configuration > Administrative Templates > Windows Components > Secure Boot.

To apply Secure Boot updates to devices using Group Policy, set the Enable Secure Boot certificate deployment policy to Enabled. This lets Windows automatically begin the certificate deployment process. This setting corresponds to the registry key AvailableUpdates.

Be sure to get the latest version of the .admx for Windows 11 and Windows Server. For more details, see Group Policy Objects (GPO) method of Secure Boot for Windows devices with IT-managed updates.

Option 4: Deploy certificates using mobile device management (coming soon)​

Soon, you’ll be able to manage Secure Boot updates using MDM solutions, such as Microsoft Intune. When this method is available, we will post updated guidance at Windows Secure Boot certificate expiration and CA updates - Microsoft Support.

Step 5. Troubleshoot and remediate common issues​

You can also use registry keys and Windows Event Log events to identify and resolve common issues:
  • The UEFICA2023Error registry key doesn’t exist if there are no errors. If it exists with a value other than 0, check your remediation recommendations in Secure Boot DB and DBX variable update events.
  • The AvailableUpdates registry key on a device is set to 0x4104. If it doesn’t clear the 0x0004 bit even after multiple restarts, the device doesn’t progress past deploying the new Key Exchange Key (KEK) certificate. If you encounter this error, check with your OEM to confirm they have followed the steps outlined in Windows Secure Boot Key Creation and Management Guidance.
  • If Event Viewer Windows Logs for System registers an Event ID 1795, it means that there was an error when Windows attempted to hand off the certificates to firmware. Check with the OEM to see if there is a firmware update available for the device to resolve this issue.

Your update strategy begins today​

Today, you can start preparing, monitoring, deploying, and troubleshooting Secure Boot certificates in advance of the June 2026 expiration date. The new registry keys, WinCS, Group Policy, and Windows Log tools are here to support you and are just the beginning. More tools for additional scenarios are in development.

For the latest information, bookmark Windows Secure Boot certificate expiration and CA updates. Looking for a specific topic?

 Source:





 Windows IT Pro Blog:

Updating Microsoft Secure Boot keys​

Microsoft, in collaboration with our ecosystem partners, is preparing to roll out replacement certificates that’ll set new Unified Extensible Firmware Interface (UEFI) Certificate Authorities (CAs) trust anchors in Secure Boot for the future. Look out for Secure Boot database updates rolling out in phases to add trust for the new database (DB) and Key Exchange Key (KEK) certificates. This new DB update is available as an optional servicing update for all Secure Boot enabled devices from February 13, 2024.

What is Secure Boot?​

Secure Boot is a security feature in the UEFI that helps ensure that only trusted software runs during the system’s boot sequence. It works by verifying the digital signature of any software against a set of trusted digital keys stored in the UEFI. As an industry standard, UEFI’s Secure Boot defines how platform firmware manages certificates, authenticates firmware, and how the operating system (OS) interfaces with this process. For more details on UEFI and Secure Boot, please refer to this article.

Secure Boot was first introduced to Windows systems with the Windows 8 release to protect against the emerging pre-boot malware (bootkit) threat at that time. Since then, Secure Boot has continued to be a part of Microsoft's Trusted Boot security architecture. Secure Boot authenticates modules such as UEFI firmware drivers, bootloaders, applications, and option ROMs (Read-Only Memory), which are firmware run by the PC BIOS during platform initialization, before they are all executed. As the final step of the Secure Boot process, the firmware verifies the Windows boot loader is trusted by Secure Boot and then passes control to the boot loader which in turn verifies, loads into memory, and launches Windows. This process coupled with the UEFI firmware signing process helps to ensure that only verified code executes before Windows, preventing attackers from utilizing the boot path as an attack vector. To learn more about how Secure Boot fits in with the overall Windows chip-t-cloud security, please refer to the Windows Security Book RWMyFE.

Trust and authenticity in Secure Boot are built using the Public-Key Infrastructure (PKI). This establishes a certificate management system which utilizes CAs to store digital certificates. These CAs, consisting of Original Equipment Manufacturer (OEM) or their delegates and Microsoft, generate key pairs that form the root of trust of a system.

bS00MDU1MzI0LTU1MTA0OWlGOEI2MDY4MzMyRDJDNzBC


Secure Boot “root of trust”: Setting trust anchors for the future​

Secure Boot’s root of trust utilizes a hierarchical system, where the Platform Key (PK) is typically managed by the OEM and used to sign updates to the KEK database. The KEK in turn signs updates to both the Allowed Signature DB and the Forbidden Signature Database (DBX).

The Secure Boot Allowed Signature DB and the DBX are integral to the functionality of Secure Boot. Bootloader modules’ signing authority must be allowlisted by the Secure Boot DB, while the DBX is used for revoking previously trusted boot components. Updates to the DB and DBX must be signed by a KEK in the Secure Boot KEK database.

The configuration of Secure Boot DB and KEK for Windows devices has remained the same since Windows 8. Microsoft requires every OEM to include the same three certificates managed by Microsoft for Windows and in support of the third-party hardware and OS ecosystem. These include the Microsoft Corporation KEK CA 2011 stored in the KEK database, and two certificates stored in the DB called the Microsoft Windows Production PCA 2011, which signs the Windows bootloader, and the Microsoft UEFI CA 2011 (or third-party UEFI CA), which signs third-party OS and hardware driver components.

All three of these Microsoft certificates expire in 2026. So, in collaboration with our ecosystem partners, Microsoft is preparing to roll out replacement certificates that will set new UEFI CA trust anchors for the future. Microsoft will be rolling out Secure Boot database updates in phases to add trust for the new DB and KEK certificates. The first DB update will add the Microsoft Windows UEFI CA 2023 to the system DB. The new Microsoft Windows UEFI CA 2023 will be used to sign Windows boot components prior to the expiration of the Windows Production CA 2011. This DB update will be optional for the February 2024 servicing and preview updates, and can be manually applied to devices. Microsoft will slowly roll out this DB update as we validate devices and firmware compatibility globally. The full DB update’s controlled-rollout process to all Windows customers will begin during the 2024 April servicing and preview updates, ahead of the certificate expiration in 2026. Meanwhile, efforts to update the Microsoft UEFI CA 2011 (aka third-party UEFI CA) and Microsoft Corporation KEK CA 2011 will begin late 2024, and will follow a similar controlled rollout process as this DB update.

While Microsoft has frequently performed DBX updates globally since the inception of Secure Boot, this will be the first DB update performed on such a large scale. We’re actively collaborating with our OEM partners to identify and address bugs in firmware implementation that could result in unbootable systems or render a device unreceptive to the DB update. To ensure a successful rollout, devices with identified issues will be suspended from receiving the update until a fix is released.

Microsoft is taking a very deliberate and cautious approach to rolling out this update. With this DB update, Microsoft will sustain its ability to service all Windows devices’ boot components.

Guidance to manually apply DB update​

The DB update is available on February 13, 2024, along with manual steps to allow customers to test for firmware compatibility, especially for organizations with fleets of devices. If you would like to manually apply the DB update to validate that your system is compatible, please read the following instructions. These actions should be completed with non-critical hardware representing devices in your environment.

Pre-requisite checks​

Before attempting the DB update, please ensure to perform the necessary pre-requisite checks:
  1. If you intend to manually apply this update to a large group of devices, we advise that you begin by rolling out to individual devices with the same firmware and specifications first to minimize the risks in the case of firmware bugs in your devices.
  2. Please verify that your UEFI firmware version is the most recent available version by your firmware vendor or OEM.
  3. For data backup steps, please refer to this guide.
  4. If you use BitLocker or if your enterprise has deployed BitLocker on your machine, ensure to backup BitLocker Keys:


    A) See this portal to ensure your BitLocker keys are backed up before your next reboot for your selfhost device. In the unlikely event that device becomes inoperable after receiving the update, the hard drive can still be unlocked.

    B) If the keys are backed up, the UI should resemble the following:

    bS00MDU1MzI0LTU1MTA1MGk5NzY0QzRENjdBQkYwRkE2


    C) If the keys are not backed up, please open Windows Search to search for “Manage BitLocker” and select Back up your recovery key followed by Save to your Azure AD or MSA account.

    bS00MDU1MzI0LTU1MTA1MWlEQkZDQTZDNDBDOEQwNzMy


    bS00MDU1MzI0LTU1MTA1Mmk5QjE2MDRBRTAyMUE1MDQ5


    bS00MDU1MzI0LTU1MTA1M2k2MzgxMUE1NEQ5NjEzREE4
For users that use a local account instead of an Azure Active Directory (AAD) or Microsoft account (MSA), you can print your recovery password, save to a file, and store it in a secure location.


 Formal DB update steps

  1. Apply the February 2024 (or later) security update.
  2. Open a PowerShell console and ensure that PowerShell is running as an administrator before running the following commands:
    1. Set the registry key to:

      Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\SecureBoot" -Name "AvailableUpdates" -Value 0x40
    2. Run the following scheduled task as:

      Start-ScheduledTask -TaskName "\Microsoft\Windows\PI\Secure-Boot-Update"
  3. Reboot the machine twice after running these commands to confirm that the machine is booting with the updated DB.
  4. To verify that the Secure Boot DB update was successful, open a PowerShell console and ensure that PowerShell is running as an administrator before running the following command:

    [System.Text.Encoding]::ASCII.GetString((Get-SecureBootUEFI db).bytes) -match ‘Windows UEFI CA 2023’

    bS00MDU1MzI0LTU1MTA1NGlGNjJBRDlDRTNCRDJCQTIw
If the command returns “True”, the update was successful. In the case of errors while applying the DB update, please refer to the article, KB5016061: Addressing vulnerable and revoked Boot Managers.


 Source:


See also:
 
Last edited:
Expired certs don't make a file untrusted, as long as the signing cert was previously entrusted in your certificate store. A given cert can only be used to digitally sign a file during its valid time period. When the cert expires, it just means a new file cannot be signed with it.

UEFI uses its own keys to validate boot files, and Windows uses a different set of certs to signify a file is trustworthy (not tampered with). Windows cannot block the boot file, because there is no Windows running at the time the boot file is executed. Security is done in layers.
Hi, I ran your script to update this is what is says now with "check UEFI"

Secure Boot: OFF
Virtualization Based Security: OFF
BitLocker on (C:) OFF

UEFI KEK Certs
--------------
Microsoft Corporation KEK CA 2011

UEFI DB Certs
-------------
Microsoft Corporation UEFI CA 2011
Microsoft Windows Production PCA 2011

UEFI DBX Certs
--------------
(NONE)

EFI Files
---------
Windows Boot Manager [Windows UEFI CA 2023] is ALLOWED.
Registry: "WindowsUEFICA2023Capable" = 0
[Windows UEFI CA 2023] not in UEFI DB.


REQUIRED ACTION
===============

OPTION 1: DO NOTHING AND WAIT. Windows will apply the UEFI updates (PC has supported BIOS).

OPTION 2: To install [UEFI CA 2023] certs WITHOUT REVOKING the [PCA 2011] cert, run the commands:

reg add HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Secureboot /v AvailableUpdates /t REG_DWORD /d 0x5844 /f
powershell Start-ScheduledTask -TaskName "\Microsoft\Windows\PI\Secure-Boot-Update"


OPTION 3: To install [UEFI CA 2023] certs and REVOKE the [PCA 2011] cert, run the commands:

reg add HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Secureboot /v AvailableUpdates /t REG_DWORD /d 0x5ac6 /f
powershell Start-ScheduledTask -TaskName "\Microsoft\Windows\PI\Secure-Boot-Update"

Problem I have now when I enable secure boot in ASUS bios I get red screen saying firmware problems and I have to turn it off to boot into windows now.

Hmm, I ran check before and it showed ca 2023 listed above after I ran update, not sure why it not showing now.
I tried secure boot on with standard and custom setting in bios.

Edit: ran update again I get this now.

Secure Boot: OFF
Virtualization Based Security: OFF
BitLocker on (C:) OFF

UEFI KEK Certs
--------------
Microsoft Corporation KEK CA 2011
Microsoft Corporation KEK 2K CA 2023

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

UEFI DBX Certs
--------------
(NONE)

EFI Files
---------
Windows Boot Manager [Windows UEFI CA 2023] is ALLOWED.
Registry: "WindowsUEFICA2023Capable" = 2
[Windows UEFI CA 2023] in UEFI DB, and Windows starting from CA 2023 Boot Manager.


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"

PS C:\WINDOWS\system32>

When I run check DBX I get this


FAILED: Missing 251/278 EFI signatures from "dbxupdate.bin"
FAILED: Missing 3/3 SVN signatures from "DBXUpdate2024.bin"
FAILED: Missing 3/3 SVN signatures from "DBXUpdateSVN.bin"

Edit2: I see whats happening it fails to boot and windows reverts the certs it seems.
 
Last edited:

My Computer

System One

  • OS
    Win11
    Computer type
    PC/Desktop
    CPU
    12600k
    Motherboard
    ASUS TUF Z690 wifi D4
    Memory
    Crucial 16gig @3600
    Graphics Card(s)
    RTX TUF 3060ti
    Monitor(s) Displays
    LG 27GP850
    Screen Resolution
    1440p
    Hard Drives
    980 PRO
    PSU
    750w
UEFI KEK Certs
--------------
Microsoft Corporation KEK CA 2011
Microsoft Corporation KEK 2K CA 2023

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

UEFI DBX Certs
--------------
(NONE)

EFI Files
---------
Windows Boot Manager [Windows UEFI CA 2023] is ALLOWED.
Registry: "WindowsUEFICA2023Capable" = 2
[Windows UEFI CA 2023] in UEFI DB, and Windows starting from CA 2023 Boot Manager.
FAILED: Missing 251/278 EFI signatures from "dbxupdate.bin"
FAILED: Missing 3/3 SVN signatures from "DBXUpdate2024.bin"
FAILED: Missing 3/3 SVN signatures from "DBXUpdateSVN.bin"
Your BIOS is done with adding CA 2023 certs, but CA 2021 has not been revoked (added on the DBX list). The missing DBX entries don't get installed until the revocation step.

If you want to perform revocation now, follow the REQUIRED ACTION commands from the check script. Otherwise you can wait for MS to revoke the CA 2011 cert later this year.
 

My Computer

System One

  • OS
    Windows 7
Your BIOS is done with adding CA 2023 certs, but CA 2021 has not been revoked (added on the DBX list). The missing DBX entries don't get installed until the revocation step.

If you want to perform revocation now, follow the REQUIRED ACTION commands from the check script. Otherwise you can wait for MS to revoke the CA 2011 cert later this year.
but now I have no secure boot enabled.
I think I might of messed up the DBX certs.

I did have secure boot on before, so I messed up something in the process.

Edit, this morning before I starting messing around the reg said ca2023 cert error, needs reboot.
It looked like all was good but rebooting didn't change .

Now I am back to ConfidenceLevel= High Confidence
and UEFICA2023Status= notstarted

I think before it was inprogress
 

My Computer

System One

  • OS
    Win11
    Computer type
    PC/Desktop
    CPU
    12600k
    Motherboard
    ASUS TUF Z690 wifi D4
    Memory
    Crucial 16gig @3600
    Graphics Card(s)
    RTX TUF 3060ti
    Monitor(s) Displays
    LG 27GP850
    Screen Resolution
    1440p
    Hard Drives
    980 PRO
    PSU
    750w
Secure Boot mode needs to be enabled or disabled from the BIOS. You can't change that from Windows.

Honestly, I wouldn't spend too much time worrying the other reg values. The Secure Boot task sometimes lags behind in updating the status keys. A simple reboot may be required so the changes take effect. The whole point of the check script is to get immediate confirmation.
 

My Computer

System One

  • OS
    Windows 7
Secure Boot mode needs to be enabled or disabled from the BIOS. You can't change that from Windows.

Honestly, I wouldn't spend too much time worrying the other reg values. The Secure Boot task sometimes lags behind in updating the status keys. A simple reboot may be required so the changes take effect. The whole point of the check script is to get immediate confirmation.
I was talking about in the bios, I can't run "Windows UEFI", "standard" in secure boot setting of Asus MB. I get a red error saying something about firmware can't load change to another drive that supports secure boot (that is from memory I could take a pic with phone).

I am tring to figure were the problem is, is it bios or windows, I could load a newer bios (11-2025) if that would fix it, I am just not sure.
could it be boot manager?

PS, in last few hrs I have reboot about 10 times now.

Edit 2 This is what the error said
"Secure boot violation

The system found unauthorized changes on the firmware, operating system or UEFI drives.

Press [ok] to run the next boot device or enter directly to bios setup if there are no other boot devices installed.
Go to bios setup> boot and change the current boot device into other secured boot devices
 
Last edited:

My Computer

System One

  • OS
    Win11
    Computer type
    PC/Desktop
    CPU
    12600k
    Motherboard
    ASUS TUF Z690 wifi D4
    Memory
    Crucial 16gig @3600
    Graphics Card(s)
    RTX TUF 3060ti
    Monitor(s) Displays
    LG 27GP850
    Screen Resolution
    1440p
    Hard Drives
    980 PRO
    PSU
    750w
If you have a newer BIOS that hasn't been installed, it should have installed first before beginning the update process. Some BIOS'es fix problems with Secure Boot cert management.
 

My Computer

System One

  • OS
    Windows 7
If you have a newer BIOS that hasn't been installed, it should have installed first before beginning the update process. Some BIOS'es fix problems with Secure Boot cert management.
I have a newer one dated 11-29-2025 that has not been upgraded, I am on an old bios from 2021 around.

Do you think that will fix the problem ?

I thought it would work on older one or just not update but leave secure boot on (just with old certs).
 

My Computer

System One

  • OS
    Win11
    Computer type
    PC/Desktop
    CPU
    12600k
    Motherboard
    ASUS TUF Z690 wifi D4
    Memory
    Crucial 16gig @3600
    Graphics Card(s)
    RTX TUF 3060ti
    Monitor(s) Displays
    LG 27GP850
    Screen Resolution
    1440p
    Hard Drives
    980 PRO
    PSU
    750w
Your best shot is always with the latest BIOS. Nobody cared that much about Secure Boot certs back in 2021. Later firmware would have improved support.
 

My Computer

System One

  • OS
    Windows 7
Your best shot is always with the latest BIOS. Nobody cared that much about Secure Boot certs back in 2021. Later firmware would have improved support.
updated bios now check UEFI bat says this.

Secure Boot: ON
Virtualization Based Security: OFF
BitLocker on (C:) OFF

UEFI KEK Certs
--------------
Microsoft Corporation KEK CA 2011
Microsoft Corporation KEK 2K CA 2023

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

UEFI DBX Certs
--------------
(NONE)

EFI Files
---------
Windows Boot Manager [Windows UEFI CA 2023] is ALLOWED.
Registry: "WindowsUEFICA2023Capable" = 2
[Windows UEFI CA 2023] in UEFI DB, and Windows starting from CA 2023 Boot Manager.


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"

PS C:\WINDOWS\system32>
 

My Computer

System One

  • OS
    Win11
    Computer type
    PC/Desktop
    CPU
    12600k
    Motherboard
    ASUS TUF Z690 wifi D4
    Memory
    Crucial 16gig @3600
    Graphics Card(s)
    RTX TUF 3060ti
    Monitor(s) Displays
    LG 27GP850
    Screen Resolution
    1440p
    Hard Drives
    980 PRO
    PSU
    750w
If you're not seeing any Secure Boot errors, then you're good. You can perform the revocation now, or allow Windows to handle it.

Windows is now prepared to apply any future security updates without needing your help.
 

My Computer

System One

  • OS
    Windows 7
If you're not seeing any Secure Boot errors, then you're good. You can perform the revocation now, or allow Windows to handle it.

Windows is now prepared to apply any future security updates without needing your help.
No, error and secure boot is enabled. I have not rebooted from first boot after bios update, the above is right after I got into windows.

I am going to leave it as it looks ok even though windows security in secure boot section says I am still on old certs. it still has green checkmark and I think this will change once windows see's the changes made.
The reg looks like it started over partly, I get this values now.

AvailableUpdates=0
ConfidenceLevel=Under Observation - More Data Needed
UEFICA2023Status=Updated
WindowsUEFICA2023Capable=2

no error value in the keys
 

My Computer

System One

  • OS
    Win11
    Computer type
    PC/Desktop
    CPU
    12600k
    Motherboard
    ASUS TUF Z690 wifi D4
    Memory
    Crucial 16gig @3600
    Graphics Card(s)
    RTX TUF 3060ti
    Monitor(s) Displays
    LG 27GP850
    Screen Resolution
    1440p
    Hard Drives
    980 PRO
    PSU
    750w
This was the first published solution to use the Windows OEM Devices certs, and indirectly blessed by MS.

MS provides a reference example of the Secure Boot keys, except where they own the PK themselves instead of relying on the vendor. Under the industry model, it's preferable to keep the PK owner separate from the KEK owner. But if you're abandoned, it's not going to happen.

For the Windows OEM Devices solution to work:

1. Secure Boot may need to be enabled (or not) before applying the keys. Some BIOS'es are weird in that you can't make changes unless Secure Boot is on. Other BIOS'es don't seem to care. You'll have to experiment to find out which one.

2. Your UEFI Secure Boot setting is Custom mode (don't use the factory defaults).

3. All certs should be deleted. The GitHub solution presented only swaps out the PK, and doesn't bother doing anything about the result of the Secure Boot keys (KEK, DB and DBX). Once your keys are wiped, you're in Setup Mode.

4. You can use an update script which applies the complete set of Windows OEM Devices certs (1x PK + 2x KEK + 5x DB) at the same time. Now you will have a vendor-independent set of keys, provided by MS.

These certs are NOT backed by the factory defaults. If you end up resetting the UEFI, you will have to temporarily disable Secure Boot and repeat the process. But that need should be rare.
Hi Garlin thanks very much I used your README_UEFI.TXT instructions on the second MiniPC that failed and then ran your Update_UEFI-CA2023.ps1 - the results are as below - I think it looks ok.

C:\Temp>Check-UEFI -verbose
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.

Install the latest PowerShell for new features and improvements! Windows PowerShell update message FAQ - PowerShell

Windows 11 25H2 (26200.8457)

Secure Boot: ON
Virtualization Based Security: OFF
BitLocker on (C:) OFF

BIOS Firmware
-------------
Default string Default string
Version: ANB01_INTEL
Date: 2023-10-19

Factory Default UEFI PK Cert
----------------------------
DO NOT TRUST - AMI Test PK

UEFI PK Cert
------------
Windows OEM Devices PK

Factory Default UEFI KEK Certs
------------------------------
Microsoft Corporation KEK CA 2011

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

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: 217

UEFI DBX Certs
--------------
(NONE)
Windows BootMgr SVN is MISSING.
EFI_CERT_SHA256_GUID Signatures: 431

UEFI Variables
--------------
Credential Guard: ON

EFI Files
---------
Windows Boot Manager [Windows UEFI CA 2023] is ALLOWED.
\\.\HarddiskVolume1\EFI\Microsoft\Boot\bootmgfw.efi
File Version: 28000.322, SVN 8.0

Registry: "WindowsUEFICA2023Capable" = 2
[Windows UEFI CA 2023] in UEFI DB, and Windows starting from CA 2023 Boot Manager.


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"

PS C:\Temp>



This is a picture of the MiniPC minipc.webp
 

My Computers

System One System Two

  • OS
    Win 10 > Win 11 > Linux Mint 22.3
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom
    CPU
    i5-11400
    Motherboard
    Gigabyte B560M DS3H
    Memory
    64GB Crucial RAM DDR4
    Graphics Card(s)
    none
    Sound Card
    Custom USB 24-bit 96kHz DAC (PCM5102A + STM32F411)
    Monitor(s) Displays
    31.5" LG 1440p
    Screen Resolution
    2560x1440
    Hard Drives
    4 TB WD HDD
    1 TB WD SSD
    500 GB WD NVME
    500 GB Crucial P5 (main OS Win10)
    PSU
    Corsair 550W
    Case
    ATX
    Cooling
    Fan
    Keyboard
    Genius
    Mouse
    Logitech
    Internet Speed
    4G/5G
    Browser
    Firefox
    Antivirus
    Defender
  • Operating System
    Win 10 more than Win 11 more than Linux Mint 22.1
    Computer type
    PC/Desktop
    Manufacturer/Model
    Home
    CPU
    i5-14400
    Motherboard
    Gigabyte B760M D3H
    Memory
    48 GB DDR5
    Graphics card(s)
    none
    Sound Card
    Custom USB 24-bit 96kHz DAC (PCM5102A + STM32F411)
    Monitor(s) Displays
    27" FHD Gaming IPS LCD 144Hz
    Screen Resolution
    1920x1080
    Hard Drives
    4 TB WD HDD
    1TB + 2TB WD NVME
    PSU
    Corsair 550W
    Case
    Cooler Master
    Cooling
    Fan
    Keyboard
    Genius
    Mouse
    Logitec
    Internet Speed
    4G/5G
    Browser
    Firefox
    Antivirus
    Defender
UEFI PK Cert
------------
Windows OEM Devices PK

UEFI KEK Certs
--------------
Microsoft Corporation KEK CA 2011
Microsoft Corporation KEK 2K CA 2023

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

UEFI DBX Certs
--------------
(NONE)
Windows BootMgr SVN is MISSING.
EFI_CERT_SHA256_GUID Signatures: 431

EFI Files
---------
Windows Boot Manager [Windows UEFI CA 2023] is ALLOWED.
\\.\HarddiskVolume1\EFI\Microsoft\Boot\bootmgfw.efi
File Version: 28000.322, SVN 8.0

Registry: "WindowsUEFICA2023Capable" = 2
[Windows UEFI CA 2023] in UEFI DB, and Windows starting from CA 2023 Boot Manager.
Your BIOS has all of the CA 2023 certs, but not revoked CA 2011.

Revocation is optional for now, you can wait for Windows to perform this task later this year. If you prefer to do it yourself, then follow the REQUIRED ACTION commands. After revocation, any bootable USB drives like for Macrium or other backup products will need to be recreated (to replace their boot files).
 

My Computer

System One

  • OS
    Windows 7
Back
Top Bottom