Windows OS Hub
  • Windows
    • Windows 11
    • Windows 10
    • Windows Server 2025
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
  • Microsoft
    • Active Directory (AD DS)
    • Group Policies (GPOs)
    • Exchange Server
    • Azure and Microsoft 365
    • Microsoft Office
  • Virtualization
    • VMware
    • Hyper-V
    • Proxmox
  • PowerShell
  • Linux
  • Home
  • About

Windows OS Hub

  • Windows
    • Windows 11
    • Windows 10
    • Windows Server 2025
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
  • Microsoft
    • Active Directory (AD DS)
    • Group Policies (GPOs)
    • Exchange Server
    • Azure and Microsoft 365
    • Microsoft Office
  • Virtualization
    • VMware
    • Hyper-V
    • Proxmox
  • PowerShell
  • Linux

 Windows OS Hub / Windows 11 / Invalid Signature Detected: Check Secure Boot Policy [Fix]

August 5, 2026

Invalid Signature Detected: Check Secure Boot Policy [Fix]

We recently encountered a new issue following Microsoft’s large-scale deployment of the Windows UEFI CA 2023 Secure Boot certificates. Several users who returned from vacation found that their laptops failed to boot and displayed the following error during startup:

Security Boot Violation
Invalid signature detected. Check Secure Boot Policy in Setup.

Security Boot Violation - Invalid signature detected

Contents:
  • Windows UEFI CA 2023 Certificates and the Updated Windows Bootloader
  • Add Windows UEFI CA 2023 Certificates to UEFI NVRAM Using SecureBootRecovery.efi

In our environment, the issue occurred on devices on which the Windows UEFI CA 2023 certificates had already been deployed, and the Windows bootloader had been updated to a version signed with these new certificates. Refer to the post that explains how to check and update Secure Boot UEFI certificates in Windows. If the Windows UEFI CA 2023 certificate is missing from the Secure Boot signature database (db) stored in UEFI NVRAM, the firmware cannot validate the digital signature of the updated Windows bootloader (bootmgfw.efi). As a result, the computer will fail to boot with the Secure Boot error Invalid Signature Detected.

This issue can occur for several reasons, including:

  • The Secure Boot certificates were manually deleted from the UEFI firmware configuration.
  • The UEFI firmware has been updated, replaced, or reset to its factory settings.
  • The contents of the UEFI NVRAM, including the Secure Boot databases, were cleared after a CMOS battery failure or replacement. This was the root cause in our environment, affecting several Razer Blade laptops.

Symptoms

If Secure Boot mode is enabled in the UEFI settings, the system fails to boot the Windows Boot Manager and displays an error that looks like this:

Invalid Signature Detected. Check Secure Boot Policy in Setup.

Boor error: Invalid Signature Detected. Check Secure Boot Policy in Setup

The exact error message displayed and its text may vary depending on the computer manufacturer and UEFI firmware implementation.

If Secure Boot is disabled in the UEFI settings, Windows can usually boot normally because the bootloader signature check is skipped. However, this reduces boot-chain security, so it is best treated as a temporary workaround.

Windows UEFI CA 2023 Certificates and the Updated Windows Bootloader

Beginning with cumulative Windows updates released between January and June 2026, Microsoft automatically deployed the new Windows UEFI CA 2023 certificates to all supported devices. These certificates have been added to the Secure Boot signature database (DB), which is stored in the non-volatile memory (NVRAM) of the UEFI firmware located in the motherboard’s SPI flash.

As part of the same update, Windows also replaced the Windows Boot Manager file (bootmgfw.efi) with a new version digitally signed with the Windows UEFI CA 2023 certificate.

When Secure Boot is enabled, the UEFI firmware verifies the digital signature of the Windows bootloader before transferring control to it. If the bootloader is signed with a certificate present in the Secure Boot database stored in the UEFI NVRAM, the firmware considers it to be trusted and allows the Windows bootloader to start.

However, problems occur if the Windows bootloader has been updated to the new, Windows UEFI CA 2023-signed version while the corresponding certificate is missing from the firmware Secure Boot database. This can happen if the UEFI firmware was updated or reset, the Secure Boot databases were cleared manually, or the UEFI NVRAM contents were cleared in some other way.

In this situation, the UEFI firmware cannot validate the signature of the updated bootmgfw.efi file. Consequently, Secure Boot treats the bootloader file as untrusted and prevents Windows from booting with the error:

Secure Boot Violation: Invalid Signature Detected

