Solved garlin's PowerShell scripts for updating Secure Boot CA 2023


Can I safely ignore this message?

Considering it is deleting a file every time I boot.

Thanks again.
The vast majority of Information-level Event Log messages can be safely ignored, yes. Most of them are for system auditing purposes. The only one you really care about for the purposes of this thread is the TPM-WMI 1808 at the top; that one is the success message for getting your CA 2023 keys and boot manager installed.
 

My Computer

System One

  • OS
    Windows 11 Pro 25H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    custom
    CPU
    AMD Ryzen 9 3950X
    Motherboard
    ASUS ROG Strix X570-E (first gen)
    Memory
    64 GB DDR4-3600 CL18 (2x32 GB)
    Graphics Card(s)
    MSI Ventus RTX 2060 Super
    Sound Card
    Audient iD4 Mk.I
    Monitor(s) Displays
    2x AOC 24G1 / 1x XP-Pen Artist Pro 16 Gen 2 2.5K
    Screen Resolution
    1080p / 2560x1600
    Hard Drives
    1TB WD/SanDisk SN850X (main) / 2TB Sabrent Rocket 4 / 6TB WD MyBook EE
    PSU
    Corsair RM850X 850W Gold (2019)
    Case
    Lian-Li O11-D
    Cooling
    EKWB EK-AIO 360 RGB
    Keyboard
    wooting Two HE fullsize
    Mouse
    some old mouse from an older PC
    Internet Speed
    Gigabit symmetric (fibre); Bell Fibe
    Browser
    Firefox
    Antivirus
    ol' reliable Windows Defender
    Other Info
    Other peripherals:

    - Shure SM7B (Mexico)
    - AKG K 240 Studio (calibrated flat)
    - PDP FaceOff wired Switch gamepad
Can you provide the output of these commands?
Code:
Get-ChildItem "C:\Windows\System32\SecureBootUpdates"
Get-ChildItem "$env:SystemRoot\System32\SecureBootUpdates"
Get-ChildItem "$env:windir\System32\SecureBootUpdates"

dir env:

Get-ChildItem "C:\Windows\System32\SecureBootUpdates"
Get-ChildItem : Cannot find path 'C:\Windows\System32\SecureBootUpdates' because it does not exist.
At line:1 char:1
+ Get-ChildItem "C:\Windows\System32\SecureBootUpdates"
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (C:\Windows\System32\SecureBootUpdates:String) [Get-ChildItem], ItemNotF
oundException
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetChildItemCommand

Get-ChildItem "$env:SystemRoot\System32\SecureBootUpdates"
Get-ChildItem : Cannot find path 'C:\WINDOWS\System32\SecureBootUpdates' because it does not exist.
At line:1 char:1
+ Get-ChildItem "$env:SystemRoot\System32\SecureBootUpdates"
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (C:\WINDOWS\System32\SecureBootUpdates:String) [Get-ChildItem], ItemNotF
oundException
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetChildItemCommand

Get-ChildItem "$env:windir\System32\SecureBootUpdates"
Get-ChildItem : Cannot find path 'C:\WINDOWS\System32\SecureBootUpdates' because it does not exist.
At line:1 char:1
+ Get-ChildItem "$env:windir\System32\SecureBootUpdates"
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (C:\WINDOWS\System32\SecureBootUpdates:String) [Get-ChildItem], ItemNotF
oundException
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetChildItemCommand

Attached txt file is the result of dir env:
Regards
SaliesBuzz
 

Attachments

My Computer

System One

  • OS
    Windows11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Acemagic S1
    CPU
    Intel(R) N97, 2000 Mhz, 4 Core(s), 4 Logical
    Memory
    16Gb
    Graphics Card(s)
    Intel(R) UHD Graphics
    Sound Card
    (Generic USB Audio)
    Monitor(s) Displays
    2
    Screen Resolution
    2560 x 1440 x 59 hertz
    Hard Drives
    Model KPART512GBC2DVT 512Gb
Get-ChildItem "C:\Windows\System32\SecureBootUpdates"
Get-ChildItem : Cannot find path 'C:\Windows\System32\SecureBootUpdates' because it does not exist.
This part stumps me, because it's an absolute path with no variable substitution. It's like there's a permission problem reading the folder, even though you can see it from File Explorer, and probably "cd" into the directory. Is PowerShell 5.0 or 7.x? (it should say when you're opening PS).
 

My Computer

System One

  • OS
    Windows 7
Secure Boot: ON
Virtualization Based Security: ON
BitLocker on (C:) OFF

BIOS Firmware
-------------
ASUS System Product Name
Version: 3827
Date: 2026-02-06

Factory Default UEFI PK Cert
----------------------------
ASUSTeK MotherBoard PK Certificate

UEFI PK Cert
------------
ASUSTeK MotherBoard PK Certificate

Factory Default UEFI KEK Certs
------------------------------
Microsoft Corporation KEK CA 2011
Microsoft Corporation KEK 2K CA 2023
ASUSTeK MotherBoard KEK Certificate

