You can disable Secure Boot regardless of which option (WinPE/ADK or WinRE) was used to create the backup.
Here's a PowerShell script you can run as Administrator. It checks what is currently allowed by UEFI (CA 2011 or CA 2023). If your UEFI is set for CA 2023, then it will copy over that boot file to Windows or any mounted USB stick as needed. Only USB drives that have a boot file will be checked, anything else that is a plain data drive will be ignored.
If nothing needs to be done, it will inform you of that.
Hi garlin - Does this look good to you? Thanks...
PowerShell 7.5.4
PS C:\Users\neldog\Documents\Computer Files\Dell Tower Plus EBT2250\Secure Boot UEFI\New Garlin Scripts\New Garlin Jan 15> .\Check_UEFI-CA2023.ps1 -BootMedia
Secure Boot: ON
Virtualization Based Security: 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 Option ROM UEFI CA 2023
Microsoft UEFI CA 2023
Windows UEFI CA 2023
UEFI DBX Certs
--------------
Microsoft Windows PCA 2010
Microsoft Windows Production PCA 2011
Windows BootMgr SVN 7.0
EFI Files
---------
Disk 0: Windows Boot Manager [Windows UEFI CA 2023] is ALLOWED.
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.
Bootable Media
--------------
USB Drive D: "MACRIUM"
Boot File [Windows UEFI CA 2023] is ALLOWED.
USB Drive E: "26200-7462"
Boot File [Windows UEFI CA 2023] is ALLOWED.
boot.wim:2 Boot Manager [Windows UEFI CA 2023] is PRESENT.
install.swm:1 Boot Manager [Windows UEFI CA 2023] is PRESENT.
Skipping checks on next 6 install.swm images.
STATUS REPORT
-------------
Registry: UEFICA2023Status = Updated
SUCCESS: NO UPDATES ARE REQUIRED.