Ways to fix the UEFI signature validation error:

  • Disable Secure Boot in the UEFI firmware. While this allows Windows to boot, it is generally not recommended as it reduces the security of the boot process and removes protection against unauthorized bootloaders.
  • Update the UEFI firmware to a version provided by your hardware manufacturer that includes support for the Windows UEFI CA 2023 certificates. This is the preferred long-term solution, but it can be time-consuming and carries some risk if the firmware update is interrupted or performed incorrectly.
  • Use Microsoft’s Secure Boot Recovery tool to offline-import the Windows UEFI CA 2023 certificates into the UEFI Secure Boot database (NVRAM). This is the simplest and safest approach, which we will cover in more detail below.
Note: The same Invalid Signature Detected error can also occur when booting from a Windows installation USB drive created with Rufus, provided that the Use Windows UEFI CA 2023 option was selected when burning the USB stick. A bootloader signed with the Windows UEFI CA 2023 certificate is used on such installation media. If that certificate is missing from the Secure Boot db database, the UEFI firmware cannot verify the bootloader’s signature, and the USB drive will fail to boot while Secure Boot is enabled.

Add Windows UEFI CA 2023 Certificates to UEFI NVRAM Using SecureBootRecovery.efi

To resolve this issue, you need to add the new Windows UEFI CA 2023 certificates to the Secure Boot signature database (db) stored in the computer’s UEFI firmware. Microsoft has added the Microsoft Secure Boot Recovery tool (SecureBootRecovery.efi) to all modern Windows versions.  This tool allows administrators to import the new Windows UEFI CA 2023 certificates into the Secure Boot database in the UEFI NVRAM. The SecureBootRecovery.efi executable can be copied from any Windows 11 machine that has had the latest cumulative security updates installed (released after April 2026).

Our goal is to create a bootable USB flash drive that contains the SecureBootRecovery.efi file to reinstall the new certificates into the device’s NVRAM. In this example, I will show you how to copy the file manually to a clean USB drive directly from the affected computer. If you have another working Windows device available, you can create the USB recovery media on that computer instead.

  1. Temporarily disable Secure Boot in the UEFI firmware settings and then boot Windows normally. In this mode, the UEFI firmware doesn’t validate the digital signatures of the boot files.
  2. Verify that the new Windows UEFI CA 2023 certificate is missing from the allowed signature database stored in your motherboard’s UEFI firmware. Open an elevated PowerShell console and run the following command. It should return False: [System.Text.Encoding]::ASCII.GetString((Get-SecureBootUEFI -Name db).Bytes) -match "Windows UEFI CA 2023" PowerShell: check for missing new Windows UEFI CA 2023 certificates
  3. Check which certificate was used to sign the Windows bootloader (bootmgfw.efi) on the hidden EFI partition: Get-PfxCertificate -FilePath "e:\EFI\microsoft\boot\bootmgfw.efi" | Format-List Subject, Issuer The CN field shows that the boot loader has been signed using the new Windows UEFI CA 2023 certificate. Check the certificate used to sign the bootmgfw.efi (windows bootloader)
  4. Connect the USB flash drive to a computer, clear it, create one partition, and format it in the FAT32 file system. I will use the diskpart command line tool to create a partition on the flash drive:
    list disk – list the available disks
    sel disk 2 – Choose the number of the disk that corresponds to your USB flash drive
    list part – list the partitions on a flash drive. In my case, there is only one partition.
    Select it: sel part 1
    format fs=fat32 quick – format the partition with FAT32
    assign letter=G – assign the drive G letter to the volume
    diskpart -prepare fat32 boot usb stick
  5. You need to create a specific directory structure on the USB flash drive. Make a folder called EFI and a subfolder BOOT inside it: mkdir g:\EFI\BOOT -Force
  6. Copy the SecureBootRecovery.efi file from the C:\Windows\Boot\EFI\ folder to the new directory: copy C:\Windows\Boot\EFI\SecureBootRecovery.efi g:\EFI\BOOT
    copy SecureBootRecovery.efi to EFI\BOOT
    You can copy the SecureBootRecovery.efi file from any computer running a supported Windows version.
  7. Navigate to the directory and rename the SecureBootRecovery.efi file to bootx64.efi: cd e:\EFI\BOOT
    ren .\SecureBootRecovery.efi bootx64.efi
    rename SecureBootRecovery.efi to bootx64.efi
  8. Restart your computer and enable Secure Boot mode in the UEFI settings. Select your USB stick drive as the primary boot device and boot from it. Boot from UEFI device from USB
  9. UEFI will transfer control to the bootx64.efi file. This tool will check whether the new Windows UEFI CA 2023 certificates are present in the UEFI NVRAM certificate database. If the required certificates are missing, they will be imported into the firmware db automatically Microsoft Secure Boot Recovery - Updating the Security Certificate database with the Microsoft UEFI 2023 certificate.
    Microsoft Secure Boot Recovery Version 1.0
    Visit https://aka.ms/securebootrecovery to learn more about this application.
    Checking Secure Boot Certificate Configuration...
    Updating the Security Certificate database with the Microsoft UEFI 2023 certificate.
    Secure Boot Certificate database successfully updated.
    System will reboot in 10 seconds.
    
  10. After the process completes, restart the computer, remove the USB flash drive, and set Windows Boot Manager as the first boot device in the UEFI boot order. Check that Windows starts successfully with Secure Boot enabled.
  11. Confirm that the new Microsoft certificates have been successfully installed in the computer’s UEFI firmware: [System.Text.Encoding]::ASCII.GetString((Get-SecureBootUEFI -Name db).Bytes) -match "Windows UEFI CA 2023" Check that Secure Boot Authorized Signature Database includes the Windows UEFI CA 2023 certificates