UEFI KEK Certs
--------------
Microsoft Corporation KEK CA 2011
Microsoft Corporation KEK 2K CA 2023
ASUSTeK MotherBoard KEK Certificate

Factory Default 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
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
ASUSTeK MotherBoard SW Key Certificate
ASUSTeK Notebook SW Key Certificate

Factory Default UEFI DBX Certs
------------------------------
(NONE)
EFI_CERT_SHA256_GUID Signatures: 430

UEFI DBX Certs
--------------
Microsoft Windows Production PCA 2011
Windows BootMgr SVN 7.0
EFI_CERT_SHA256_GUID Signatures: 437

EFI Files
---------
Disk 0: Windows Boot Manager [Windows UEFI CA 2023] is ALLOWED.
bootmgfw.efi File version: 26100.30227

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

Disk 0: SkuSiPolicy.p7b (for VBS) is CURRENT.

STATUS REPORT
-------------
Registry: UEFICA2023Status = Updated

SUCCESS: NO UPDATES ARE REQUIRED.

=============================================================
This is ok I think now my next machine:
-----==========================================================

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

BIOS Firmware
-------------
Gigabyte Technology Co. B650 AORUS ELITE AX V2
Version: F39
Date: 2026-01-15

Factory Default UEFI PK Cert
----------------------------
(NONE)

UEFI PK Cert
------------
(NONE)

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

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
Windows UEFI 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

Factory Default UEFI DBX Certs
------------------------------
(NONE)
EFI_CERT_SHA256_GUID Signatures: 77

UEFI DBX Certs
--------------
Microsoft Windows Production PCA 2011
Windows BootMgr SVN 7.0
EFI_CERT_SHA256_GUID Signatures: 487

EFI Files
---------
Disk 0: Windows Boot Manager [Windows UEFI CA 2023] is ALLOWED.
bootmgfw.efi File version: 26100.30227

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

Disk 0: SkuSiPolicy.p7b (for VBS) is CURRENT.

STATUS REPORT
-------------
Registry: UEFICA2023Status = Updated

SUCCESS: NO UPDATES ARE REQUIRED.

The Gigabyte does not show any "SW Key Certificate" stuf, is that normal as I updates both systems with the latest BIOS ???
I used the [Check_UEFI-CA2023.ps1 -verbose]
Thank you for your great job !
 

My Computer

System One

  • OS
    Win11 24H2 IOT LTSC / Win11 Pro 25H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Gigabyte / Asus Home build
    CPU
    AMD Ryzen 7 8700G / AMD Ryzen 7 8700G
    Motherboard
    Gigabyte B650 AORUS ELITE AX V2 / ASUS TUF GAMING B650-PLUS
    Memory
    F5-6000J3636F16GX2-FX5 32GB / Lexar Ares RGB LD5BU016G-R6000GDLA 32GB
    Graphics Card(s)
    internal
    Sound Card
    Realtec
    Monitor(s) Displays
    BenQ 27 L EW2780
    Screen Resolution
    1920x1080
    Hard Drives
    Many M.2's
    Internet Speed
    400 mbs
    Browser
    Vivaldi
    Antivirus
    Eset
BIOS Firmware
-------------
ASUS System Product Name
Version: 3827
Date: 2026-02-06
SUCCESS: NO UPDATES ARE REQUIRED.
ASUS is good.

BIOS Firmware
-------------
Gigabyte Technology Co. B650 AORUS ELITE AX V2
Version: F39
Date: 2026-01-15

Factory Default UEFI PK Cert
----------------------------
(NONE)

UEFI PK Cert
------------
(NONE)
I believe you have the same bug as reported by @JamesSmith, Gigabyte's PK cert is missing any labels.

That's the way Gigabyte issued it. 🤷‍♂️ So the script mistakenly believes it's empty, I have a pending fix to copy whatever canonical name (CN=) exists in the PK's Subject line.

SUCCESS: NO UPDATES ARE REQUIRED.

The Gigabyte does not show any "SW Key Certificate" stuf, is that normal as I updates both systems with the latest BIOS ???
I used the [Check_UEFI-CA2023.ps1 -verbose]
Thank you for your great job !
Gigabyte is otherwise good.
 

My Computer

System One

  • OS
    Windows 7
This part stumps me, because it's an absolute path with no variable substitution. It's like there's a permission problem reading the folder, even though you can see it from File Explorer, and probably "cd" into the directory. Is PowerShell 5.0 or 7.x? (it should say when you're opening PS).
Powershell Version:
Name : ConsoleHost
Version : 5.1.26100.7920
InstanceId : e1fc2076-9fb4-401d-b584-2cdaec33ec58
UI : System.Management.Automation.Internal.Host.InternalHostUserInterface
CurrentCulture : en-GB
CurrentUICulture : en-GB
PrivateData : Microsoft.PowerShell.ConsoleHost+ConsoleColorProxy
DebuggerEnabled : True
IsRunspacePushed : False
Runspace : System.Management.Automation.Runspaces.LocalRunspace

