If you've been keeping WinPE up to date with the Windows UEFI CA 2023 trust chain, you already know the basics: download the latest ADK, slipstream the cumulative update into WinPE, copy the _EX boot files from the patched WIM into the ISO, and run oscdimg. Microsoft's MakeWinPEMedia /bootex automates most of this, and the official docs walk through the rest.
Something easy to miss: a WinPE ISO contains three boot managers, and it took me a while to figure out which of the three was the one being evaluated for SVN at boot. I learned this the hard way building a PowerShell-based replacement for MakeWinPEMedia.cmd that I thought handled all the boot files correctly. Two of them, it did. The third, the bootmgr_EX.efi file, cost me an afternoon.
SVN Versions matters
When moving to the final Secure Boot configuration, the goal is simple: only allow trusted, updated boot components, and block anything older.
This means enforcing the new Secure Boot baseline by:
- Removing support for older boot managers and bootloaders
- Applying DBX updates to block known vulnerable components
- Setting and enforcing a minimum Secure Version Number (SVN)
Once the minimum SVN is enforced, devices will refuse to boot any component below that level. That includes older media or outdated recovery environments. If your WinPE ISO is not updated, you'll get the following error (or, not boot at all):

SVN Version History for EUFI 2023 signed boot managers
When building your WinPE ISO, as long as you apply the latest cumulative update to the boot image, your machines will always boot. If your boot managers are too old, the machine won't boot.
Microsoft does not update the Secure Version Number (SVN) monthly. These changes are introduced only when needed, typically tied to specific security updates or changes to boot components. For reference, you’ll find a list below showing when new SVN versions were released, so you can track what applies to your environment.
Note: Pre-April 2024 boot managers report SVN 1.0, but it's a label without teeth: The firmware-side enforcement that actually compares and blocks didn't exist until the April 2024 boot manager.
- 2.0: April 2024 CU and ISO
- 3.0: July 2024 CU and ISO
- 4.0: Skipped
- 5.0: January 2025 CU and ISO
- 6.0: June 2025 CU and ISO
- 7.0: July 2025 CU and ISO
- 8.0: April 2026 CU and ISO
- 9.0: June 2026 CU and ISO
The PowerShell Script
Download link: https://github.com/DeploymentResearch/DRFiles/blob/master/Scripts/SecureBoot/New-BootImageFromWindowsADKWithUEFI2023BootFiles.ps1
To create UEFI 2023 Compliant WinPE ISO Files for fully mitigated devices, you need to download the matching cumulative security updates. So, for WinPE images from the Windows 11 24H2 ADK, you download the two MSU files for Windows 11 24H2 and save them in the folder referenced by the script on line 22-23. By default, C:\Setup\Windows 11 24H2 Updates\2026-04.
In addition to updating WinPE with the cumulative updates, the script also copies the updated boot managers to the right locations and enables commonly used optional components in WinPE, such as PowerShell, WMI, and a few others.

Hi Johan,
Running this script today against fresh ADK Install:
ADK 10.1.26100.2454 (December 2024) with PE Add-on:and latest ADK patch applied:Windows ADK 10.1.26100.2454 Update KB5101684
Equipping with 24H2 July LCUs:
windows11.0-kb5121767-x64_588e6404d4e909f2609486fd91a7b28f02d4be0a.msu
windows11.0-kb5043080-x64_953449672073f8fb99badb4cc6d5d7849b9c83e8.msu
The script seems that it cannot find the bootmgr_EX.efi file in the mounted boot.wim, and then fails for these two lines
Copy-Item -Path "$WinPE_MountFolder\Windows\Boot\EFI_EX\bootmgr_EX.efi" -Destination "$WinPE_2023Bootbins"
Copy-Item -Path "$WinPE_2023Bootbins\bootmgr_EX.efi" -Destination "$WinPE_MediaFolder\bootmgr.efi"
Yes, Microsoft made a change startring with the June 202y media. Instead of updating the boot manager file, they delete it. I got a private ADK patch from the setup team to test with, did not work. Have no current workaround for this. Will update the post when I do.
Thanks Johan. Looking forward to your findings
I noticed in the script that that the commands for WinPE-DismCmdlets and WinPE-SecureBootCmdlets are the same.
# DISM Cmdlets (WinPE-DismCmdlets) Requires WinPE-WMI, WinPE-NetFx, and WinPE-PowerShell
& $DISM_Path\dism.exe /Image:$WinPE_MountFolder /Add-Package /PackagePath:$WinPE_OCs_Path\WinPE-DismCmdlets.cab
& $DISM_Path\dism.exe /Image:$WinPE_MountFolder /Add-Package /PackagePath:$WinPE_OCs_Path\en-us\WinPE-DismCmdlets_en-us.cab
# Secure Boot Cmdlets (WinPE-SecureBootCmdlets) Requires WinPE-WMI, WinPE-NetFx, and WinPE-PowerShell
& $DISM_Path\dism.exe /Image:$WinPE_MountFolder /Add-Package /PackagePath:$WinPE_OCs_Path\WinPE-DismCmdlets.cab
& $DISM_Path\dism.exe /Image:$WinPE_MountFolder /Add-Package /PackagePath:$WinPE_OCs_Path\en-us\WinPE-DismCmdlets_en-us.cab
Should it be this?
& $DISM_Path\dism.exe /Image:$WinPE_MountFolder /Add-Package /PackagePath:$WinPE_OCs_Path\WinPE-SecureBootCmdlets.cab
Ah, good catch, thank you for letting me know. The script is updated.
I use a similar script to create WinPE media incorporating the monthly updates. I found a problem with June's (KB5094126). The update deletes the bootmgr_EX.efi file. This causes your script to fail at line 154 when attempting to copy.
Have you encountered this problem yet? What is your resolution?
It's a known issue, and I'm working with ADK team on this. Will reply when I have more info.
Can this be done with the 22H2 ADK or do you need to move to 24H2 ADK?
It cannot, there are no updates available for Windows 11 22H2 anymore… (which that ADK is based on)
sorry for the spam, i can answer my own previous question, i needed to update wdsmgfw.efi for PXE to boot, but needed to add it manually to the winpe image, the checkbox in sccm is buggy and does not always replace the efi file with one signed with uefi2023. Also the version that sccm puts in the DP location is an outdated version with svn version 1 which is useless. The latest enterprise w11 iso contains one with latest svn.
Thanks for the update, and I believe the checkbox in sccm is only for the WDS-less provider.
do we need replace the PXE bootmgfw.efi aswell in the bootimage for sccm ? I just updated a bootimage and checked the box to use the UEFI2023 bootmgr but the .efi files on the distributionpoints were not updated .. (they are extracted from the bootimage at distribution in sccm and placed in the distributionpoints ?)
I am planning to create MDT Offline media to deploy Windows 11, please assit the step to add in offline media. I tried my best and no luck
I posted a step-by-step video on how to do that here: https://www.youtube.com/watch?v=BFkwnKVhWNs
Has Microsoft made any progress towards notifying the IT community of SVN changes before they happen? I know we can check SVN with the new Get-SecureBootSVN cmdlet which is a step in the right direction, but it is still reactionary.
No public information as far as I know, you'll have to check manually for now.