It looks like there's no answer to do this from anything aside from a full Windows 11 installation.
Note that I only need to do this on machines that don't already have a BIOS update that includes the 2023 certificates. If the target PC has this, none of the steps are necessary. This is just for slightly older PCs that won't get a BIOS update anymore, and in case someone's erased the machine's NVRAM and is getting a Secure Boot violation complaint when they try to restart.
I was able to do this using the same disk image I use for preparing PCs normally, just specifying the faster USB device as the restoration target.
If you do this yourself, use steps similar to these:
- Restore your Sysprep'd Win11 installation to a fast USB device. That installation should have the 2011-signed boot manager.
- Use dism's /add-driver command to add any needed network drivers to the restored Win11 on the fast USB device. I found I only needed network drivers as I don't need to use a PC's local storage volumes just to restore Secure Boot certs.
- Make sure the machine is in Secure Boot Deployed mode and at least has the 2011 certificates. As of February 2026 it appears any PC that supports UEFI Secure Boot will at least have this.
- Boot from the fast USB device. If the Windows installation was in Sysprep Audit mode, it should automatically sign in as the built-in Administrator. If network drivers are loaded it should also have internet access.
- Use the Check scripts from the Check UEFI Secure Boot repository to check the Secure Boot status. Avoid using the "Apply 2023 KEK, DB and bootmgfw update" script as this will also mess with the boot loader of your USB device.
- Instead make a copy of the "Apply 2023" script and change the Registry value on the script from 0x5944 to 0x1844, which should just reinstall the 2023 KEK and 2023 DB certs. Run the modified version.
- Run the scheduled task Microsoft/Windows/PI/Secure-Boot-Update by hand, as for some reason Sysprep audit mode won't allow any scripted command to run this. It will be stuck in "Queued" mode until you run it by hand.
- Run the Check script to confirm that the 2023 certs are in the Current Secure Boot sections.
- Shut down the USB Windows and keep it handy for the next machine you need to do this to. Restart the machine using its original OS and it should start.
I found if I was doing this to a machine that had BitLocker enabled, restarting the machine after this would prompt for the recovery key, so keep a copy of that in a secure location. After it's been keyed in once, it shouldn't ask for the recovery key again on subsequent restarts.