PS C:\Users\Buzz> $PSVersionTable.PSVersion

Major Minor Build Revision
----- ----- ----- --------
5 1 26100 7920
 

My Computer

System One

  • OS
    Windows11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Acemagic S1
    CPU
    Intel(R) N97, 2000 Mhz, 4 Core(s), 4 Logical
    Memory
    16Gb
    Graphics Card(s)
    Intel(R) UHD Graphics
    Sound Card
    (Generic USB Audio)
    Monitor(s) Displays
    2
    Screen Resolution
    2560 x 1440 x 59 hertz
    Hard Drives
    Model KPART512GBC2DVT 512Gb
This is the latest Bios update from Gigabyte
  • This BIOS update addresses critical security vulnerabilities (CVE-2025-7026, CVE-2025-7027, CVE-2025-7029) identified by BRLY.
  • GIGABYTE strongly recommends all users update their system BIOS immediately to protect against potential security risks.
Does this update have anything to do with these 2023 KEYS ?
 

My Computer

System One

  • OS
    windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Antec/Case
    CPU
    Intel i5-10600kf
    Motherboard
    GIGABYTE Z590 UD AC
    Memory
    32gb corsair vengerance pro
    Graphics Card(s)
    AMD RX 6500XT
    Sound Card
    onboard
    Monitor(s) Displays
    40" Hisense
    Hard Drives
    Samsung 850
    Samsung 870
    Seagate 2TB
    PSU
    EVGA GQ 750
This is the latest Bios update from Gigabyte
  • This BIOS update addresses critical security vulnerabilities (CVE-2025-7026, CVE-2025-7027, CVE-2025-7029) identified by BRLY.
  • GIGABYTE strongly recommends all users update their system BIOS immediately to protect against potential security risks.
Does this update have anything to do with these 2023 KEYS ?
If your PC's have been getting BIOS updates for the past 2-3 years, the Secure Boot certs should have been added in earlier releases.

MS gave all the OEM's a deadline of last year to get it out the door.
 

My Computer

System One

  • OS
    Windows 7
Powershell Version:
Name : ConsoleHost
Version : 5.1.26100.7920
I normally test my scripts in both PS 5.1 & 7. Can you try running it from PS7, and see if there's a difference? Wondering if it's some Windows environment issue, and nothing to do with PS. "Doesn't exist" sometimes really means "PS can't open the folder for other reasons".
 

My Computer

System One

  • OS
    Windows 7
I normally test my scripts in both PS 5.1 & 7. Can you try running it from PS7, and see if there's a difference? Wondering if it's some Windows environment issue, and nothing to do with PS. "Doesn't exist" sometimes really means "PS can't open the folder for other reasons".
Even more bizarre!
I have run the relevant commands in Powershell again and now get:

PS C:\Users\Buzz> $PSVersionTable.PSVersion
Major Minor Build Revision
----- ----- ----- --------
5 1 26100 7920

powershell -ExecutionPolicy Bypass -File "C:\Buzz\SecureBoot\SecureBoot-CA-2023-Updates\Check_DBXUpdate.bin.ps1" -verbose
SUCCESS: Matched 431/431 EFI signatures from "dbxupdate.bin"
FAILED: Missing 3/3 SVN signatures from "DBXUpdate2024.bin"
Missing [01612B139DD5598843AB1C185C3CB2EB92000002000000000000000000000000] bootmgfw.efi SVN 2.0
Missing [019D2EF8E827E15841A4884C18ABE2F284000002000000000000000000000000] cdboot.efi SVN 2.0
Missing [01C2CA99C9FE7F6F4981279E2A8A535976000002000000000000000000000000] wdsmgfw.efi SVN 2.0

FAILED: Missing 3/3 SVN signatures from "DBXUpdateSVN.bin"
Missing [01612B139DD5598843AB1C185C3CB2EB92000007000000000000000000000000] bootmgfw.efi SVN 7.0
Missing [019D2EF8E827E15841A4884C18ABE2F284000003000000000000000000000000] cdboot.efi SVN 3.0
Missing [01C2CA99C9FE7F6F4981279E2A8A535976000003000000000000000000000000] wdsmgfw.efi SVN 3.0

PS C:\Users\Buzz> Get-ChildItem "C:\Windows\System32\SecureBootUpdates"

Directory: C:\Windows\System32\SecureBootUpdates


Mode LastWriteTime Length Name
---- ------------- ------ ----
-a---- 06/03/2026 14:44 82891997 BucketConfidenceData.cab
-a---- 01/04/2024 09:22 3 dbupdate.bin
-a---- 01/04/2024 09:22 4832 dbupdate2024.bin
-a---- 14/05/2025 07:51 4829 DBUpdate3P2023.bin
-a---- 14/05/2025 07:51 4840 DBUpdateOROM2023.bin
-a---- 11/01/2026 15:42 24053 dbxupdate.bin
-a---- 01/04/2024 09:22 5052 DBXUpdate2024.bin
-a---- 03/10/2025 16:18 3509 DBXUpdateSVN.bin
-a---- 01/03/2026 17:04 885128 KEKUpdateCombined.bin
-a---- 03/12/2024 06:23 45 SbatLevel.txt
-a---- 24/01/2026 13:07 6776 SKUSiPolicy.P7b

