Can you run the script with "-Verbose" option? One the UEFI variables may be corrupted, and doesn't allow PS to read it.
My Computer
System One
-
- OS
- Windows 7
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.
CA 2023 certs are present, but CA 2011 has not been revoked.Current UEFI DBX
2025-10-14 (v1.6.0) : SUCCESS: 431 successes detected
Windows Bootmgr SVN : None
Windows cdboot SVN : None
Windows wdsmgfw SVN : None
Well probably easier waiting on MS to Perform the Revocation as right now i'd imagine i'd have issues with Macrium Reflect Rescue Flash drive like i had a few times in the past with it when previously i did have it Revoked at least on the Desktop, but also just updated the UEFI Bios on Desktop yesterday.CA 2023 certs are present, but CA 2011 has not been revoked.
You're good for now if you want to wait for MS to perform the CA 2011 revocation.
Showed this earlier. In order to fix this "None" issue; Run the following commands in Powershell as Admin;Current UEFI DBX
2025-10-14 (v1.6.0) : SUCCESS: 431 successes detected
Windows Bootmgr SVN : None
Windows cdboot SVN : None
Windows wdsmgfw SVN : None
Press any key to continue . . .
Received this error in Powershell as Admin when adding the second LineShowed this earlier. In order to fix this "None" issue; Run the following commands in Powershell as Admin;
- reg add HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Secureboot /v AvailableUpdates /t REG_DWORD /d 0x200 /f
- Start-ScheduledTask -TaskName "\Microsoft\Windows\PI\Secure-Boot-Update"
After that; SVN's will show 7.0, 3.0 and 3.0. If they show other numbers ; your are not at the latest Windows version.
And yet.... Your output looks still OK. That the script fails to get the default XXXX values lies maybe in the fact that in the past you have deleted those default setting inside your BIOS. (Those values are stored inside a separate piece of NVRAM on your motherboard alongside with your BIOS settings) You can do that, but you have to download them first onto your drive, store these at secure place, delete them and upload a different one to replace the original ones. Now they are empty and the script didn't expected that and gives you a failure obtaining it's value's. (no matter which script you uses; there are gone.)As you can see, I used MOSBY to do the update in the bios. It seemed to go just fine, but now when I enable secure boot, I get the error message "A bootable device has not been detected." Boots fine without secure boot enabled. I'm really, REALLY stumped at this point. Any advice anyone has would be greatly appreciated. I've done, checked, redone, rechecked, SO many times now, I'm about to pull what's left of my hair out. Thanks in advance.![]()
Start-ScheduledTask -TaskPath \Microsoft\Windows\PI\ -TaskName Secure-Boot-UpdateStart-ScheduledTask: The system cannot find the file specified.
OK... (I used this command myself just now to check if it could be found. No issues here. Comes straight back after completing it task)Received this error in Powershell as Admin when adding the second Line
PS C:\> Start-ScheduledTask -TaskName "\Microsoft\Windows\PI\Secure-Boot-Update"
Start-ScheduledTask: The system cannot find the file specified.
The first one said Operation completed successfully
Well won't let me replace the Description line at all with the English versionOK... (I used this command myself just now to check if it could be found. No issues here. Comes straight back after completing it task)
That means... Someone deleted that task?... Check for it existence:
Check the following: Win+R: taskschd.msc.
The taskschedular will start. Dive deep into; Select Microsoft - Windows - PI and see inside the tree "PI" there is a task called "Secure-Boot-Update" (Underneath that one there should be a second task called "Sqm-Task")
If the task "Secure-Boot-Update" isn't there then... Somewhere back in time that task has been deleted by ????. It should be there! It is essential that it is there otherwise all this CA2023 stuff won't work. By calling this task; A specific Job-Function (in this case 0x200) is placed as a value inside AvailableUpdates as a to-do job. (There are several numbers available; not more that 5 that will execute certain tasks) This Secure-Boot-Update task picks up this 0x200 request and sends it to a MS Server. In respons some stuff is downloaded and applied. When successful this value (AvailableUpdates) will reset to 0x000 again to show you and the system it has finished with succes. I bet if you look now that value will still be 0x200 because that Secure-Boot-Update task inside the taskschedular is missing.
If it is indeed missing; no worry's I have made an export of this task in the past. (Helped someone else who's scheduled task was also deleted) It is a .xml file which is readable just as a normal .xml file would be. I will include this .xml as an attachment. Save it somewhere on disk. Stay inside the taskschedular in the same tree; Microsoft\Windows\PI. On the rightside richtclick on an empty space and "import task" point to that saved .xml file and OK. You just imported the vanished but needed scheduled task. Now execute that Start-ScheduledTask command again. It is there and it will finish his job. Check if AvailebleUpdates has gone from 0x200 back to 0x000. An indication that it has finished the job with succes. See then if now that None value has been resolved. (No reboot needed or maybe one time.) This scheduled task will be called during boot and every 12 hours. But now your calling it by yourself, so it must do something right now.....
Goodluck.
Ah. Attachment don't accept .xml files. OK. I then zip it first then.....
Note: I see now that one line in the .xml file is showing a Dutch description. That part of the .xml line can be replaced by the English version of it:
Replace this line:
<Description>Met deze taak worden de variabelen van Beveiligd opstarten bijgewerkt.</Description>
By this line:
<Description>This task updates the variables of Secure Boot.</Description>
Save.
Hi garlin,
---
PS C:\Downloads\SecureBoot-CA-2023-Updates> .\Check_UEFI-CA2023.ps1 -Verbose
Windows 11 25H2 (26200.7840)
Secure Boot: ON
Virtualization Based Security: ON
BitLocker on (C:) ON
BIOS Firmware
-------------
Microsoft Corporation Surface Pro 7
Version: 24.109.140
Date: 2025-07-21
ERROR: Failed to read UEFI Secure Boot settings.
Die Variable ist zurzeit nicht definiert: 0xC0000100
---
Hi neves,
yes, i looked it up for my Surface 7 Pro, and the one from July 2025 seems to be the lastest one.
Microsofts official page <--- *click* lists 17.200.140.0 as the minimum version, which would be from december 2023.
September 2025 updates
September 30 release
The following update is available for Surface Pro 7 devices running Windows 10, Version 22H2 or greater.
Improvements and fixes:
This release contains the following components. The specific components installed are based on your device’s configuration:
- Security:
- Addresses potential security vulnerabilities related to Intel® Chipset Firmware Advisory INTEL-SA-01280 that may allow escalation of privilege or information disclosure.
Windows Update Name Device Manager Surface - Firmware - 13.0.2490.3 Surface ME - Firmware Surface - Firmware - 24.109.140.0 Surface UEFI - Firmware Intel - System - 2512.7.3.0 Intel(R) Management Engine Interface #1 - System devices Intel - SoftwareComponent - 1.76.95.0 Intel(R) iCLS Client - Software components
Looks like that scheduled task was missing. Now it is present... It has done it's job. All have checkmarks (Default and Current) and all SVN's are as they should be. You're system is ready for the long awaited CA2023 update. (or will they call it CA2024?.....) Today I saw a small OOB update that was fixing some things that has to do with the MS account. (I had an issue with it too) My PC was no longer visible inside my MS account. (2 other machines were) Ater this update; it was there again........
Current UEFI DBX
2025-10-14 (v1.6.0) : SUCCESS: 431 successes detected
Windows Bootmgr SVN : 7.0
Windows cdboot SVN : 3.0
Windows wdsmgfw SVN : 3.0
Press any key to continue . . .
I assume i should do the same steps next time i'm on PC 2 Newer Gaming Laptop, as i haven't done much with the CA2023 certs on that machine at all since getting it. (It is Windows 11 Compatible, Asus TUF AMD Advantage edition FA617NT.A16.R7700)Looks like that scheduled task was missing. Now it is present... It has done it's job. All have checkmarks (Default and Current) and all SVN's are as they should be. You're system is ready for the long awaited CA2023 update. (or will they call it CA2024?.....) Today I saw a small OOB update that was fixing some things that has to do with the MS account. (I had an issue with it too) My PC was no longer visible inside my MS account. (2 other machines were) Ater this update; it was there again...
But besides that; 2 new certificates were placed inside the intermediate store; "MS Code Signing PCA 2024" and "MS Windows Code Signing PCA 2024". Still no sign of that "MS Windows Production PCA 2023" (or PCA 2024 by now....) certificate that will replace the current "MS Windows Production PCA 2011" certificate. Only 2 drivers were updated inside the C:\Windows\system32\drivers directory. Both still pointing towards that PCA 2011 certificate.....
Well you have to wait and see. I assume that missing scheduled task was just a fluke accident.I assume i should do the same steps next time i'm on PC 2 Newer Gaming Laptop, as i haven't done much with the CA2023 certs on that machine at all since getting it. (It is Windows 11 Compatible, Asus TUF AMD Advantage edition FA617NT.A16.R7700)
Anyhow relaxes now for remainder of today, probably work on PC 2 sometime possibly tomorrow or next day
See post #369.Yeah I don't know how that scheduled task wasn't present in task scheduler. As I dont go in it much or delete anything there on purpose ever.
Unless somehow I left task scheduler open, and somehow cat managed to do it in the past when I wasn't at desk.
I dont run any cleaner applications, just Defender, Malwarebytes Premium, all updates always installed
Anyhow fixed on Desktop now, and other machine I'll check next time I use it, maybe tomorrow