Once the Windows UEFI CA 2023 certificates have been restored to the Secure Boot database, the UEFI firmware will trust the Windows bootloader that has been signed using the new certificate. As a result, Windows starts successfully with Secure Boot enabled.

The following message should appear in the Windows Security app (Settings -> Privacy & Security -> Windows Security -> Device Security):

Secure Boot is on and all required certificate updates have been applied. No further certificate changes are needed.

Windows Security: Secure Boot is on and all required certificate updates have been applied

0 comment
0
Facebook Twitter Google + Pinterest
Windows 11
previous post
Missing Wi-Fi Icon on Windows Sign-in (Lock) Screen

Related Reading

How to Move (Migrate) Windows Shares to a...

February 26, 2026

SMB over QUIC: Mount File Share over Internet...

December 24, 2025

Security Warnings When Opening RDP Files in Windows...

April 20, 2026

Monitor Windows Log Files in Real Time with...

March 26, 2026

Windows Stucks at ‘Getting Windows Ready, Don’t Turn...

September 24, 2025

Stop Windows Server from Auto-Shutdown Every Hour

February 11, 2026

Automate Software and Settings Deployment with WinGet Configure...

November 20, 2025

Remove the Max Path Length Limit (260-Characters) on...

November 19, 2025

Leave a Comment Cancel Reply

join us telegram channel https://t.me/woshub
Join WindowsHub Telegram channel to get the latest updates!

Recent Posts

  • Invalid Signature Detected: Check Secure Boot Policy [Fix]

    August 5, 2026
  • Windows Installer Service Could Not Be Accessed? How to Fix It

    July 28, 2026
  • Why Windows Reports No Internet Access: How Connectivity Detection Works

    July 26, 2026
  • Inactive TS Ports in Windows: Causes and Fixes

    July 20, 2026
  • Add Wireless Wi-Fi Profiles on Windows Devices via Export/Import or GPO

    July 13, 2026
  • CrowdSec on Windows: From Installation to Threat Blocking

    July 3, 2026
  • Manage Microsoft Store Apps with Store CLI in Windows 11 from Terminal

    July 2, 2026
  • Windows Sandbox on Windows 11: Enable, Configure, and Use

    June 10, 2026
  • How to Monitor Windows Machines with Zabbix

    May 26, 2026
  • Fixing Duplicate Security Identifier (SID) Issues in Windows

    May 25, 2026

Follow us

  • Facebook
  • Twitter
  • Youtube
  • Telegram
Popular Posts
  • SMB over QUIC: Mount File Share over Internet without VPN on Windows Server 2025
  • Updating UEFI Secure Boot Certificates on Windows Devices Explained
  • Configuring RemoteApps Hosted on Windows 10/11 (without Windows Server)
  • Security Warnings When Opening RDP Files in Windows 11
  • How to Remove ‘Some Settings are Managed by Your Organization’ on Windows 11 or 10
  • Unable to Select Edition During Windows 10/11 Installation
  • Remove the Max Path Length Limit (260-Characters) on Windows
Footer Logo

@2014 - 2026 - Windows OS Hub. All about operating systems for sysadmins


Back To Top