As you can see above this all under Powershell 5.

The only change from yesterday is that Windows has installed the March Monthly updates:
1773336690216.webp

I don't know why this has made a difference, but it obviously has. One of these updates does refer to Security Certificates and I can see that the directory was accessed on the 12/03/2026 at 01:07, bur nothing appears to have written to any file in there!

For Reference, I have installed Powershell 7 as well, and the results under that were:
PowerShell 7.5.4
PS C:\Users\Buzz> powershell -ExecutionPolicy Bypass -File "C:\Buzz\SecureBoot\SecureBoot-CA-2023-Updates\Check_DBXUpdate.bin.ps1" -verbose
SUCCESS: Matched 431/431 EFI signatures from "dbxupdate.bin"
FAILED: Missing 3/3 SVN signatures from "DBXUpdate2024.bin"
Missing [01612B139DD5598843AB1C185C3CB2EB92000002000000000000000000000000] bootmgfw.efi SVN 2.0
Missing [019D2EF8E827E15841A4884C18ABE2F284000002000000000000000000000000] cdboot.efi SVN 2.0
Missing [01C2CA99C9FE7F6F4981279E2A8A535976000002000000000000000000000000] wdsmgfw.efi SVN 2.0

FAILED: Missing 3/3 SVN signatures from "DBXUpdateSVN.bin"
Missing [01612B139DD5598843AB1C185C3CB2EB92000007000000000000000000000000] bootmgfw.efi SVN 7.0
Missing [019D2EF8E827E15841A4884C18ABE2F284000003000000000000000000000000] cdboot.efi SVN 3.0
Missing [01C2CA99C9FE7F6F4981279E2A8A535976000003000000000000000000000000] wdsmgfw.efi SVN 3.0
So, basically the same!

Need I be concerned by the missing SVN stuff, or is this to do with Virtualization?

Regards
SaliesBuzz
 

My Computer

System One

  • OS
    Windows11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Acemagic S1
    CPU
    Intel(R) N97, 2000 Mhz, 4 Core(s), 4 Logical
    Memory
    16Gb
    Graphics Card(s)
    Intel(R) UHD Graphics
    Sound Card
    (Generic USB Audio)
    Monitor(s) Displays
    2
    Screen Resolution
    2560 x 1440 x 59 hertz
    Hard Drives
    Model KPART512GBC2DVT 512Gb
I wonder if they pushed out a bug fix for PS 5, since the build number increased to .7920.

The reason you're missing the SVN's is because you haven't revoked the PCA 2011 cert. When the cert gets revoked, the SVN first goes to 2.0. Then the SVN update is applied which bumps it up to 7.0.

And it looks like Feb 2026's Preview added some PowerShell updates:
  • [Secure Boot]
    • With this update, Windows quality updates include additional high confidence device targeting data, increasing coverage of devices eligible to automatically receive new Secure Boot certificates. Devices receive the new certificates only after demonstrating sufficient successful update signals, maintaining a controlled and phased rollout.

    • This update introduces two new PowerShell features to help you manage the ongoing Secure Boot key rollout. The Get-SecureBootUEFI cmdlet now supports the -Decoded option, which displays Secure Boot keys and certificates in a readable format. The Get-SecureBootSVN cmdlet lets you check the Secure Boot Security Version Number (SVN) of your device’s UEFI firmware and bootloader, and report whether the device follows the latest Secure Boot policy.
 

My Computer

System One

  • OS
    Windows 7
ASUS is good.


I believe you have the same bug as reported by @JamesSmith, Gigabyte's PK cert is missing any labels.

That's the way Gigabyte issued it. 🤷‍♂️ So the script mistakenly believes it's empty, I have a pending fix to copy whatever canonical name (CN=) exists in the PK's Subject line.


Gigabyte is otherwise good.

Could Klaver7 run the custom script that you wrote for my Gigabyte Bios?

Or will everyone's Gigabyte Bios be different?
 
Last edited:

My Computers

System One System Two

  • OS
    Windows 11 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    Self built PC by me.
    CPU
    Intel Core i5-12600K 3.7 GHz 10-Core Processor
    Motherboard
    Gigabyte B760M H DDR4 Micro ATX LGA1700 Motherboard
    Memory
    Corsair Vengeance LPX 64 GB (2 x 32 GB) DDR4-3200 CL16 Memory
    Graphics Card(s)
    Integrated Intel UHD Graphics 770
    Sound Card
    Realtek
    Monitor(s) Displays
    LG
    Hard Drives
    Samsung 990 Pro 1 TB M.2-2280 PCIe 4.0 X4 NVME Solid State Drive
    Samsung 990 Pro 2 TB M.2-2280 PCIe 4.0 X4 NVME Solid State Drive
    PSU
    NZXT 850w ATX 3.1 Gold Fully Modular Power Supply
    Case
    Thermaltake Versa H25 ATX Mid Tower Case
    Cooling
    CPU Cooler Thermalright Assassin Spirit 120 EVO ARGB (ARGB Disabled) - Case Fans BlackThermalright TL-C12C-S X3 66.17 CFM 120 mm Fans 3-Pack (ARGB disabled)
    Internet Speed
    1 Gbps
    Other Info
    I hate ARGB.
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo ThinkBook 14 G2 ITL
Could Klaver7 run the custom script that you wrote for my Gigabyte Bios?

