Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Microsoft Corporation UEFI CA 2011 Microsoft Windows Production PCA 2011 Microsoft UEFI CA 2023 Windows UEFI CA 2023 Mosby
You shouldn't say the script is misbehaving... The script uses a 3rd-party GitHub function that's been published and referenced in UEFI circles. It's never failed me until encountering this PC's output.IDK I used Mosby v2.3 release from Jun 11 2025. Everything works fine on my system, it is the Check_EFIBootFile.ps1 script that is misbehaving.
Glad I just used Microsoft instruction instead of Mosby.
Did you go into bios and make sure secure boot set to UEFI and CSM is disabled?
Here's a Mosby-compatible version of my script, which does a plain string match.
It's not 100% authoritative, since someone could create a single cert named:
Code:Microsoft Corporation UEFI CA 2011 Microsoft Windows Production PCA 2011 Microsoft UEFI CA 2023 Windows UEFI CA 2023 Mosby

C:\WINDOWS\system32>powershell -nop -ep bypass -f D:\Check_EFIBootFile\CheckCertificates.ps1
DEBUG: 3+ >>>> [System.Text.Encoding]::ASCII.GetString((Get-SecureBootUEFI kek).bytes) -match 'Microsoft Corporation KEK CA 2011'
True
DEBUG: 4+ >>>> [System.Text.Encoding]::ASCII.GetString((Get-SecureBootUEFI kek).bytes) -match 'Microsoft Corporation KEK 2K CA 2023'
True
DEBUG: 5+ >>>> [System.Text.Encoding]::ASCII.GetString((Get-SecureBootUEFI kek).bytes) -match 'Mosby'
False
DEBUG: 7+ >>>> [System.Text.Encoding]::ASCII.GetString((Get-SecureBootUEFI db).bytes) -match 'Microsoft Corporation UEFI CA 2011'
True
DEBUG: 8+ >>>> [System.Text.Encoding]::ASCII.GetString((Get-SecureBootUEFI db).bytes) -match 'Microsoft Windows Production PCA 2011'
True
DEBUG: 9+ >>>> [System.Text.Encoding]::ASCII.GetString((Get-SecureBootUEFI db).bytes) -match 'Microsoft UEFI CA 2023'
True
DEBUG: 10+ >>>> [System.Text.Encoding]::ASCII.GetString((Get-SecureBootUEFI db).bytes) -match 'Windows UEFI CA 2023'
True
DEBUG: 11+ >>>> [System.Text.Encoding]::ASCII.GetString((Get-SecureBootUEFI db).bytes) -match 'Mosby'
True
DEBUG: 13+ >>>> [System.Text.Encoding]::ASCII.GetString((Get-SecureBootUEFI dbx).bytes) -match 'Microsoft Corporation UEFI CA 2011'
False
DEBUG: 14+ >>>> [System.Text.Encoding]::ASCII.GetString((Get-SecureBootUEFI dbx).bytes) -match 'Microsoft Windows Production PCA 2011'
False
DEBUG: 15+ >>>> [System.Text.Encoding]::ASCII.GetString((Get-SecureBootUEFI dbx).bytes) -match 'Microsoft UEFI CA 2023'
False
DEBUG: 16+ >>>> [System.Text.Encoding]::ASCII.GetString((Get-SecureBootUEFI dbx).bytes) -match 'Windows UEFI CA 2023'
False
DEBUG: 17+ >>>> [System.Text.Encoding]::ASCII.GetString((Get-SecureBootUEFI dbx).bytes) -match 'Mosby'
False
C:\WINDOWS\system32>pause done
Press any key to continue . . .
Ok, lets try again ... here is what the updated script produces ... exact same as your original script produced for me yesterday,Oops. My bad, copy & paste error. Re-download the script again.
C:\WINDOWS\system32>powershell -nop -ep bypass -f D:\Check_EFIBootFile\Check_Mosby_EFIBootFile.ps1
Secure Boot: ON
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 UEFI CA 2023
Windows UEFI CA 2023
Mosby
UEFI DBX Certs
--------------
EFI Files
---------
Disk 1: Boot Manager [Production PCA 2011] is ALLOWED.
Registry: WindowsUEFICA2023Capable = 1
[Windows UEFI CA 2023] is in UEFI DB.
C:\WINDOWS\system32>pause done






Thanks, that is unchecked already.@Almighty1
View attachment 145668
I also read that on Dell systems CSM is called Legacy Option ROMs, maybe under General>Advanced boot options.
Yeah, on ASRock B550 PG Velocita, that bull pucky is enabled by default!Thanks, that is unchecked already.
Secure Boot: ON
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
Windows UEFI CA 2023
UEFI DBX Certs
--------------
EFI Files
---------
Disk 4: Boot Manager [Windows UEFI CA 2023] is ALLOWED.
Registry: WindowsUEFICA2023Capable = 2
[Windows UEFI CA 2023] is in UEFI DB, and Windows is starting from CA 2023 Boot Manager.
microsoft corporation kek 2k ca 2023.crt[URL]https://go.microsoft.com/fwlink/?linkid=2239775[/URL]My check cert output looks just like yours after running the script at the beginning of this thread. I assume I need the 2023 cert under KEK as well? If so, what is the safe way/commands/script to do that? Thanks.
Microsoft will provide the certificate to partners and it can be added either as an EFI_CERT_X509_GUID or an EFI_CERT_RSA2048_GUID type signature.
I got it working thanks to someone answering my question on reddit at:Speaking about Mosby, anyone here actually using a Dell machine because on my Dell XPS 15 9570 which has the following layout:
View attachment 145642
View attachment 145643
View attachment 145644
View attachment 145645
I had it on Audit Mode and I tried both Enable Custom Mode enabled and disabled under Expert Key Management and in all instances, all I get is:
"Failed to set Secure Boot variable: Security Boot violation" even after setting Secure Boot Enable to off:
View attachment 145646
@KevTech - What exactly is CSM as I had been seeing that when I search on Google but I am not sure if my bios setup even has that option.

www.elevenforum.com

If you get the error:
Cannot convert value "System.Byte[]" to type "System.Guid". Error: "Byte array for GUID must be exactly 16 bytes long."
...it's because your passing the wrong '.bin' file, like 'x64_DBXUpdate.bin'.
Secure Boot: ON
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
Windows UEFI CA 2023
UEFI DBX Certs
--------------
EFI Files
---------
Disk 4: Boot Manager [Windows UEFI CA 2023] is ALLOWED.
Registry: WindowsUEFICA2023Capable = 2
[Windows UEFI CA 2023] is in UEFI DB, and Windows is starting from CA 2023 Boot Manager.
Bootable Media
--------------
USB J: ""
[Windows UEFI CA 2023] is in UEFI DB, and Windows is starting from CA 2023 Boot Manager.