Or will everyone's Gigabyte Bios be different?
Here I ran the custom scrip:
===========
PS C:\WINDOWS\system32> powershell -nop -ep bypass -f C:\Temp\Check_UEFI-CA2023.ps1 -verbose
Windows 11 24H2 (26100.8037)

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

BIOS Firmware
-------------
Gigabyte Technology Co. B650 AORUS ELITE AX V2
Version: F39
Date: 2026-01-15

Factory Default UEFI PK Cert
----------------------------
GIGABYTE

UEFI PK Cert
------------
GIGABYTE

Factory Default UEFI KEK Certs
------------------------------
Microsoft Corporation KEK CA 2011
Microsoft Corporation KEK 2K CA 2023
GIGABYTE

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

Factory Default UEFI DB Certs
-----------------------------
Microsoft Corporation UEFI CA 2011
Microsoft Windows Production PCA 2011
Windows UEFI CA 2023
GIGABYTE
GIGABYTE

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
GIGABYTE
GIGABYTE

Factory Default UEFI DBX Certs
------------------------------
(NONE)
EFI_CERT_SHA256_GUID Signatures: 77

UEFI DBX Certs
--------------
Microsoft Windows Production PCA 2011
Windows BootMgr SVN 7.0
EFI_CERT_SHA256_GUID Signatures: 487

EFI Files
---------
Disk 0: Windows Boot Manager [Windows UEFI CA 2023] is ALLOWED.
bootmgfw.efi File version: 26100.30227

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

Disk 0: SkuSiPolicy.p7b version: 33284.17421.33440.335 is CURRENT.

STATUS REPORT
-------------
Registry: UEFICA2023Status = Updated

SUCCESS: NO UPDATES ARE REQUIRED.

PS C:\WINDOWS\system32>
===================
--------

Same outcome as you have with Gigabyte, nothing to worry about I think. Gigabye being lazy ?
 

My Computer

System One

  • OS
    Win11 24H2 IOT LTSC / Win11 Pro 25H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Gigabyte / Asus Home build
    CPU
    AMD Ryzen 7 8700G / AMD Ryzen 7 8700G
    Motherboard
    Gigabyte B650 AORUS ELITE AX V2 / ASUS TUF GAMING B650-PLUS
    Memory
    F5-6000J3636F16GX2-FX5 32GB / Lexar Ares RGB LD5BU016G-R6000GDLA 32GB
    Graphics Card(s)
    internal
    Sound Card
    Realtec
    Monitor(s) Displays
    BenQ 27 L EW2780
    Screen Resolution
    1920x1080
    Hard Drives
    Many M.2's
    Internet Speed
    400 mbs
    Browser
    Vivaldi
    Antivirus
    Eset
Here I ran the custom scrip:
===========
PS C:\WINDOWS\system32> powershell -nop -ep bypass -f C:\Temp\Check_UEFI-CA2023.ps1 -verbose
Windows 11 24H2 (26100.8037)

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

BIOS Firmware
-------------
Gigabyte Technology Co. B650 AORUS ELITE AX V2
Version: F39
Date: 2026-01-15

Factory Default UEFI PK Cert
----------------------------
GIGABYTE

UEFI PK Cert
------------
GIGABYTE

Factory Default UEFI KEK Certs
------------------------------
Microsoft Corporation KEK CA 2011
Microsoft Corporation KEK 2K CA 2023
GIGABYTE

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

Factory Default UEFI DB Certs
-----------------------------
Microsoft Corporation UEFI CA 2011
Microsoft Windows Production PCA 2011
Windows UEFI CA 2023
GIGABYTE
GIGABYTE

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
GIGABYTE
GIGABYTE

Factory Default UEFI DBX Certs
------------------------------
(NONE)
EFI_CERT_SHA256_GUID Signatures: 77

UEFI DBX Certs
--------------
Microsoft Windows Production PCA 2011
Windows BootMgr SVN 7.0
EFI_CERT_SHA256_GUID Signatures: 487

EFI Files
---------
Disk 0: Windows Boot Manager [Windows UEFI CA 2023] is ALLOWED.
bootmgfw.efi File version: 26100.30227

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

Disk 0: SkuSiPolicy.p7b version: 33284.17421.33440.335 is CURRENT.

STATUS REPORT
-------------
Registry: UEFICA2023Status = Updated

SUCCESS: NO UPDATES ARE REQUIRED.

PS C:\WINDOWS\system32>
===================
--------

Same outcome as you have with Gigabyte, nothing to worry about I think. Gigabye being lazy ?

We are both fine. Garlin troubleshooted this with me for a few hours. Both of our outputs match so that's good news.

I pretty sure this applies to all of Gigabyte's motherboards.

As time goes by I am sure we will see more of this.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    Self built PC by me.
    CPU
    Intel Core i5-12600K 3.7 GHz 10-Core Processor
    Motherboard
    Gigabyte B760M H DDR4 Micro ATX LGA1700 Motherboard
    Memory
    Corsair Vengeance LPX 64 GB (2 x 32 GB) DDR4-3200 CL16 Memory
    Graphics Card(s)
    Integrated Intel UHD Graphics 770
    Sound Card
    Realtek
    Monitor(s) Displays
    LG
    Hard Drives
    Samsung 990 Pro 1 TB M.2-2280 PCIe 4.0 X4 NVME Solid State Drive
    Samsung 990 Pro 2 TB M.2-2280 PCIe 4.0 X4 NVME Solid State Drive
    PSU
    NZXT 850w ATX 3.1 Gold Fully Modular Power Supply
    Case
    Thermaltake Versa H25 ATX Mid Tower Case
    Cooling
    CPU Cooler Thermalright Assassin Spirit 120 EVO ARGB (ARGB Disabled) - Case Fans BlackThermalright TL-C12C-S X3 66.17 CFM 120 mm Fans 3-Pack (ARGB disabled)
    Internet Speed
    1 Gbps
    Other Info
    I hate ARGB.
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo ThinkBook 14 G2 ITL
Quick question for @JamesSmith: have you installed the March 2026 Windows update?

There's a new PS feature just added to the Get-SecureBootUEFI command which converts the certs back into a human form. Can you run this to confirm what the actual Subject line for all those mysterious GIGABYTE certs?

Code:
> foreach ($var in @('PK','KEK','DB','DBX')) { "`n${var}:"; (Get-SecureBootUEFI -Name $var -Decoded).Subject }

PK:
CN=Windows OEM Devices PK, O=Microsoft Corporation, L=Redmond, S=Washington, C=US

KEK:
CN=Microsoft Corporation KEK CA 2011, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
CN=Microsoft Corporation KEK 2K CA 2023, O=Microsoft Corporation, C=US

DB:
CN=Microsoft Corporation UEFI CA 2011, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
CN=Microsoft Windows Production PCA 2011, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
CN=Windows UEFI CA 2023, O=Microsoft Corporation, C=US
CN=Microsoft UEFI CA 2023, O=Microsoft Corporation, C=US
CN=Microsoft Option ROM UEFI CA 2023, O=Microsoft Corporation, C=US

DBX:
CN=Microsoft Windows Production PCA 2011, O=Microsoft Corporation, L=Redmond, S=Washington, C=US

My suspicion is Gigabyte is publishing "CN=GIGABYTE" and nothing else on the Subject line.
 

My Computer

System One

  • OS
    Windows 7
I wonder if they pushed out a bug fix for PS 5, since the build number increased to .7920.

The reason you're missing the SVN's is because you haven't revoked the PCA 2011 cert. When the cert gets revoked, the SVN first goes to 2.0. Then the SVN update is applied which bumps it up to 7.0.

And it looks like Feb 2026's Preview added some PowerShell updates:
I presume that if:
[System.Text.Encoding]::ASCII.GetString((Get-SecureBootUEFI dbdefault).bytes) -match 'Windows UEFI CA 2023'
returns:
False
This is because the BIOS is non compliant and that, in the event of power failure and the CMOS battery failing, reloading the BIOS from defaults would mean having to run the Update 2023 scripts again?
In that event, I presume that Secure Boot would have to be temporarily disabled?
Regards
SaliesBuzz
 

My Computer

System One

  • OS
    Windows11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Acemagic S1
    CPU
    Intel(R) N97, 2000 Mhz, 4 Core(s), 4 Logical
    Memory
    16Gb
    Graphics Card(s)
    Intel(R) UHD Graphics
    Sound Card
    (Generic USB Audio)
    Monitor(s) Displays
    2
    Screen Resolution
    2560 x 1440 x 59 hertz
    Hard Drives
    Model KPART512GBC2DVT 512Gb
Morning @garlin,

The latest Windows Update caused my system to go into reboots - after booting, WU would say my system needed to reboot due to the new Update to 8037, I would reboot and it would do the same -- after ten such reboots I decided to reformat with an older ISO (it was all I had available at the time) and then upgrade from a clean install.

I was able to complete this after disabling Secure Boot first. Once the system was fully updated to 26200.8037 I was able to turn back on Secure Boot and it is using it according to both MSINFO32 and HWInfo.

My mobo is an MSI MS-7D78 running the latest non-beta bios (1.I0 dated 03/11/2025).

Ran the System Text Encoding command line I've seen and it came back TRUE

Ran your Check-UEFI script from your GitHub using Verbose (Release v2026.01.18) and this is what it shows:

Code:
C:\garlin>check-uefi -verbose
PowerShell 7.5.5
Windows 11 25H2 (26200.8037)

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

BIOS Firmware
-------------
    Micro-Star International Co. MS-7D78
    Version: 1.I0
    Date: 2025-03-11

Factory Default UEFI PK Cert
----------------------------
    MSI SHIP PK

UEFI PK Cert
------------
    MSI SHIP PK

Factory Default UEFI KEK Certs
------------------------------
    Microsoft Corporation KEK CA 2011
    Microsoft Corporation KEK 2K CA 2023
    MSI SHIP KEK

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

Factory Default UEFI DB Certs
-----------------------------
    Microsoft Corporation UEFI CA 2011
    Microsoft Windows Production PCA 2011
    Microsoft UEFI CA 2023
    Windows UEFI CA 2023
    MSI SHIP DB

UEFI DB Certs
-------------
    Microsoft Corporation UEFI CA 2011
    Microsoft Windows Production PCA 2011
    Microsoft UEFI CA 2023
    Windows UEFI CA 2023
    MSI SHIP DB

Factory Default UEFI DBX Certs
------------------------------
    (NONE)
    EFI_CERT_SHA256_GUID Signatures: 371

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

EFI Files
---------
    Disk 0: Windows Boot Manager [Windows UEFI CA 2023] is ALLOWED.
        bootmgfw.efi File version: 26100.30227

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

    Disk 0: SkuSiPolicy.p7b (for VBS) is NOT PRESENT.


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

OPTION 1:  DO NOTHING.  Windows will apply the UEFI updates in 2026 (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 0x4800 /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 0x4a82 /f
    powershell Start-ScheduledTask -TaskName "\Microsoft\Windows\PI\Secure-Boot-Update"

To install SkuSiPolicy.p7b, run the command:
    Update_UEFI-CA2023.ps1 -SkuSiPolicy

PS C:\garlin>

According to my Registry, the Confidence Level is listed as "Under Observation", UEFICA2023Status is "Not Started", and WindowsUEFI2023Capable is "2"

Ran the two new PS commands introduced with 8037 and here's what they say:

Code:
~  foreach ($var in @('PK','KEK','DB','DBX')) { $var; (Get-SecureBootUEFI -Name $var -Decoded).Subject }
PK
CN=MSI SHIP PK
KEK
CN=Microsoft Corporation KEK CA 2011, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
CN=Microsoft Corporation KEK 2K CA 2023, O=Microsoft Corporation, C=US
CN=MSI SHIP KEK
DB
CN=Microsoft Corporation UEFI CA 2011, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
CN=Microsoft Windows Production PCA 2011, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
CN=Windows UEFI CA 2023, O=Microsoft Corporation, C=US
CN=Microsoft UEFI CA 2023, O=Microsoft Corporation, C=US
CN=MSI SHIP DB
DBX
~  Get-SecureBootSVN

FirmwareSVN      : 0.0
BootManagerSVN   : 7.0
StagedSVN        : 7.0
ComplianceStatus : Not compliant (Staged SVN does not match firmware SVN)
BootManagerPath  : \\.\HarddiskVolume1\EFI\Microsoft\Boot\bootmgfw.efi

With all the changes you've made to your script since then and my recent system issues, I'm not sure how to proceed. There are beta bioses available for my mobo but I'm a little reluctant to run them because their listed as beta -- I would really be put out if my system stopped booting.... :P

Any advice on how to proceed would be greatly appreciated.
 

My Computer

System One

  • OS
    Windows 11 Pro 25H2 (26200.8457)
    Computer type
    PC/Desktop
    Manufacturer/Model
    Pre-built
    CPU
    AMD Ryzen 7 7800X3D
    Motherboard
    MSI Pro B650-VC WiFi
    Memory
    32gb Team Group (T-Force) DDR5-6000
    Graphics Card(s)
    Zotac nVidia GeForce RTX 4070 SUPER - 12gb
    Sound Card
    Sound BlasterX G6
    Monitor(s) Displays
    Koorui G2421V and ViewSonic VX2453
    Screen Resolution
    P:2560x1440 S:1920x1080
    Hard Drives
    WD Blue SN5000 - 500gb NVME
    WD Blue SN580 - 2TB NVME
    Seagate 4TB HDD - ST4000VN008-2DR166
    Keyboard
    Mountain Everest
    Mouse
    Logitech G502 Hero
    Internet Speed
    T-Mobile Home Internet
    Browser
    Firefox
    Other Info
    QNAP TS-469 Pro NAS
    TP-Link W7200 (2 unit mesh network)
    Elgato Streamdeck
I presume that if:
[System.Text.Encoding]::ASCII.GetString((Get-SecureBootUEFI dbdefault).bytes) -match 'Windows UEFI CA 2023'
returns:
False
This is because the BIOS is non compliant and that, in the event of power failure and the CMOS battery failing, reloading the BIOS from defaults would mean having to run the Update 2023 scripts again?
In that event, I presume that Secure Boot would have to be temporarily disabled?
No. All that means is the Windows UEFI CA 2023 hasn't been added to DB. You can't make any conclusions on a standalone check of just one setting. What needs to happen is all the different cert types need to be installed together.

Here's an analogy to explain the problem:

You're planning to fly overseas to another country. In order to accomplish that, you need an airline ticket and usually a visa from the other country. To get a visa, the other country needs your passport info.

It's possible to book the airline ticket without having a visa. The airline leaves that problem to the departure or arrivals staff at the different airports.
It's possible to request a visa without having an airline ticket. The other country leaves that problem to you.
It's possible you have a ticket and visa, but forget to show up with your passport.

In order to actually arrive in the other country, all the following things must be in place: booked ticket, approved visa, possession of a passport.

The Secure Boot update process is similar, all the pieces must be done. But you can skip around, and partially update some settings. If you have not revoked anything, then you're only adding new settings which don't prevent Secure Boot from booting. The main point of having a good script is most folks are not informed enough on how Secure Boot works to make good conclusions by looking at different settings.

The check script will highlight if your current boot file, as your UEFI stands right now, is ALLOWED or BANNED. If it's BANNED, then you have to fix the settings, or temporarily disable Secure Boot.
 

My Computer

System One

  • OS
    Windows 7
UEFI DB Certs
-------------
Microsoft Corporation UEFI CA 2011
Microsoft Windows Production PCA 2011
Microsoft UEFI CA 2023
Windows UEFI CA 2023
MSI SHIP DB
You're only missing the Option ROM (which might be needed for some older graphics cards). But since you booted fine, it can be added later.

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

EFI Files
---------
Disk 0: Windows Boot Manager [Windows UEFI CA 2023] is ALLOWED.
bootmgfw.efi File version: 26100.30227

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

Disk 0: SkuSiPolicy.p7b (for VBS) is NOT PRESENT.
Right now, PCA 2011 is not revoked. You have the option to use either old or new boot files, and your Windows is using the new file.

According to my Registry, the Confidence Level is listed as "Under Observation", UEFICA2023Status is "Not Started", and WindowsUEFI2023Capable is "2"
MS is grouping everyone's PC into different confidence buckets based on your exact motherboard and BIOS version. They're gathering telemetry data to figure out how often Windows is successful in updating the certs. For a popular PC model, those statistics are easier to collect. Based on the success/failure rate, they get a confidence level in pushing the updates to everyone who owns the same PC/BIOS.

Less popular PC's will take longer to decide if it's safe for MS to force an update. "Under Observation" means they don't have enough examples to know. Doesn't mean updates won't work, it's just the automated push doesn't want to make a stupid mistake at this point. (Maybe your BIOS has a fatal flaw and it bricks the PC).

With all the changes you've made to your script since then and my recent system issues, I'm not sure how to proceed. There are beta bioses available for my mobo but I'm a little reluctant to run them because their listed as beta -- I would really be put out if my system stopped booting.... :P

Any advice on how to proceed would be greatly appreciated.
I would say MSI's done a fairly good job on their firmwares, compared to how it's gone for ASUS or some HP models. Since my script suggested you could "DO NOTHING" means it checked the MS KEK database, and your MSI's PK on the supported list.

Most of the Secure Boot updates would have been added to firmware in the past 2 years. MS gave the OEM's a deadline of last year to get the changes added to their BIOS'es.

The core of the script hasn't changed much since it's October release. Most of the tweaks are to handle weird differences in PC models, since I only have the PC's that I own in front of me.
 

My Computer

System One

  • OS
    Windows 7
Thanks @garlin for the response.

Until MSI releases a non-beta bios and it's been clear for at least a week or so, I'll just do nothing and wait.
 

My Computer

System One

  • OS
    Windows 11 Pro 25H2 (26200.8457)
    Computer type
    PC/Desktop
    Manufacturer/Model
    Pre-built
    CPU
    AMD Ryzen 7 7800X3D
    Motherboard
    MSI Pro B650-VC WiFi
    Memory
    32gb Team Group (T-Force) DDR5-6000
    Graphics Card(s)
    Zotac nVidia GeForce RTX 4070 SUPER - 12gb
    Sound Card
    Sound BlasterX G6
    Monitor(s) Displays
    Koorui G2421V and ViewSonic VX2453
    Screen Resolution
    P:2560x1440 S:1920x1080
    Hard Drives
    WD Blue SN5000 - 500gb NVME
    WD Blue SN580 - 2TB NVME
    Seagate 4TB HDD - ST4000VN008-2DR166
    Keyboard
    Mountain Everest
    Mouse
    Logitech G502 Hero
    Internet Speed
    T-Mobile Home Internet
    Browser
    Firefox
    Other Info
    QNAP TS-469 Pro NAS
    TP-Link W7200 (2 unit mesh network)
    Elgato Streamdeck
Back
Top Bottom