@Trenchboygun you don't get the error because it doesn't need to enable the netfx35 feature and reinstalling the LCU, that part fails when you enable it during the same integration. First i ran W10UI with the defender cab and the .netfx35 cab (no LCU) to integrate .netfx35: My usual settings: resetbase Code: ============================================================ Running W10UI v10.41 ============================================================ ============================================================ Extracting dpx.dll file... ============================================================ ============================================================ Extracting files from update cabinets (.cab)... *** This will require some disk space, please be patient *** ============================================================ 1/1: defender-dism-x64_steven4554_April_10_2024.cab ============================================================ Mounting sources\install.wim - index 1/3 ============================================================ Deployment Image Servicing and Management tool Version: 10.0.26100.1 Mounting image [==========================100.0%==========================] The operation completed successfully. ============================================================ Checking Updates... ============================================================ ============================================================ Installing updates... ============================================================ ============================================================ Adding Defender update... ============================================================ ============================================================ Adding .NET Framework 3.5 feature... ============================================================ Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image Version: 10.0.26100.1 Enabling feature(s) [==========================100.0%==========================] The operation completed successfully. ============================================================ Updating winre.wim ... ============================================================ Deployment Image Servicing and Management tool Version: 10.0.26100.1 Mounting image [==========================100.0%==========================] The operation completed successfully. All applicable updates are detected as installed Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image File : E:\W10UI_LTSC_2024_26100\winre.wim Image Index : 1 Unmounting image [==========================100.0%==========================] The operation completed successfully. ============================================================ Adding updated winre.wim ... ============================================================ 1 file(s) copied. ============================================================ Unmounting sources\install.wim - index 1/3 ============================================================ Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image File : E:\W10UI_LTSC_2024_26100\Work\sources\install.wim Image Index : 1 Saving image [==========================100.0%==========================] Unmounting image [==========================100.0%==========================] The operation completed successfully. ============================================================ Mounting sources\boot.wim - index 1/2 ============================================================ Deployment Image Servicing and Management tool Version: 10.0.26100.1 Mounting image [==========================100.0%==========================] The operation completed successfully. ============================================================ Checking Updates... ============================================================ All applicable updates are detected as installed ============================================================ Unmounting sources\boot.wim - index 1/2 ============================================================ Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image File : E:\W10UI_LTSC_2024_26100\Work\sources\boot.wim Image Index : 1 Unmounting image [==========================100.0%==========================] The operation completed successfully. ============================================================ Mounting sources\boot.wim - index 2/2 ============================================================ Deployment Image Servicing and Management tool Version: 10.0.26100.1 Mounting image [==========================100.0%==========================] The operation completed successfully. ============================================================ Checking Updates... ============================================================ All applicable updates are detected as installed ============================================================ Unmounting sources\boot.wim - index 2/2 ============================================================ Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image File : E:\W10UI_LTSC_2024_26100\Work\sources\boot.wim Image Index : 2 Unmounting image [==========================100.0%==========================] The operation completed successfully. ============================================================ Rebuilding sources\boot.wim ... ============================================================ Deployment Image Servicing and Management tool Version: 10.0.26100.1 Exporting image [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.26100.1 Exporting image [==========================100.0%==========================] The operation completed successfully. ============================================================ Removing temporary extracted files... ============================================================ ============================================================ Creating updated ISO file... ============================================================ ISO Location: "E:\W10UI_LTSC_2024_26100" OSCDIMG 2.56 CD-ROM and DVD-ROM Premastering Utility Copyright (C) Microsoft, 1993-2012. All rights reserved. Licensed only for producing Microsoft authorized content. Scanning source tree (500 files in 45 directories) Scanning source tree complete (959 files in 88 directories) Computing directory information complete Image file is 4664197120 bytes (before optimization) Writing 959 files in 88 directories to 26100.1.240331-1435.GE_RELEASE_CLIENT_X64FRE_EN-US.iso 100% complete Storage optimization saved 25 files, 14342144 bytes (1% of image) After optimization, image file is 4652034048 bytes Space saved because of embedding, sparseness or optimization = 14342144 Done. ============================================================ Finished ============================================================ Press 9 or q to exit. Next i run W10UI again but this time with the LCU present: Code: ============================================================ Running W10UI v10.41 ============================================================ ============================================================ Extracting dpx.dll file... ============================================================ ============================================================ Extracting .cab files from .msu files... ============================================================ 1/1: Windows11.0-KB5037941-x64.msu [Combined UUP] ============================================================ Extracting files from update cabinets (.cab)... *** This will require some disk space, please be patient *** ============================================================ 1/2: Windows11.0-KB5036032-x64-NDP481_CU_Canary_9232.1.cab [NetFx] 2/2: Windows10.0-KB5038000-x64_inout.cab [SSU] ============================================================ Mounting sources\install.wim - index 1/3 ============================================================ Deployment Image Servicing and Management tool Version: 10.0.26100.1 Mounting image [==========================100.0%==========================] The operation completed successfully. ============================================================ Checking Updates... ============================================================ ============================================================ Installing servicing stack update... ============================================================ Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image Version: 10.0.26100.1 Processing 1 of 1 - Adding package Package_for_ServicingStack_2~31bf3856ad364e35~amd64~~26100.2.1.0 [==========================100.0%==========================] The changes due to package Package_for_ServicingStack_2 requires the current servicing session to be reloaded. All the packages will be processed again. The operation completed successfully. ============================================================ Installing updates... ============================================================ Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image Version: 10.0.26100.1 Processing 1 of 1 - Adding package Package_for_DotNetRollup_481~31bf3856ad364e35~amd64~~10.0.9232.1 [==========================100.0%==========================] The operation completed successfully. Windows11.0-KB5037941-x64.msu Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image Version: 10.0.26100.1 Processing 1 of 1 - [==========================100.0%==========================] [==========================100.0%==========================] The operation completed successfully. .NET 3.5 feature: already enabled ============================================================ Updating winre.wim ... ============================================================ Deployment Image Servicing and Management tool Version: 10.0.26100.1 Mounting image [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image Version: 10.0.26100.1 Processing 1 of 1 - Adding package Package_for_ServicingStack_2~31bf3856ad364e35~amd64~~26100.2.1.0 [==========================100.0%==========================] The changes due to package Package_for_ServicingStack_2 requires the current servicing session to be reloaded. All the packages will be processed again. The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image File : E:\W10UI_LTSC_2024_26100\winre.wim Image Index : 1 Saving image [==========================100.0%==========================] Unmounting image [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.26100.1 Exporting image [==========================100.0%==========================] The operation completed successfully. ============================================================ Adding updated winre.wim ... ============================================================ 1 file(s) copied. ============================================================ Unmounting sources\install.wim - index 1/3 ============================================================ Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image File : E:\W10UI_LTSC_2024_26100\Work\sources\install.wim Image Index : 1 Saving image [==========================100.0%==========================] Unmounting image [==========================100.0%==========================] The operation completed successfully. ============================================================ Mounting sources\boot.wim - index 1/2 ============================================================ Deployment Image Servicing and Management tool Version: 10.0.26100.1 Mounting image [==========================100.0%==========================] The operation completed successfully. ============================================================ Checking Updates... ============================================================ ============================================================ Installing servicing stack update... ============================================================ Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image Version: 10.0.26100.1 Processing 1 of 1 - Adding package Package_for_ServicingStack_2~31bf3856ad364e35~amd64~~26100.2.1.0 [==========================100.0%==========================] The changes due to package Package_for_ServicingStack_2 requires the current servicing session to be reloaded. All the packages will be processed again. The operation completed successfully. ============================================================ Installing updates... ============================================================ Windows11.0-KB5037941-x64.msu Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image Version: 10.0.26100.1 Processing 1 of 1 - [==========================100.0%==========================] [==========================100.0%==========================] The operation completed successfully. ============================================================ Resetting WinPE image base... ============================================================ Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image Version: 10.0.26100.2 [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image Version: 10.0.26100.2 [===========================70.0%======== ] The operation completed successfully. ============================================================ Unmounting sources\boot.wim - index 1/2 ============================================================ Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image File : E:\W10UI_LTSC_2024_26100\Work\sources\boot.wim Image Index : 1 Saving image [==========================100.0%==========================] Unmounting image [==========================100.0%==========================] The operation completed successfully. ============================================================ Mounting sources\boot.wim - index 2/2 ============================================================ Deployment Image Servicing and Management tool Version: 10.0.26100.1 Mounting image [==========================100.0%==========================] The operation completed successfully. ============================================================ Checking Updates... ============================================================ ============================================================ Installing servicing stack update... ============================================================ Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image Version: 10.0.26100.1 Processing 1 of 1 - Adding package Package_for_ServicingStack_2~31bf3856ad364e35~amd64~~26100.2.1.0 [==========================100.0%==========================] The changes due to package Package_for_ServicingStack_2 requires the current servicing session to be reloaded. All the packages will be processed again. The operation completed successfully. ============================================================ Installing updates... ============================================================ Windows11.0-KB5037941-x64.msu Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image Version: 10.0.26100.1 Processing 1 of 1 - [==========================100.0%==========================] [==========================100.0%==========================] The operation completed successfully. ============================================================ Resetting WinPE image base... ============================================================ Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image Version: 10.0.26100.2 [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image Version: 10.0.26100.2 [===========================70.0%======== ] The operation completed successfully. ============================================================ Unmounting sources\boot.wim - index 2/2 ============================================================ Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image File : E:\W10UI_LTSC_2024_26100\Work\sources\boot.wim Image Index : 2 Saving image [==========================100.0%==========================] Unmounting image [==========================100.0%==========================] The operation completed successfully. ============================================================ Rebuilding sources\boot.wim ... ============================================================ Deployment Image Servicing and Management tool Version: 10.0.26100.1 Exporting image [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.26100.1 Exporting image [==========================100.0%==========================] The operation completed successfully. ============================================================ Removing temporary extracted files... ============================================================ ============================================================ Creating updated ISO file... ============================================================ ISO Location: "E:\W10UI_LTSC_2024_26100" OSCDIMG 2.56 CD-ROM and DVD-ROM Premastering Utility Copyright (C) Microsoft, 1993-2012. All rights reserved. Licensed only for producing Microsoft authorized content. Scanning source tree (500 files in 45 directories) Scanning source tree complete (959 files in 88 directories) Computing directory information complete Image file is 4907139072 bytes (before optimization) Writing 959 files in 88 directories to 26100.2.240409-0433.GE_RELEASE_SVC_OEM_CLIENT_X64FRE_EN-US.iso 100% complete Storage optimization saved 25 files, 14342144 bytes (1% of image) After optimization, image file is 4894961664 bytes Space saved because of embedding, sparseness or optimization = 14342144 Done. ============================================================ Finished ============================================================ Press 9 or q to exit. No cleanup selected with all updates present: Code: ============================================================ Running W10UI v10.41 ============================================================ ============================================================ Extracting dpx.dll file... ============================================================ ============================================================ Extracting .cab files from .msu files... ============================================================ 1/1: Windows11.0-KB5037941-x64.msu [Combined UUP] ============================================================ Extracting files from update cabinets (.cab)... *** This will require some disk space, please be patient *** ============================================================ 1/3: defender-dism-x64_steven4554_April_10_2024.cab 2/3: Windows11.0-KB5036032-x64-NDP481_CU_Canary_9232.1.cab [NetFx] 3/3: Windows10.0-KB5038000-x64_inout.cab [SSU] ============================================================ Mounting sources\install.wim - index 1/3 ============================================================ Deployment Image Servicing and Management tool Version: 10.0.26100.1 Mounting image [==========================100.0%==========================] The operation completed successfully. ============================================================ Checking Updates... ============================================================ ============================================================ Installing servicing stack update... ============================================================ Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image Version: 10.0.26100.1 Processing 1 of 1 - Adding package Package_for_ServicingStack_2~31bf3856ad364e35~amd64~~26100.2.1.0 [==========================100.0%==========================] The changes due to package Package_for_ServicingStack_2 requires the current servicing session to be reloaded. All the packages will be processed again. The operation completed successfully. ============================================================ Installing updates... ============================================================ Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image Version: 10.0.26100.1 Processing 1 of 1 - Adding package Package_for_DotNetRollup_481~31bf3856ad364e35~amd64~~10.0.9232.1 [==========================100.0%==========================] The operation completed successfully. Windows11.0-KB5037941-x64.msu Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image Version: 10.0.26100.1 Processing 1 of 1 - [==========================100.0%==========================] [==========================100.0%==========================] The operation completed successfully. ============================================================ Adding Defender update... ============================================================ ============================================================ Adding .NET Framework 3.5 feature... ============================================================ Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image Version: 10.0.26100.2 Enabling feature(s) [==========================100.0%==========================] The operation completed successfully. ============================================================ Reinstalling cumulative update(s)... ============================================================ Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image Version: 10.0.26100.2 Processing 1 of 1 - Adding package Package_for_DotNetRollup_481~31bf3856ad364e35~amd64~~10.0.9232.1 [==========================100.0%==========================] The operation completed successfully. Reinstalling Windows11.0-KB5037941-x64.msu Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image Version: 10.0.26100.2 Processing 1 of 1 - [==========================100.0%==========================] [==========================100.0%==========================] The operation completed successfully. ============================================================ Updating winre.wim ... ============================================================ Deployment Image Servicing and Management tool Version: 10.0.26100.1 Mounting image [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image Version: 10.0.26100.1 Processing 1 of 1 - Adding package Package_for_ServicingStack_2~31bf3856ad364e35~amd64~~26100.2.1.0 [==========================100.0%==========================] The changes due to package Package_for_ServicingStack_2 requires the current servicing session to be reloaded. All the packages will be processed again. The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image File : E:\W10UI_LTSC_2024_26100\winre.wim Image Index : 1 Saving image [==========================100.0%==========================] Unmounting image [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.26100.1 Exporting image [==========================100.0%==========================] The operation completed successfully. ============================================================ Adding updated winre.wim ... ============================================================ 1 file(s) copied. ============================================================ Unmounting sources\install.wim - index 1/3 ============================================================ Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image File : E:\W10UI_LTSC_2024_26100\Work\sources\install.wim Image Index : 1 Saving image [==========================100.0%==========================] Unmounting image [==========================100.0%==========================] The operation completed successfully.
With .netfx35 and no cleanup: Code: ====================== W10UI v10.41 ======================= [1] Target (x64): "E:\W10UI_LTSC_2024_26100\Work" [2] Updates: "E:\W10UI_LTSC_2024_26100\Updates" [3] DISM: "Windows NT 10.0 ADK" [4] Enable .NET 3.5: YES [5] Cleanup System Image: NO [7] Update WinRE.wim: YES [8] install.wim selected indexes: 2 / [K] Keep indexes: Selected [M] Mount Directory: "c:\W10UImount_1061" [E] Extraction Directory: "E:\W10UItemp_9494" ============================================================ Change a menu option, press 0 to start the process, or 9 to exit: Code: ============================================================ Running W10UI v10.41 ============================================================ ============================================================ Extracting dpx.dll file... ============================================================ ============================================================ Extracting .cab files from .msu files... ============================================================ 1/1: Windows11.0-KB5037941-x64.msu [Combined UUP] ============================================================ Extracting files from update cabinets (.cab)... *** This will require some disk space, please be patient *** ============================================================ 1/3: defender-dism-x64_steven4554_April_10_2024.cab 2/3: Windows11.0-KB5036032-x64-NDP481_CU_Canary_9232.1.cab [NetFx] 3/3: Windows10.0-KB5038000-x64_inout.cab [SSU] ============================================================ Mounting sources\install.wim - index 2/3 ============================================================ Deployment Image Servicing and Management tool Version: 10.0.26100.1 Mounting image [==========================100.0%==========================] The operation completed successfully. ============================================================ Checking Updates... ============================================================ ============================================================ Installing servicing stack update... ============================================================ Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image Version: 10.0.26100.1 Processing 1 of 1 - Adding package Package_for_ServicingStack_2~31bf3856ad364e35~amd64~~26100.2.1.0 [==========================100.0%==========================] The changes due to package Package_for_ServicingStack_2 requires the current servicing session to be reloaded. All the packages will be processed again. The operation completed successfully. ============================================================ Installing updates... ============================================================ Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image Version: 10.0.26100.1 Processing 1 of 1 - Adding package Package_for_DotNetRollup_481~31bf3856ad364e35~amd64~~10.0.9232.1 [==========================100.0%==========================] The operation completed successfully. Windows11.0-KB5037941-x64.msu Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image Version: 10.0.26100.1 Processing 1 of 1 - [==========================100.0%==========================] [==========================100.0%==========================] The operation completed successfully. ============================================================ Adding Defender update... ============================================================ ============================================================ Adding .NET Framework 3.5 feature... ============================================================ Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image Version: 10.0.26100.2 Enabling feature(s) [==========================100.0%==========================] The operation completed successfully. ============================================================ Reinstalling cumulative update(s)... ============================================================ Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image Version: 10.0.26100.2 Processing 1 of 1 - Adding package Package_for_DotNetRollup_481~31bf3856ad364e35~amd64~~10.0.9232.1 [==========================100.0%==========================] The operation completed successfully. Reinstalling Windows11.0-KB5037941-x64.msu Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image Version: 10.0.26100.2 Processing 1 of 1 - [==========================100.0%==========================] [==========================100.0%==========================] The operation completed successfully. ============================================================ Updating winre.wim ... ============================================================ Deployment Image Servicing and Management tool Version: 10.0.26100.1 Mounting image [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image Version: 10.0.26100.1 Processing 1 of 1 - Adding package Package_for_ServicingStack_2~31bf3856ad364e35~amd64~~26100.2.1.0 [==========================100.0%==========================] The changes due to package Package_for_ServicingStack_2 requires the current servicing session to be reloaded. All the packages will be processed again. The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image File : E:\W10UI_LTSC_2024_26100\winre.wim Image Index : 1 Saving image [==========================100.0%==========================] Unmounting image [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.26100.1 Exporting image [==========================100.0%==========================] The operation completed successfully. ============================================================ Adding updated winre.wim ... ============================================================ 1 file(s) copied. ============================================================ Unmounting sources\install.wim - index 2/3 ============================================================ Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image File : E:\W10UI_LTSC_2024_26100\Work\sources\install.wim Image Index : 2 Saving image [==========================100.0%==========================] Unmounting image [==========================100.0%==========================] The operation completed successfully. No .netfx35 and no cleanup: Code: ====================== W10UI v10.41 ======================= [1] Target (x64): "E:\W10UI_LTSC_2024_26100\Work" [2] Updates: "E:\W10UI_LTSC_2024_26100\Updates" [3] DISM: "Windows NT 10.0 ADK" [4] Enable .NET 3.5: NO [5] Cleanup System Image: NO [7] Update WinRE.wim: YES [8] install.wim selected indexes: 2 / [K] Keep indexes: Selected [M] Mount Directory: "c:\W10UImount_2511" [E] Extraction Directory: "E:\W10UItemp_11330" ============================================================ Change a menu option, press 0 to start the process, or 9 to exit: Code: ============================================================ Running W10UI v10.41 ============================================================ ============================================================ Extracting dpx.dll file... ============================================================ ============================================================ Extracting .cab files from .msu files... ============================================================ 1/1: Windows11.0-KB5037941-x64.msu [Combined UUP] ============================================================ Extracting files from update cabinets (.cab)... *** This will require some disk space, please be patient *** ============================================================ 1/3: defender-dism-x64_steven4554_April_10_2024.cab 2/3: Windows11.0-KB5036032-x64-NDP481_CU_Canary_9232.1.cab [NetFx] 3/3: Windows10.0-KB5038000-x64_inout.cab [SSU] ============================================================ Mounting sources\install.wim - index 2/3 ============================================================ Deployment Image Servicing and Management tool Version: 10.0.26100.1 Mounting image [==========================100.0%==========================] The operation completed successfully. ============================================================ Checking Updates... ============================================================ ============================================================ Installing servicing stack update... ============================================================ Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image Version: 10.0.26100.1 Processing 1 of 1 - Adding package Package_for_ServicingStack_2~31bf3856ad364e35~amd64~~26100.2.1.0 [==========================100.0%==========================] The changes due to package Package_for_ServicingStack_2 requires the current servicing session to be reloaded. All the packages will be processed again. The operation completed successfully. ============================================================ Installing updates... ============================================================ Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image Version: 10.0.26100.1 Processing 1 of 1 - Adding package Package_for_DotNetRollup_481~31bf3856ad364e35~amd64~~10.0.9232.1 [==========================100.0%==========================] The operation completed successfully. Windows11.0-KB5037941-x64.msu Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image Version: 10.0.26100.1 Processing 1 of 1 - [==========================100.0%==========================] [==========================100.0%==========================] The operation completed successfully. ============================================================ Adding Defender update... ============================================================ ============================================================ Updating winre.wim ... ============================================================ Deployment Image Servicing and Management tool Version: 10.0.26100.1 Mounting image [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image Version: 10.0.26100.1 Processing 1 of 1 - Adding package Package_for_ServicingStack_2~31bf3856ad364e35~amd64~~26100.2.1.0 [==========================100.0%==========================] The changes due to package Package_for_ServicingStack_2 requires the current servicing session to be reloaded. All the packages will be processed again. The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image File : E:\W10UI_LTSC_2024_26100\winre.wim Image Index : 1 Saving image [==========================100.0%==========================] Unmounting image [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.26100.1 Exporting image [==========================100.0%==========================] The operation completed successfully. ============================================================ Adding updated winre.wim ... ============================================================ 1 file(s) copied. ============================================================ Unmounting sources\install.wim - index 2/3 ============================================================ Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image File : E:\W10UI_LTSC_2024_26100\Work\sources\install.wim Image Index : 2 Saving image [==========================100.0%==========================] Unmounting image [==========================100.0%==========================] The operation completed successfully. No .netfx35 but with cleanup: Code: ====================== W10UI v10.41 ======================= [1] Target (x64): "E:\W10UI_LTSC_2024_26100\Work" [2] Updates: "E:\W10UI_LTSC_2024_26100\Updates" [3] DISM: "Windows NT 10.0 ADK" [4] Enable .NET 3.5: NO [5] Cleanup System Image: YES [6] Reset Image Base: NO [7] Update WinRE.wim: YES [8] install.wim selected indexes: 2 / [K] Keep indexes: Selected [M] Mount Directory: "c:\W10UImount_6436" [E] Extraction Directory: "E:\W10UItemp_21024" ============================================================ Change a menu option, press 0 to start the process, or 9 to exit: Code: ============================================================ Running W10UI v10.41 ============================================================ ============================================================ Extracting dpx.dll file... ============================================================ ============================================================ Extracting .cab files from .msu files... ============================================================ 1/1: Windows11.0-KB5037941-x64.msu [Combined UUP] ============================================================ Extracting files from update cabinets (.cab)... *** This will require some disk space, please be patient *** ============================================================ 1/3: defender-dism-x64_steven4554_April_10_2024.cab 2/3: Windows11.0-KB5036032-x64-NDP481_CU_Canary_9232.1.cab [NetFx] 3/3: Windows10.0-KB5038000-x64_inout.cab [SSU] ============================================================ Mounting sources\install.wim - index 2/3 ============================================================ Deployment Image Servicing and Management tool Version: 10.0.26100.1 Mounting image [==========================100.0%==========================] The operation completed successfully. ============================================================ Checking Updates... ============================================================ ============================================================ Installing servicing stack update... ============================================================ Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image Version: 10.0.26100.1 Processing 1 of 1 - Adding package Package_for_ServicingStack_2~31bf3856ad364e35~amd64~~26100.2.1.0 [==========================100.0%==========================] The changes due to package Package_for_ServicingStack_2 requires the current servicing session to be reloaded. All the packages will be processed again. The operation completed successfully. ============================================================ Installing updates... ============================================================ Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image Version: 10.0.26100.1 Processing 1 of 1 - Adding package Package_for_DotNetRollup_481~31bf3856ad364e35~amd64~~10.0.9232.1 [==========================100.0%==========================] The operation completed successfully. Windows11.0-KB5037941-x64.msu Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image Version: 10.0.26100.1 Processing 1 of 1 - [==========================100.0%==========================] [==========================100.0%==========================] The operation completed successfully. ============================================================ Cleaning up OS image... ============================================================ Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image Version: 10.0.26100.2 [==========================100.0%==========================] The operation completed successfully. ============================================================ Adding Defender update... ============================================================ ============================================================ Updating winre.wim ... ============================================================ Deployment Image Servicing and Management tool Version: 10.0.26100.1 Mounting image [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image Version: 10.0.26100.1 Processing 1 of 1 - Adding package Package_for_ServicingStack_2~31bf3856ad364e35~amd64~~26100.2.1.0 [==========================100.0%==========================] The changes due to package Package_for_ServicingStack_2 requires the current servicing session to be reloaded. All the packages will be processed again. The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image File : E:\W10UI_LTSC_2024_26100\winre.wim Image Index : 1 Saving image [==========================100.0%==========================] Unmounting image [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.26100.1 Exporting image [==========================100.0%==========================] The operation completed successfully. ============================================================ Adding updated winre.wim ... ============================================================ 1 file(s) copied. ============================================================ Unmounting sources\install.wim - index 2/3 ============================================================ Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image File : E:\W10UI_LTSC_2024_26100\Work\sources\install.wim Image Index : 2 Saving image [==========================100.0%==========================] Unmounting image [==========================100.0%==========================] The operation completed successfully. .netfx35 and cleanup: Code: ====================== W10UI v10.41 ======================= [1] Target (x64): "E:\W10UI_LTSC_2024_26100\Work" [2] Updates: "E:\W10UI_LTSC_2024_26100\Updates" [3] DISM: "Windows NT 10.0 ADK" [4] Enable .NET 3.5: YES [5] Cleanup System Image: YES [6] Reset Image Base: NO [7] Update WinRE.wim: YES [8] install.wim selected indexes: 2 / [K] Keep indexes: Selected [M] Mount Directory: "c:\W10UImount_7909" [E] Extraction Directory: "E:\W10UItemp_16837" ============================================================ Change a menu option, press 0 to start the process, or 9 to exit: Code: ============================================================ Running W10UI v10.41 ============================================================ ============================================================ Extracting dpx.dll file... ============================================================ ============================================================ Extracting .cab files from .msu files... ============================================================ 1/1: Windows11.0-KB5037941-x64.msu [Combined UUP] ============================================================ Extracting files from update cabinets (.cab)... *** This will require some disk space, please be patient *** ============================================================ 1/3: defender-dism-x64_steven4554_April_10_2024.cab 2/3: Windows11.0-KB5036032-x64-NDP481_CU_Canary_9232.1.cab [NetFx] 3/3: Windows10.0-KB5038000-x64_inout.cab [SSU] ============================================================ Mounting sources\install.wim - index 2/3 ============================================================ Deployment Image Servicing and Management tool Version: 10.0.26100.1 Mounting image [==========================100.0%==========================] The operation completed successfully. ============================================================ Checking Updates... ============================================================ ============================================================ Installing servicing stack update... ============================================================ Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image Version: 10.0.26100.1 Processing 1 of 1 - Adding package Package_for_ServicingStack_2~31bf3856ad364e35~amd64~~26100.2.1.0 [==========================100.0%==========================] The changes due to package Package_for_ServicingStack_2 requires the current servicing session to be reloaded. All the packages will be processed again. The operation completed successfully. ============================================================ Installing updates... ============================================================ Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image Version: 10.0.26100.1 Processing 1 of 1 - Adding package Package_for_DotNetRollup_481~31bf3856ad364e35~amd64~~10.0.9232.1 [==========================100.0%==========================] The operation completed successfully. Windows11.0-KB5037941-x64.msu Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image Version: 10.0.26100.1 Processing 1 of 1 - [==========================100.0%==========================] [==========================100.0%==========================] The operation completed successfully. ============================================================ Cleaning up OS image... ============================================================ Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image Version: 10.0.26100.2 [===========================99.7%========================= ] The operation completed successfully. ============================================================ Adding Defender update... ============================================================ ============================================================ Adding .NET Framework 3.5 feature... ============================================================ Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image Version: 10.0.26100.2 Enabling feature(s) [==========================100.0%==========================] The operation completed successfully. ============================================================ Reinstalling cumulative update(s)... ============================================================ Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image Version: 10.0.26100.2 Processing 1 of 1 - Adding package Package_for_DotNetRollup_481~31bf3856ad364e35~amd64~~10.0.9232.1 [==========================100.0%==========================] The operation completed successfully. Reinstalling Windows11.0-KB5037941-x64.msu Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image Version: 10.0.26100.2 Processing 1 of 1 - [==========================100.0%==========================] [===== 10.0% ] E:\W10UI_LTSC_2024_26100\Updates\Windows11.0-KB5037941-x64.msu: An error occurred applying the Unattend.xml file from the .msu package. For more information, review the log file. Error: 0x800f0825 Error: 0x800f0825 DISM failed. No operation was performed. For more information, review the log file. The DISM log file can be found at C:\WINDOWS\Logs\DISM\DismNetFx3.log ============================================================ Updating winre.wim ... ============================================================ Deployment Image Servicing and Management tool Version: 10.0.26100.1 Mounting image [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image Version: 10.0.26100.1 Processing 1 of 1 - Adding package Package_for_ServicingStack_2~31bf3856ad364e35~amd64~~26100.2.1.0 [==========================100.0%==========================] The changes due to package Package_for_ServicingStack_2 requires the current servicing session to be reloaded. All the packages will be processed again. The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image File : E:\W10UI_LTSC_2024_26100\winre.wim Image Index : 1 Saving image [==========================100.0%==========================] Unmounting image [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.26100.1 Exporting image [==========================100.0%==========================] The operation completed successfully. ============================================================ Adding updated winre.wim ... ============================================================ 1 file(s) copied. ============================================================ Unmounting sources\install.wim - index 2/3 ============================================================ Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image File : E:\W10UI_LTSC_2024_26100\Work\sources\install.wim Image Index : 2 Saving image [==========================100.0%==========================] Unmounting image [==========================100.0%==========================] The operation completed successfully.
Code: ====================== W10UI v10.41 ======================= [1] Target (x64): "E:\W11UI\22621_Work_x64_US" [2] Updates: "E:\W11UI\22631_Updates_x64" [3] DISM: "Windows NT 10.0 ADK" [4] Enable .NET 3.5: YES [5] Cleanup System Image: YES [6] Reset Image Base: YES [7] Update WinRE.wim: YES [8] install.wim selected indexes: 4 / [K] Keep indexes: Selected [M] Mount Directory: "c:\W10UImount_31636" [E] Extraction Directory: "c:\W10UItemp_10961" ============================================================ Change a menu option, press 0 to start the process, or 9 to exit: Code: ============================================================ Running W10UI v10.41 ============================================================ ============================================================ Extracting dpx.dll file... ============================================================ ============================================================ Extracting .cab files from .msu files... ============================================================ 1/1: windows11.0-kb5036980-x64_LCU_3527.1.17.msu [Combined UUP] ============================================================ Extracting files from update cabinets (.cab)... *** This will require some disk space, please be patient *** ============================================================ 1/7: defender-dism-x64_steven4554_April_18_2024.cab 2/7: windows11.0-kb5027397-x64_23H2_EP_2355.1.cab [Enablement] 3/7: windows11.0-kb5034535-x64_DU_Sources_3072.cab [Setup DU] 4/7: Windows11.0-KB5036212-x64_PSFX_OOBE_3227.1.5.cab 5/7: Windows11.0-KB5037591-x64-NDP481_CU_9241.1.cab [NetFx] 6/7: windows11.0-kb5037739-x64_DU_SafeOS_3518.1.0.cab [SafeOS DU] 7/7: Windows11.0-KB5037663-x64_inout.cab [SSU] ============================================================ Mounting sources\install.wim - index 4/11 ============================================================ Deployment Image Servicing and Management tool Version: 10.0.26100.1 Mounting image [==========================100.0%==========================] The operation completed successfully. ============================================================ Checking Updates... ============================================================ ============================================================ Installing servicing stack update... ============================================================ Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image Version: 10.0.22621.1 Processing 1 of 1 - Adding package Package_for_ServicingStack_3522~31bf3856ad364e35~amd64~~22621.3522.1.8 [==========================100.0%==========================] The changes due to package Package_for_ServicingStack_3522 requires the current servicing session to be reloaded. All the packages will be processed again. The operation completed successfully. ============================================================ Installing updates... ============================================================ Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image Version: 10.0.22621.1 Processing 1 of 3 - Adding package Package_for_KB5027397~31bf3856ad364e35~amd64~~22621.2355.1.1 [==========================100.0%==========================] Processing 2 of 3 - Adding package Package_for_KB5036212~31bf3856ad364e35~amd64~~22621.3227.1.5 [==========================100.0%==========================] Processing 3 of 3 - Adding package Package_for_DotNetRollup_481~31bf3856ad364e35~amd64~~10.0.9241.1 [==========================100.0%==========================] The operation completed successfully. windows11.0-kb5036980-x64_LCU_3527.1.17.msu Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image Version: 10.0.22621.1 Processing 1 of 1 - [===========================80.0%============== ] [==========================100.0%==========================] The operation completed successfully. ============================================================ Resetting OS image base... ============================================================ Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image Version: 10.0.22631.3527 [===== 10.0% ] [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image Version: 10.0.22631.3527 [==========================100.0%==========================] The operation completed successfully. ============================================================ Adding Defender update... ============================================================ ============================================================ Adding .NET Framework 3.5 feature... ============================================================ Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image Version: 10.0.22631.3527 Enabling feature(s) [==========================100.0%==========================] The operation completed successfully. ============================================================ Reinstalling cumulative update(s)... ============================================================ Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image Version: 10.0.22631.3527 Processing 1 of 1 - Adding package Package_for_DotNetRollup_481~31bf3856ad364e35~amd64~~10.0.9241.1 [==========================100.0%==========================] The operation completed successfully. Reinstalling windows11.0-kb5036980-x64_LCU_3527.1.17.msu Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image Version: 10.0.22631.3527 Processing 1 of 1 - [===========================80.0%============== ] [==========================100.0%==========================] The operation completed successfully. ============================================================ Updating winre.wim ... ============================================================ Deployment Image Servicing and Management tool Version: 10.0.26100.1 Mounting image [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image Version: 10.0.22621.1 Processing 1 of 1 - Adding package Package_for_ServicingStack_3522~31bf3856ad364e35~amd64~~22621.3522.1.8 [==========================100.0%==========================] The changes due to package Package_for_ServicingStack_3522 requires the current servicing session to be reloaded. All the packages will be processed again. The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image Version: 10.0.22621.1 Processing 1 of 1 - Adding package Package_for_KB5037739~31bf3856ad364e35~amd64~~22621.3518.1.0 [==========================100.0%==========================] The operation completed successfully. windows11.0-kb5036980-x64_LCU_3527.1.17.msu Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image Version: 10.0.22621.2420 Processing 1 of 1 - [===========================80.0%============== ] [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image Version: 10.0.22621.3527 [==================== 35.3% ] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image Version: 10.0.22621.3527 [=========== 20.0% ] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image File : E:\W11UI\winre.wim Image Index : 1 Saving image [==========================100.0%==========================] Unmounting image [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.26100.1 Exporting image [==========================100.0%==========================] The operation completed successfully. ============================================================ Adding updated winre.wim ... ============================================================ 1 file(s) copied. ============================================================ Unmounting sources\install.wim - index 4/11 ============================================================ Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image File : E:\W11UI\22621_Work_x64_US\sources\install.wim Image Index : 4 Saving image [==========================100.0%==========================] Unmounting image [==========================100.0%==========================] The operation completed successfully. ============================================================ Rebuilding sources\install.wim ... ============================================================ Deployment Image Servicing and Management tool Version: 10.0.26100.1 Exporting image [==========================100.0%==========================] The operation completed successfully. ============================================================ Mounting sources\boot.wim - index 1/2 ============================================================ Deployment Image Servicing and Management tool Version: 10.0.26100.1 Mounting image [==========================100.0%==========================] The operation completed successfully. ============================================================ Checking Updates... ============================================================ ============================================================ Installing servicing stack update... ============================================================ Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image Version: 10.0.22621.1 Processing 1 of 1 - Adding package Package_for_ServicingStack_3522~31bf3856ad364e35~amd64~~22621.3522.1.8 [==========================100.0%==========================] The changes due to package Package_for_ServicingStack_3522 requires the current servicing session to be reloaded. All the packages will be processed again. The operation completed successfully. ============================================================ Installing updates... ============================================================ Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image Version: 10.0.22621.1 Processing 1 of 1 - Adding package Package_for_KB5027397~31bf3856ad364e35~amd64~~22621.2355.1.1 [==========================100.0%==========================] The operation completed successfully. windows11.0-kb5036980-x64_LCU_3527.1.17.msu Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image Version: 10.0.22621.1 Processing 1 of 1 - [===========================80.0%============== ] [==========================100.0%==========================] The operation completed successfully. ============================================================ Resetting WinPE image base... ============================================================ Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image Version: 10.0.22621.3527 [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image Version: 10.0.22621.3527 [=========== 20.0% ] The operation completed successfully. ============================================================ Unmounting sources\boot.wim - index 1/2 ============================================================ Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image File : E:\W11UI\22621_Work_x64_US\sources\boot.wim Image Index : 1 Saving image [==========================100.0%==========================] Unmounting image [==========================100.0%==========================] The operation completed successfully. ============================================================ Mounting sources\boot.wim - index 2/2 ============================================================ Deployment Image Servicing and Management tool Version: 10.0.26100.1 Mounting image [==========================100.0%==========================] The operation completed successfully. ============================================================ Checking Updates... ============================================================ ============================================================ Installing servicing stack update... ============================================================ Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image Version: 10.0.22621.1 Processing 1 of 1 - Adding package Package_for_ServicingStack_3522~31bf3856ad364e35~amd64~~22621.3522.1.8 [==========================100.0%==========================] The changes due to package Package_for_ServicingStack_3522 requires the current servicing session to be reloaded. All the packages will be processed again. The operation completed successfully. ============================================================ Installing updates... ============================================================ Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image Version: 10.0.22621.1 Processing 1 of 1 - Adding package Package_for_KB5027397~31bf3856ad364e35~amd64~~22621.2355.1.1 [==========================100.0%==========================] The operation completed successfully. windows11.0-kb5036980-x64_LCU_3527.1.17.msu Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image Version: 10.0.22621.1 Processing 1 of 1 - [===========================80.0%============== ] [==========================100.0%==========================] The operation completed successfully. ============================================================ Resetting WinPE image base... ============================================================ Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image Version: 10.0.22621.3527 [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image Version: 10.0.22621.3527 [=========== 20.0% ] The operation completed successfully. ============================================================ Unmounting sources\boot.wim - index 2/2 ============================================================ Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image File : E:\W11UI\22621_Work_x64_US\sources\boot.wim Image Index : 2 Saving image [==========================100.0%==========================] Unmounting image [==========================100.0%==========================] The operation completed successfully. ============================================================ Rebuilding sources\boot.wim ... ============================================================ Deployment Image Servicing and Management tool Version: 10.0.26100.1 Exporting image [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.26100.1 Exporting image [==========================100.0%==========================] The operation completed successfully. ============================================================ Adding setup dynamic update(s)... ============================================================ windows11.0-kb5034535-x64_DU_Sources_3072.cab ============================================================ Removing temporary extracted files... ============================================================ ============================================================ Creating updated ISO file... ============================================================ ISO Location: "E:\W11UI" OSCDIMG 2.56 CD-ROM and DVD-ROM Premastering Utility Copyright (C) Microsoft, 1993-2012. All rights reserved. Licensed only for producing Microsoft authorized content. Scanning source tree (500 files in 43 directories) Scanning source tree complete (946 files in 86 directories) Computing directory information complete Image file is 6761021440 bytes (before optimization) Writing 946 files in 86 directories to 22631.3527.240416-1719.23H2_NI_RELEASE_SVC_PROD3_CLIENT_X64FRE_EN-US.iso 100% complete Storage optimization saved 24 files, 14239744 bytes (1% of image) After optimization, image file is 6748919808 bytes Space saved because of embedding, sparseness or optimization = 14239744 Done. ============================================================ Finished ============================================================ Press 9 or q to exit. Updated: https://forums.mydigitallife.net/th...eta-rp-channel-ni_release.85327/#post-1734514
In 26100.268, W10UI 10.41 hasn't extract msu files. (Using Windows Terminal's Console Prompt) Here's the log. Please check it. (OS: Windows 11 26100.268 / Lang ko-KR) Code: >title Installer for Windows NT 10.0 Updates >set "_dLog=C:\Windows\Logs\DISM" >cd /d "!_work!" >set psfcpp=0 >if exist "PSFExtractor.exe" set psfcpp=1 & set _exe="!_work!\PSFExtractor.exe" >if exist "bin\PSFExtractor.exe" set psfcpp=1 & set _exe="!_work!\bin\PSFExtractor.exe" >if not defined _sdr set psfcpp=0 >set stcexp=0 >set _exp=expand.exe >if exist "bin\expand.exe" if exist "bin\dpx.dll" (set stcexp=1 & set _exp="!_work!\bin\expand.exe" ) >if exist "expand.exe" if exist "dpx.dll" (set stcexp=1 & set _exp="!_work!\expand.exe" ) >if not exist "W10UI.ini" goto :proceed >find /i "[W10UI-Configuration]" W10UI.ini || goto :proceed ---------- W10UI.INI [W10UI-Configuration] >setlocal DisableDelayedExpansion >for %# in (target repo dismroot net35 net35source cleanup resetbase winre lcuwinre updtbootfiles skipedge usewimlib _cabdir mountdir winremount wim2esd wim2swm iso isodir delete_source autostart adddrivers drv_source) do (call :ReadINI %# ) >(call :ReadINI target ) >find /i "target " W10UI.ini 1>nul || goto :eof >for /F "skip=2 tokens=1* delims==" %A in ('find /i "target " W10UI.ini') do call set "target=%~B" >call set "target=\update\iso" >goto :eof >(call :ReadINI repo ) >find /i "repo " W10UI.ini 1>nul || goto :eof >for /F "skip=2 tokens=1* delims==" %A in ('find /i "repo " W10UI.ini') do call set "repo=%~B" >call set "repo=" >goto :eof >(call :ReadINI dismroot ) >find /i "dismroot " W10UI.ini 1>nul || goto :eof >for /F "skip=2 tokens=1* delims==" %A in ('find /i "dismroot " W10UI.ini') do call set "dismroot=%~B" >call set "dismroot=dism.exe" >goto :eof >(call :ReadINI net35 ) >find /i "net35 " W10UI.ini 1>nul || goto :eof >for /F "skip=2 tokens=1* delims==" %A in ('find /i "net35 " W10UI.ini') do call set "net35=%~B" >call set "net35=0" >goto :eof >(call :ReadINI net35source ) >find /i "net35source " W10UI.ini 1>nul || goto :eof >for /F "skip=2 tokens=1* delims==" %A in ('find /i "net35source " W10UI.ini') do call set "net35source=%~B" >call set "net35source=0" >goto :eof >(call :ReadINI cleanup ) >find /i "cleanup " W10UI.ini 1>nul || goto :eof >for /F "skip=2 tokens=1* delims==" %A in ('find /i "cleanup " W10UI.ini') do call set "cleanup=%~B" >call set "cleanup=1" >goto :eof >(call :ReadINI resetbase ) >find /i "resetbase " W10UI.ini 1>nul || goto :eof >for /F "skip=2 tokens=1* delims==" %A in ('find /i "resetbase " W10UI.ini') do call set "resetbase=%~B" >call set "resetbase=0" >goto :eof >(call :ReadINI winre ) >find /i "winre " W10UI.ini 1>nul || goto :eof >for /F "skip=2 tokens=1* delims==" %A in ('find /i "winre " W10UI.ini') do call set "winre=%~B" >call set "winre=0" >call set "winre=1" >goto :eof >(call :ReadINI lcuwinre ) >find /i "lcuwinre " W10UI.ini 1>nul || goto :eof >for /F "skip=2 tokens=1* delims==" %A in ('find /i "lcuwinre " W10UI.ini') do call set "lcuwinre=%~B" >call set "lcuwinre=0" >goto :eof >(call :ReadINI updtbootfiles ) >find /i "updtbootfiles " W10UI.ini 1>nul || goto :eof >for /F "skip=2 tokens=1* delims==" %A in ('find /i "updtbootfiles " W10UI.ini') do call set "updtbootfiles=%~B" >call set "updtbootfiles=1" >goto :eof >(call :ReadINI skipedge ) >find /i "skipedge " W10UI.ini 1>nul || goto :eof >for /F "skip=2 tokens=1* delims==" %A in ('find /i "skipedge " W10UI.ini') do call set "skipedge=%~B" >call set "skipedge=0" >goto :eof >(call :ReadINI usewimlib ) >find /i "usewimlib " W10UI.ini 1>nul || goto :eof >for /F "skip=2 tokens=1* delims==" %A in ('find /i "usewimlib " W10UI.ini') do call set "usewimlib=%~B" >call set "usewimlib=0" >goto :eof >(call :ReadINI _cabdir ) >find /i "_cabdir " W10UI.ini 1>nul || goto :eof >for /F "skip=2 tokens=1* delims==" %A in ('find /i "_cabdir " W10UI.ini') do call set "_cabdir=%~B" >call set "_cabdir=W10UItemp" >goto :eof >(call :ReadINI mountdir ) >find /i "mountdir " W10UI.ini 1>nul || goto :eof >for /F "skip=2 tokens=1* delims==" %A in ('find /i "mountdir " W10UI.ini') do call set "mountdir=%~B" >call set "mountdir=W10UImount" >goto :eof >(call :ReadINI winremount ) >find /i "winremount " W10UI.ini 1>nul || goto :eof >for /F "skip=2 tokens=1* delims==" %A in ('find /i "winremount " W10UI.ini') do call set "winremount=%~B" >call set "winremount=W10UImountre" >goto :eof >(call :ReadINI wim2esd ) >find /i "wim2esd " W10UI.ini 1>nul || goto :eof >for /F "skip=2 tokens=1* delims==" %A in ('find /i "wim2esd " W10UI.ini') do call set "wim2esd=%~B" >call set "wim2esd=0" >goto :eof >(call :ReadINI wim2swm ) >find /i "wim2swm " W10UI.ini 1>nul || goto :eof >for /F "skip=2 tokens=1* delims==" %A in ('find /i "wim2swm " W10UI.ini') do call set "wim2swm=%~B" >call set "wim2swm=0" >goto :eof >(call :ReadINI iso ) >find /i "iso " W10UI.ini 1>nul || goto :eof >for /F "skip=2 tokens=1* delims==" %A in ('find /i "iso " W10UI.ini') do call set "iso=%~B" >call set "iso=1" >goto :eof >(call :ReadINI isodir ) >find /i "isodir " W10UI.ini 1>nul || goto :eof >for /F "skip=2 tokens=1* delims==" %A in ('find /i "isodir " W10UI.ini') do call set "isodir=%~B" >call set "isodir=E:\Windows\ISO" >goto :eof >(call :ReadINI delete_source ) >find /i "delete_source " W10UI.ini 1>nul || goto :eof >for /F "skip=2 tokens=1* delims==" %A in ('find /i "delete_source " W10UI.ini') do call set "delete_source=%~B" >call set "delete_source=0" >goto :eof >(call :ReadINI autostart ) >find /i "autostart " W10UI.ini 1>nul || goto :eof >for /F "skip=2 tokens=1* delims==" %A in ('find /i "autostart " W10UI.ini') do call set "autostart=%~B" >call set "autostart=1" >goto :eof >(call :ReadINI adddrivers ) >find /i "adddrivers " W10UI.ini 1>nul || goto :eof >for /F "skip=2 tokens=1* delims==" %A in ('find /i "adddrivers " W10UI.ini') do call set "adddrivers=%~B" >call set "adddrivers=0" >goto :eof >(call :ReadINI drv_source ) >find /i "drv_source " W10UI.ini 1>nul || goto :eof >for /F "skip=2 tokens=1* delims==" %A in ('find /i "drv_source " W10UI.ini') do call set "drv_source=%~B" >call set "drv_source=\Drivers" >goto :eof >setlocal EnableDelayedExpansion >goto :proceed >if 1 NEQ 0 set autostart=1 >if "!repo!" == "" set "repo=!_work!" >if "!dismroot!" == "" set "DismRoot=dism.exe" >if "!_cabdir!" == "" set "_CabDir=W10UItemp" >if "!mountdir!" == "" set "MountDir=W10UImount" >if "!winremount!" == "" set "WinreMount=W10UImountre" >if "0" == "" set Net35=1 >if "1" == "" set Cleanup=0 >if "0" == "" set ResetBase=0 >if "1" == "" set WinRE=1 >if "0" == "" set LCUwinre=0 >if "1" == "" set UpdtBootFiles=0 >if "0" == "" set SkipEdge=0 >if "0" == "" set UseWimlib=1 >if "1" == "" set ISO=1 >if "1" == "" set AutoStart=0 >if "0" == "" set Delete_Source=0 >if "0" == "" set AddDrivers=0 >if "\Drivers" == "" set "Drv_Source=\Drivers" >if "0" == "" set wim2esd=0 >if "0" == "" set wim2swm=0 >set _wlib=0 >if 0 EQU 1 for %# in (wimlib-imagex.exe) do @if not "%~$PATH:#" == "" ( set _wlib=1 set _wimlib=wimlib-imagex.exe ) >if 0 EQU 1 if 0 EQU 0 ( if exist "wimlib-imagex.exe" set _wlib=1 & set _wimlib="!_work!\wimlib-imagex.exe" if exist "bin\wimlib-imagex.exe" set _wlib=1 & set _wimlib="!_work!\bin\wimlib-imagex.exe" if /I amd64 == amd64 if exist "bin\bin64\wimlib-imagex.exe" set _wlib=1 & set _wimlib="!_work!\bin\bin64\wimlib-imagex.exe" ) >if "!Drv_Source!" == "\Drivers" set "Drv_Source=!_work!\Drivers" >set "DrvSrcALL=" >set "DrvSrcOS=" >set "DrvSrcPE=" >if 0 NEQ 0 if exist "!Drv_Source!\" ( cd /d "!Drv_Source!" if exist ALL\ dir /b /s "ALL\*.inf" && set "DrvSrcALL=!Drv_Source!\ALL" if exist OS\ dir /b /s "OS\*.inf" && set "DrvSrcOS=!Drv_Source!\OS" if exist WinPE\ dir /b /s "WinPE\*.inf" && set "DrvSrcPE=!Drv_Source!\WinPE" cd /d "!_work!" ) >set _ADK=0 >set "showdism=Host OS" >set "_dism2=dism.exe /English /NoRestart /ScratchDir" >if /I not "!dismroot!" == "dism.exe" ( set _ADK=1 set "showdism=dism.exe" set _dism2="dism.exe" /English /NoRestart /ScratchDir set "dsv=!dismroot:\=\\!" call :DismVer ) else ( set "dsv=C:\Windows\System32\dism.exe" set "dsv=!dsv:\=\\!" call :DismVer ) >set "dsmver=10240" >if 1 EQU 1 for /F "tokens=4 delims==." %# in ('wmic datafile where "name='!dsv!'" get Version /value') do set "dsmver=%#" >set "dsmver=26100" >if 1 EQU 0 for /F "tokens=3 delims=." %# in ('powershell -nop -c "([WMI]'CIM_DataFile.Name=''!dsv!''').Version"') do set "dsmver=%#" >set _all=1 >if 26100 GEQ 25115 set _all=0 >exit /b >set _drv=H: >if /I "W10UI" == "W10UI" set "_cabdir=H:\W10UItemp" >set _ntf=NTFS >if /I not "H:" == "C:" if 1 EQU 1 for /F "tokens=2 delims==" %# in ('"wmic volume where DriveLetter='H:' get FileSystem /value"') do set "_ntf=%#" >set "_ntf=NTFS " >if /I not "H:" == "C:" if 1 EQU 0 for /F %# in ('powershell -nop -c "(([WMISEARCHER]'Select * from Win32_Volume where DriveLetter=\"H:\"').Get()).FileSystem"') do set "_ntf=%#" >if /I not "NTFS" == "NTFS" set _drv=C: >if /I "W10UI" == "W10UI" set "mountdir=H:\W10UImount" >if /I "W10UI" == "W10UI" set "winremount=H:\W10UImountre" >if "p" == "\" set "_cabdir=!_cabdir:~0,-1!" >if "p" == ":" set "_cabdir=!_cabdir!\" >if not "!_cabdir!" == "!_cabdir: =!" set "_cabdir=!_cabdir: =!" >if "t" == "\" set "mountdir=!mountdir:~0,-1!" >if "t" == ":" set "mountdir=!mountdir!\" >if not "!mountdir!" == "!mountdir: =!" set "mountdir=!mountdir: =!" >set "mountdir=!mountdir!_8410" >set "winremount=!winremount!_28016" >set "_cabdir=!_cabdir!_19485" >set cmd_repo=1 >if defined cmd_target if defined cmd_tmpdir if exist "!cmd_target!\Windows\regedit.exe" ( if not "!repo!" == "!_work!" (if not exist "!repo!\*Windows1*-KB*.*" if not exist "!repo!\SSU-*-*.*" set "repo=!_work!" ) if not exist "!repo!\*Windows1*-KB*.*" if not exist "!repo!\SSU-*-*.*" set cmd_repo=0 ) >if defined cmd_target if defined cmd_tmpdir if exist "!cmd_target!\Windows\regedit.exe" if 1 == 1 ( if 1 NEQ 0 echo "!cmd_target!" set "Target=!cmd_target!" set "_cabdir=!cmd_tmpdir!" if defined cmd_source if exist "!cmd_source!\setup.exe" ( if exist "!cmd_source!\sxs\*netfx3*.cab" set "Net35Source=!cmd_source!\sxs" set _offdu=1 cd /d "!cmd_source!" cd .. set "cmd_dvd=!cd!" cd /d "!_work!" ) set AutoStart=1 set _embd=1 ) >if 0 EQU 0 if exist "!_cabdir!\" ( echo. echo ============================================================ echo Cleaning temporary extraction folder... echo ============================================================ echo. rmdir /s /q "!_cabdir!\" ) >set _init=1 >if 1 EQU 0 if 1 NEQ 0 set "_Goto=exit /b" >set tmpssu= >set isomin=0 >set _fixEP=0 >set _actEP=0 >set _SrvEdt=0 >set _DNF=0 >set directcab=0 >set dvd=0 >set wim=0 >set offline=0 >set online=0 >set copytarget=0 >set imgcount=0 >set wimfiles=0 >set keep=0 >set targetname=0 >set _skpd=0 >set _skpp=0 >set uupboot=0 >if not defined _all set _all=1 >if 1 == 1 if "!target!" == "" if exist "*.wim" (for /F "tokens=* delims=" %# in ('dir /b /a:-d "*.wim"') do set "target=!_work!\%~nx#" ) >if "!target!" == "" set "target=C:" >if "o" == "\" set "target=!target:~0,-1!" >if /I "!target!" == "C:" ( if /I amd64 == x86 (set arch=x86 ) else if /I amd64 == amd64 (set arch=x64 ) else (set arch=arm64 ) if 1 == 1 (goto :check ) else (goto :mainmenu ) ) >if /I "\iso" == ".wim" (if exist "!target!" ( set wim=1 for %# in ("!target!") do set "targetname=%~nx#" & setlocal DisableDelayedExpansion & set "targetpath=%~dp#" & setlocal EnableDelayedExpansion ) ) else ( if exist "!target!\sources\install.wim" set dvd=1 if exist "!target!\Windows\regedit.exe" set offline=1 ) >if 0 == 0 if 0 == 0 if 1 == 0 (if 1 == 1 (set "target=C:" & goto :check ) else (set "MESSAGE=Specified location is not valid" & goto :E_Target ) ) >if 0 == 1 ( dir /b /ad "!target!\Windows\Servicing\Version\10.0.*" || (dir /b /ad "!target!\Windows\Servicing\Version\11.0.*" || (set "MESSAGE=Detected target offline image is not Windows NT 10.0" & goto :E_Target ) ) for /F "tokens=3 delims=." %# in ('dir /b /ad "!target!\Windows\Servicing\Version\1*"') do set _build=%# set "mountdir=!target!" set arch=x86 if exist "!target!\Windows\Servicing\Packages\*~amd64~~*.mum" set arch=x64 if exist "!target!\Windows\Servicing\Packages\*~arm64~~*.mum" set arch=arm64 ) >if 0 == 1 ( echo. echo ============================================================ echo Please wait... echo ============================================================ cd /d "!targetpath!" dism.exe /english /get-wiminfo /wimfile:"0" /index:1 | find /i "Version : 10." || (dism.exe /english /get-wiminfo /wimfile:"0" /index:1 | find /i "Version : 11." || (set "MESSAGE=Detected wim version is not Windows NT 10.0" & goto :E_Target ) ) for /F "tokens=4 delims=:. " %# in ('dism.exe /english /get-wiminfo /wimfile:"0" /index:1 | find /i "Version :"') do set _build=%# for /F "tokens=2 delims=: " %# in ('dism.exe /english /get-wiminfo /wimfile:"0" /index:1 | find /i "Architecture"') do set arch=%# for /F "tokens=2 delims=: " %# in ('dism.exe /english /get-wiminfo /wimfile:"0" | find /i "Index"') do set imgcount=%# for /L %# in (1 1 !imgcount!) do (for /F "tokens=1* delims=: " %i in ('dism.exe /english /get-wiminfo /wimfile:"0" /index:%# | findstr /b /c:"Name"') do set name%#="%j" ) set "indices=*" set wimfiles=1 cd /d "!_work!" ) >if 1 == 1 ( echo. echo ============================================================ echo Please wait... echo ============================================================ copy /y nul "!target!\#.rw" && (del /f /q "!target!\#.rw" ) || (set copytarget=1 ) cd /d "!target!" dism.exe /english /get-wiminfo /wimfile:"sources\install.wim" /index:1 | find /i "Version : 10." || (dism.exe /english /get-wiminfo /wimfile:"sources\install.wim" /index:1 | find /i "Version : 11." || (set "MESSAGE=Detected install.wim version is not Windows NT 10.0" & goto :E_Target ) ) for /F "tokens=4 delims=:. " %# in ('dism.exe /english /get-wiminfo /wimfile:"sources\install.wim" /index:1 | find /i "Version :"') do set _build=%# for /F "tokens=2 delims=: " %# in ('dism.exe /english /get-wiminfo /wimfile:"sources\install.wim" /index:1 | find /i "Architecture"') do set arch=%# for /F "tokens=2 delims=: " %# in ('dism.exe /english /get-wiminfo /wimfile:"sources\install.wim" | find /i "Index"') do set imgcount=%# for /F "tokens=2 delims=: " %# in ('dism.exe /english /get-wiminfo /wimfile:"sources\boot.wim" | find /i "Index"') do set bootimg=%# for /L %# in (1 1 !imgcount!) do (for /F "tokens=1* delims=: " %i in ('dism.exe /english /get-wiminfo /wimfile:"sources\install.wim" /index:%# | findstr /b /c:"Name"') do set name%#="%j" ) set "indices=*" set "targetname=install.wim" set wimfiles=1 cd /d "!_work!" ) ============================================================ Please wait... ============================================================ 1 File Copied. Version : 10.0.26100 >set _build=26100 >set arch=x64 >set imgcount=1 >set imgcount=2 >set imgcount=3 >set imgcount=4 >set imgcount=5 >set imgcount=6 >set imgcount=7 >set imgcount=8 >set imgcount=9 >set bootimg=1 >set bootimg=2 >(for /F "tokens=1* delims=: " %i in ('dism.exe /english /get-wiminfo /wimfile:"sources\install.wim" /index:1 | findstr /b /c:"Name"') do set name1="%j" ) >set name1="Windows 11 Home" >(for /F "tokens=1* delims=: " %i in ('dism.exe /english /get-wiminfo /wimfile:"sources\install.wim" /index:2 | findstr /b /c:"Name"') do set name2="%j" ) >set name2="Windows 11 Pro" >(for /F "tokens=1* delims=: " %i in ('dism.exe /english /get-wiminfo /wimfile:"sources\install.wim" /index:3 | findstr /b /c:"Name"') do set name3="%j" ) >set name3="Windows 11 Enterprise" >(for /F "tokens=1* delims=: " %i in ('dism.exe /english /get-wiminfo /wimfile:"sources\install.wim" /index:4 | findstr /b /c:"Name"') do set name4="%j" ) >set name4="Windows 11 Education" >(for /F "tokens=1* delims=: " %i in ('dism.exe /english /get-wiminfo /wimfile:"sources\install.wim" /index:5 | findstr /b /c:"Name"') do set name5="%j" ) >set name5="Windows 11 Pro Education" >(for /F "tokens=1* delims=: " %i in ('dism.exe /english /get-wiminfo /wimfile:"sources\install.wim" /index:6 | findstr /b /c:"Name"') do set name6="%j" ) >set name6="Windows 11 Pro for Workstations" >(for /F "tokens=1* delims=: " %i in ('dism.exe /english /get-wiminfo /wimfile:"sources\install.wim" /index:7 | findstr /b /c:"Name"') do set name7="%j" ) >set name7="Windows 11 IoT Enterprise" >(for /F "tokens=1* delims=: " %i in ('dism.exe /english /get-wiminfo /wimfile:"sources\install.wim" /index:8 | findstr /b /c:"Name"') do set name8="%j" ) >set name8="Windows 11 Enterprise LTSC" >(for /F "tokens=1* delims=: " %i in ('dism.exe /english /get-wiminfo /wimfile:"sources\install.wim" /index:9 | findstr /b /c:"Name"') do set name9="%j" ) >set name9="Windows 11 IoT Enterprise LTSC" >if 1 == 1 (goto :check ) else (goto :mainmenu ) >if /I "!target!" == "C:" ( if /I amd64 == x86 (set arch=x86 ) else if /I amd64 == amd64 (set arch=x64 ) else (set arch=arm64 ) set _build=26100 reg.exe query HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Configuration /v W10UIclean && (set onlineclean=1 ) reg.exe query HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Configuration /v W10UIrebase && (set onlineclean=1 ) ) >if not defined onlineclean goto :main1board >call :counter >set _msu=0 >set _cab=0 >set _sum=0 >cd /d "!repo!" >if exist "SSU-*-x64*.msu" for /F "tokens=* delims=" %# in ('dir /b /on "SSU-*-x64*.msu"') do (set "ssupkg=%#" & call :tmprenssu ) >if exist "SSU-*-x64*.cab" for /F "tokens=* delims=" %# in ('dir /b /on "SSU-*-x64*.cab"') do (set "ssupkg=%#" & call :tmprenssu ) >if exist "*Windows1*-KB*x64*.msu" (for /F "tokens=* delims=" %# in ('dir /b /on "*Windows1*-KB*x64*.msu"') do ( call set /a _msu+=1 set "_name=%#" if not "!_name!" == "!_name: =!" ren "!_name!" "!_name: =!" if /I "!_name:~0,18!" == "AMD64_X86_ARM-all-" ren "!_name!" "!_name:~18!" if /I "!_name:~0,14!" == "AMD64_X86-all-" ren "!_name!" "!_name:~14!" if /I "!_name:~0,10!" == "AMD64-all-" ren "!_name!" "!_name:~10!" if /I "!_name:~0,10!" == "ARM64-all-" ren "!_name!" "!_name:~10!" if /I "!_name:~0,8!" == "X86-all-" ren "!_name!" "!_name:~8!" ) ) >( call set /a _msu+=1 set "_name=Windows11.0-KB5036908-x64.msu" if not "!_name!" == "!_name: =!" ren "!_name!" "!_name: =!" if /I "!_name:~0,18!" == "AMD64_X86_ARM-all-" ren "!_name!" "!_name:~18!" if /I "!_name:~0,14!" == "AMD64_X86-all-" ren "!_name!" "!_name:~14!" if /I "!_name:~0,10!" == "AMD64-all-" ren "!_name!" "!_name:~10!" if /I "!_name:~0,10!" == "ARM64-all-" ren "!_name!" "!_name:~10!" if /I "!_name:~0,8!" == "X86-all-" ren "!_name!" "!_name:~8!" ) >if exist "*Windows1*-KB*x64*.cab" (for /F "tokens=* delims=" %# in ('dir /b /on "*Windows1*-KB*x64*.cab"') do ( call set /a _cab+=1 set "_name=%#" if not "!_name!" == "!_name: =!" ren "!_name!" "!_name: =!" if /I "!_name:~0,18!" == "AMD64_X86_ARM-all-" ren "!_name!" "!_name:~18!" if /I "!_name:~0,14!" == "AMD64_X86-all-" ren "!_name!" "!_name:~14!" if /I "!_name:~0,10!" == "AMD64-all-" ren "!_name!" "!_name:~10!" if /I "!_name:~0,10!" == "ARM64-all-" ren "!_name!" "!_name:~10!" if /I "!_name:~0,8!" == "X86-all-" ren "!_name!" "!_name:~8!" ) ) >( call set /a _cab+=1 set "_name=Windows11.0-KB5036616-x64-NDP481.cab" if not "!_name!" == "!_name: =!" ren "!_name!" "!_name: =!" if /I "!_name:~0,18!" == "AMD64_X86_ARM-all-" ren "!_name!" "!_name:~18!" if /I "!_name:~0,14!" == "AMD64_X86-all-" ren "!_name!" "!_name:~14!" if /I "!_name:~0,10!" == "AMD64-all-" ren "!_name!" "!_name:~10!" if /I "!_name:~0,10!" == "ARM64-all-" ren "!_name!" "!_name:~10!" if /I "!_name:~0,8!" == "X86-all-" ren "!_name!" "!_name:~8!" ) >if 0 == 0 if exist "*defender-dism*x64*.cab" (for /F "tokens=* delims=" %# in ('dir /b "*defender-dism*x64*.cab"') do ( call set /a _cab+=1 set "_name=%#" if not "!_name!" == "!_name: =!" ren "!_name!" "!_name: =!" ) ) >( call set /a _cab+=1 set "_name=defender-dism-x64.cab" if not "!_name!" == "!_name: =!" ren "!_name!" "!_name: =!" ) >cd /d "!_work!" >set /a _sum=1+2 >goto :eof >set "brep=!repo!" >if 3 == 0 set "repo=" >if /I not "!dismroot!" == "dism.exe" if exist "!dismroot!" goto :mainmenu >goto :checkadk >set regKeyPathFound=1 >set wowRegKeyPathFound=1 >reg.exe query "HKLM\Software\Wow6432Node\Microsoft\Windows Kits\Installed Roots" /v KitsRoot10 || set wowRegKeyPathFound=0 HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\Windows Kits\Installed Roots KitsRoot10 REG_SZ C:\Program Files (x86)\Windows Kits\10\ >reg.exe query "HKLM\Software\Microsoft\Windows Kits\Installed Roots" /v KitsRoot10 || set regKeyPathFound=0 HKEY_LOCAL_MACHINE\Software\Microsoft\Windows Kits\Installed Roots KitsRoot10 REG_SZ C:\Program Files (x86)\Windows Kits\10\ >if 1 EQU 0 (if 1 EQU 0 (goto :mainmenu ) else (set regKeyPath=HKLM\Software\Microsoft\Windows Kits\Installed Roots ) ) else (set regKeyPath=HKLM\Software\Wow6432Node\Microsoft\Windows Kits\Installed Roots ) >for /F "skip=2 tokens=2*" %i in ('reg.exe query "HKLM\Software\Wow6432Node\Microsoft\Windows Kits\Installed Roots" /v KitsRoot10') do set "KitsRoot=%j" >set "KitsRoot=C:\Program Files (x86)\Windows Kits\10\" >set "DandIRoot=C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Deployment Tools" >if exist "C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Deployment Tools\amd64\DISM\dism.exe" ( set _ADK=1 set "showdism=Windows NT 10.0 ADK" set "Path=C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Deployment Tools\amd64\DISM;C:\Windows\System32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\" set "dsv=C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Deployment Tools\amd64\DISM\dism.exe" set "dsv=!dsv:\=\\!" call :DismVer ) >if exist "C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Deployment Tools\amd64\Oscdimg\oscdimg.exe" (set "_oscdimg=C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Deployment Tools\amd64\Oscdimg\oscdimg.exe" ) >goto :mainmenu >if 1 NEQ 0 goto :mainboard >if 26100 LSS 10240 if /I "!target!" == "C:" (exit /b ) >if 26100 LSS 10240 if 0 EQU 0 (exit /b ) >if "!target!" == "" (exit /b ) >if "!repo!" == "" (exit /b ) >if "e" == "\" set "repo=!repo:~0,-1!" >if "!_cabdir!" == "" (exit /b ) >if "!mountdir!" == "" (exit /b ) >if /I "!target!" == "C:" (set dismtarget=/online & set "mountdir=!target!" & set online=1 & set _build=26100 ) else (set dismtarget=/image:"!mountdir!" ) >if 0 NEQ 0 (echo.) else if 1 NEQ 0 (echo.) else () >echo ============================================================ ============================================================ >echo Running W10UI v10.41 Running W10UI v10.41 >echo ============================================================ ============================================================ >if 0 == 1 ( net stop trustedinstaller net stop wuauserv del /f /q C:\Windows\Logs\CBS\* ) >if not exist "C:\Windows\Logs\DISM\" mkdir "C:\Windows\Logs\DISM" >if 0 EQU 0 ( del /f /q C:\Windows\Logs\DISM\* del /f /q C:\Windows\Logs\MoSetup\* ) >if defined onlineclean ( if exist "C:\Windows\WinSxS\pending.xml" ( echo. echo ============================================================ echo ERROR: you must restart the system first before cleaning up echo ============================================================ echo. echo. echo Press any key to exit. goto :eof ) set verb=0 set "mountdir=!target!" set "mumtarget=!target!" set dismtarget=/online set _build=26100 reg.exe delete HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Configuration /v W10UIclean /f reg.exe delete HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Configuration /v W10UIrebase /f if not exist "!_cabdir!\" mkdir "!_cabdir!" call :cleanup goto :fin ) >if 1 == 1 if 0 == 1 ( echo. echo ============================================================ echo Copying DVD Drive contents to work directory... echo ============================================================ if exist "!_work!\DVD10UI\" rmdir /s /q "!_work!\DVD10UI\" robocopy "!target!" "!_work!\DVD10UI" /E /A-:R 1>nul set "target=!_work!\DVD10UI" ) >call :extract >if /I x64 == x86 (set efifile=bootia32.efi & set sss=x86 ) else if /I x64 == x64 (set efifile=bootx64.efi & set sss=amd64 ) else (set efifile=bootaa64.efi & set sss=arm64 ) >if 0 EQU 0 call :cleaner >cd /d "!_work!" >if defined msucab ( for %# in ((null)) do del /f /q "!repo!\%~#" set msucab= ) >if defined tmpcmp ( for %# in ((null)) do del /f /q "!repo!\%~#" set tmpcmp= ) >if defined uuppkg ( for %# in ((null)) do del /f /q "!repo!\%~#" set uuppkg= ) >if 0 NEQ 0 goto :eof >if exist "cabmsu.txt" ( for /F %# in (cabmsu.txt) do del /f /q "!repo!\%~#" del /f /q cabmsu.txt ) >if exist "!_cabdir!\cmpcab.txt" ( cd /d "!_cabdir!" for /F %# in (cmpcab.txt) do del /f /q "!repo!\%~#" del /f /q cmpcab.txt cd /d "!_work!" ) >if 0 NEQ 0 goto :eof >if exist "!_cabdir!\" ( echo. echo ============================================================ echo Removing temporary extracted files... echo ============================================================ echo. rmdir /s /q "!_cabdir!\" ) >if exist "!_cabdir!\" ( mkdir H:\_del286 1>nul 2>nul robocopy H:\_del286 "!_cabdir!" /MIR 1>nul 2>nul rmdir /s /q H:\_del286\ 1>nul 2>nul rmdir /s /q "!_cabdir!\" ) >goto :eof >if not exist "!_cabdir!\" mkdir "!_cabdir!" >if 0 == 0 if 0 == 0 if 26100 GEQ 22000 if exist "C:\Windows\System32\ucrtbase.dll" call :get_dpx >if 0 EQU 0 ( echo. echo ============================================================ echo Extracting dpx.dll file... echo ============================================================ ) ============================================================ Extracting dpx.dll file... ============================================================ >set _nat=0 >set _wow=0 >if /I x64 == amd64 set _nat=1 >if /I x64 == x64 if /I amd64 == amd64 set _nat=1 >if 1 EQU 0 set _wow=1 >if 0 EQU 1 if exist "!repo!\DesktopDeployment_x86.cab" ( for /F "tokens=* delims=" %# in ('dir /b /on "!repo!\DesktopDeployment_x86.cab"') do expand.exe -f:dpx.dll "!repo!\%#" "!_cabdir!" if exist "!_cabdir!\dpx.dll" ( copy /y C:\Windows\SysWOW64\expand.exe "!_cabdir!\" set _exp="!_cabdir!\expand.exe" exit /b ) ) >if 1 EQU 1 if exist "!repo!\*DesktopDeployment.cab" ( for /F "tokens=* delims=" %# in ('dir /b /on "!repo!\*DesktopDeployment.cab"') do expand.exe -f:dpx.dll "!repo!\%#" "!_cabdir!" if exist "!_cabdir!\dpx.dll" ( copy /y C:\Windows\System32\expand.exe "!_cabdir!\" set _exp="!_cabdir!\expand.exe" exit /b ) ) >set msuwim=0 >set "uupmsu=" >if exist "!repo!\*Windows1*-KB*x64*.msu" for /F "tokens=* delims=" %# in ('dir /b /on "!repo!\*Windows1*-KB*x64*.msu"') do ( expand.exe -d -f:*Windows*.psf "!repo!\%#" | findstr /i x64\.psf && (set "uupmsu=%#" ) dism.exe /English /List-Image /ImageFile:"!repo!\%#" /Index:1 | findstr /i x64\.psf && (set "uupmsu=%#" & set msuwim=1 ) ) >( expand.exe -d -f:*Windows*.psf "!repo!\Windows11.0-KB5036908-x64.msu" | findstr /i x64\.psf && (set "uupmsu=Windows11.0-KB5036908-x64.msu" ) dism.exe /English /List-Image /ImageFile:"!repo!\Windows11.0-KB5036908-x64.msu" /Index:1 | findstr /i x64\.psf && (set "uupmsu=Windows11.0-KB5036908-x64.msu" & set msuwim=1 ) ) \Windows11.0-KB5036908-x64.psf >if 1 EQU 1 if 1 EQU 0 exit /b >if defined uupmsu if 1 EQU 0 ( if 0 EQU 1 expand.exe -f:DesktopDeployment_x86.cab "!repo!\Windows11.0-KB5036908-x64.msu" "!_cabdir!" if 1 EQU 1 expand.exe -f:DesktopDeployment.cab "!repo!\Windows11.0-KB5036908-x64.msu" "!_cabdir!" ) >if defined uupmsu if 1 EQU 1 ( if 0 EQU 1 powershell -nop -c "$f=[IO.File]::ReadAllText('!_batp!') -split ':wimmsu\:.*';iex ($f[1]);E '!repo!\Windows11.0-KB5036908-x64.msu' 'DesktopDeployment_x86.cab' '!_cabdir!\DesktopDeployment_x86.cab'" if 1 EQU 1 powershell -nop -c "$f=[IO.File]::ReadAllText('!_batp!') -split ':wimmsu\:.*';iex ($f[1]);E '!repo!\Windows11.0-KB5036908-x64.msu' 'DesktopDeployment.cab' '!_cabdir!\DesktopDeployment.cab'" ) >set dpxwim=install.wim >if 0 == 1 set "dpxwim=!target!" >if 1 == 1 set "dpxwim=!target!\sources\install.wim" >if 0 EQU 1 ( if exist "!_cabdir!\DesktopDeployment_x86.cab" (expand.exe -f:dpx.dll "!_cabdir!\DesktopDeployment_x86.cab" "!_cabdir!" ) else ( if 0 == 1 copy /y "!mountdir!\Windows\SysWOW64\dpx.dll" "!_cabdir!\" if 1 == 1 powershell -nop -c "$f=[IO.File]::ReadAllText('!_batp!') -split ':wimmsu\:.*';iex ($f[1]);E '!dpxwim!' 'Windows\SysWOW64\dpx.dll' '!_cabdir!\dpx.dll'" ) if exist "!_cabdir!\dpx.dll" ( copy /y C:\Windows\SysWOW64\expand.exe "!_cabdir!\" set _exp="!_cabdir!\expand.exe" ) ) >if 1 EQU 1 ( if exist "!_cabdir!\DesktopDeployment.cab" (expand.exe -f:dpx.dll "!_cabdir!\DesktopDeployment.cab" "!_cabdir!" ) else ( if 0 == 1 copy /y "!mountdir!\Windows\System32\dpx.dll" "!_cabdir!\" if 1 == 1 powershell -nop -c "$f=[IO.File]::ReadAllText('!_batp!') -split ':wimmsu\:.*';iex ($f[1]);E '!dpxwim!' 'Windows\System32\dpx.dll' '!_cabdir!\dpx.dll'" ) if exist "!_cabdir!\dpx.dll" ( copy /y C:\Windows\System32\expand.exe "!_cabdir!\" set _exp="!_cabdir!\expand.exe" ) ) >exit /b >call :detector >set _msu=0 >set _cab=0 >set _sum=0 >cd /d "!repo!" >if not defined tmpssu if exist "SSU-*-x64*.msu" for /F "tokens=* delims=" %# in ('dir /b /on "SSU-*-x64*.msu"') do (set "ssupkg=%#" & call :tmprenssu ) >if not defined tmpssu if exist "SSU-*-x64*.cab" for /F "tokens=* delims=" %# in ('dir /b /on "SSU-*-x64*.cab"') do (set "ssupkg=%#" & call :tmprenssu ) >if exist "*Windows1*-KB*x64*.msu" for /F "tokens=* delims=" %# in ('dir /b /on "*Windows1*-KB*x64*.msu"') do call set /a _msu+=1 >call set /a _msu+=1 >if exist "*Windows1*-KB*x64*.cab" for /F "tokens=* delims=" %# in ('dir /b /on "*Windows1*-KB*x64*.cab"') do call set /a _cab+=1 >call set /a _cab+=1 >if 0 == 0 if exist "*defender-dism*x64*.cab" for /F "tokens=* delims=" %# in ('dir /b "*defender-dism*x64*.cab"') do call set /a _cab+=1 >call set /a _cab+=1 >cd /d "!_work!" >set /a _sum=1+2 >goto :eof >if 2 NEQ 0 (set msuchk=0 & set count=0 if 0 == 0 if exist "!repo!\*defender-dism*x64*.cab" for /F "tokens=* delims=" %# in ('dir /b "!repo!\*defender-dism*x64*.cab"') do (set "package=%#" & call :cab1def ) if exist "!repo!\*Windows1*-KB*x64*.cab" for /F "tokens=* delims=" %# in ('dir /b /on "!repo!\*Windows1*-KB*x64*.cab"') do (set "package=%#" & call :cab1 ) ) >(set "package=defender-dism-x64.cab" & call :cab1def ) >if 1 EQU 1 goto :eof >(set "package=Windows11.0-KB5036616-x64-NDP481.cab" & call :cab1 ) >set kb= >set tn=2 >for /F "tokens=2 delims=-" %A in ('echo !package!') do (if not errorlevel 1 ( echo %A | findstr /i /b KB && (set kb=%A & goto :endcabLoop ) set /a tn+=1 goto :startcabLoop ) else (goto :endcabLoop ) ) >(if not errorlevel 1 ( echo KB5036616 | findstr /i /b KB && (set kb=KB5036616 & goto :endcabLoop ) set /a tn+=1 goto :startcabLoop ) else (goto :endcabLoop ) ) KB5036616 >if "KB5036616" == "" goto :eof >if 1 EQU 1 goto :cab1proceed >if 0 EQU 0 goto :eof >if 1 NEQ 0 ( echo. if 0 EQU 0 ( echo ============================================================ echo Extracting .cab files from .msu files... echo ============================================================ echo. ) set msuchk=1 & set count=0 & set msucab= & set uuppkg= for /F "tokens=* delims=" %# in ('dir /b /on "!repo!\*Windows1*-KB*x64*.msu"') do (set "package=%#" & set "dest=%~n#" & call :cab1 ) ) ============================================================ Extracting .cab files from .msu files... ============================================================ >(set "package=Windows11.0-KB5036908-x64.msu" & set "dest=Windows11.0-KB5036908-x64" & call :cab1 ) >set kb= >set tn=2 >for /F "tokens=2 delims=-" %A in ('echo !package!') do (if not errorlevel 1 ( echo %A | findstr /i /b KB && (set kb=%A & goto :endcabLoop ) set /a tn+=1 goto :startcabLoop ) else (goto :endcabLoop ) ) >(if not errorlevel 1 ( echo KB5036908 | findstr /i /b KB && (set kb=KB5036908 & goto :endcabLoop ) set /a tn+=1 goto :startcabLoop ) else (goto :endcabLoop ) ) KB5036908 >if "KB5036908" == "" goto :eof >if 1 EQU 1 goto :cab1proceed >if 1 EQU 0 goto :eof >set uupmsu=0 >set msuwim=0 >cd /d "!repo!" >expand.exe -d -f:*Windows*.psf !package! | findstr /i x64\.psf && set uupmsu=1 >if 0 EQU 0 if 26100 GEQ 21382 (dism.exe /English /List-Image /ImageFile:!package! /Index:1 | findstr /i x64\.psf && (set uupmsu=1 & set msuwim=1 ) ) \Windows11.0-KB5036908-x64.psf >set kbcab= >if 1 EQU 0 for /F "tokens=2 delims=: " %# in ('expand.exe -d -f:*Windows*.cab !package! | findstr /i KB5036908') do set kbcab=%# >if /I "" == "No" if 1 EQU 0 for /F "tokens=2 delims=: " %# in ('expand.exe -d -f:SSU-*.cab !package! | findstr /i KB5036908') do set kbcab=%# >cd /d "!_work!" >set /a count+=1 >if 1 EQU 1 ( if 1 EQU 0 goto :eof goto :msu1 ) >cd /d "!_cabdir!" >if 0 EQU 0 if exist "Windows11.0-KB5036908-x64\" rmdir /s /q "Windows11.0-KB5036908-x64\" >if not exist "Windows11.0-KB5036908-x64\chck\" mkdir "Windows11.0-KB5036908-x64\chck" >if 1 EQU 1 if 0 == 0 ( for /F "tokens=1 delims=\" %# in ('dism.exe /English /List-Image /ImageFile:"!repo!\!package!" /Index:1 | findstr /i /r ".*AggregatedMetadata\.cab"') do powershell -nop -c "$f=[IO.File]::ReadAllText('!_batp!') -split ':wimmsu\:.*';iex ($f[1]);E '!repo!\!package!' '%#' 'Windows11.0-KB5036908-x64\chck\%#'" for /F "tokens=* delims=" %# in ('dir /b /on "Windows11.0-KB5036908-x64\chck\*AggregatedMetadata.cab" ') do (expand.exe -f:HotpatchCompDB*.cab "Windows11.0-KB5036908-x64\chck\%#" "Windows11.0-KB5036908-x64\chck" 1>nul 2>nul ) ) >powershell -nop -c "$f=[IO.File]::ReadAllText('!_batp!') -split ':wimmsu\:.*';iex ($f[1]);E '!repo!\!package!' 'onepackage.AggregatedMetadata.cab' 'Windows11.0-KB5036908-x64\chck\onepackage.AggregatedMetadata.cab'" File Not Found. >if exist "Windows11.0-KB5036908-x64\chck\HotpatchCompDB*.cab" ( echo Not Supported: Windows11.0-KB5036908-x64.msu [HotPatchUpdate] rmdir /s /q "Windows11.0-KB5036908-x64\chck\" goto :eof ) >echo 1/1: Windows11.0-KB5036908-x64.msu [Combined UUP] 1/1: Windows11.0-KB5036908-x64.msu [Combined UUP] >if 1 EQU 0 ( expand.exe -f:*Windows*.cab "!repo!\!package!" "Windows11.0-KB5036908-x64\chck" 1>nul 2>nul expand.exe -f:SSU-*x64*.cab "!repo!\!package!" "Windows11.0-KB5036908-x64\chck" 1>nul 2>nul ) else (for /F "tokens=1 delims=\" %# in ('dism.exe /English /List-Image /ImageFile:"!repo!\!package!" /Index:1 | findstr /i /r "SSU-.* x64\.wim"') do powershell -nop -c "$f=[IO.File]::ReadAllText('!_batp!') -split ':wimmsu\:.*';iex ($f[1]);E '!repo!\!package!' '%#' 'Windows11.0-KB5036908-x64\chck\%#'" ) >powershell -nop -c "$f=[IO.File]::ReadAllText('!_batp!') -split ':wimmsu\:.*';iex ($f[1]);E '!repo!\!package!' 'SSU-26100.268-x64.cab' 'Windows11.0-KB5036908-x64\chck\SSU-26100.268-x64.cab'" >powershell -nop -c "$f=[IO.File]::ReadAllText('!_batp!') -split ':wimmsu\:.*';iex ($f[1]);E '!repo!\!package!' 'Windows11.0-KB5036908-x64.wim' 'Windows11.0-KB5036908-x64\chck\Windows11.0-KB5036908-x64.wim'" >for /F "tokens=* delims=" %# in ('dir /b /on "Windows11.0-KB5036908-x64\chck\*Windows1*-KB*.*"') do set "compkg=%# File Not Found. >if 1 EQU 0 ( expand.exe -f:update.mum "Windows11.0-KB5036908-x64\chck\" "Windows11.0-KB5036908-x64" 1>nul 2>nul expand.exe -f:amd64_microsoft-updatetargeting-*os_*.manifest "Windows11.0-KB5036908-x64\chck\" "Windows11.0-KB5036908-x64" 1>nul 2>nul ) else (for /F "tokens=1 delims=\" %# in ('dism.exe /English /List-Image /ImageFile:"Windows11.0-KB5036908-x64\chck\" /Index:1 | findstr /i /r "update.mum amd64_microsoft-updatetargeting-.*os_"') do powershell -nop -c "$f=[IO.File]::ReadAllText('!_batp!') -split ':wimmsu\:.*';iex ($f[1]);E 'Windows11.0-KB5036908-x64\chck\' '%#' 'Windows11.0-KB5036908-x64\%#'" ) >if exist "Windows11.0-KB5036908-x64\chck\SSU-*x64*.cab" for /F "tokens=* delims=" %# in ('dir /b /on "Windows11.0-KB5036908-x64\chck\SSU-*x64*.cab"') do (set "compkg=%#" & call :uupssu ) >rmdir /s /q "Windows11.0-KB5036908-x64\chck\" >set msu_Windows11.0-KB5036908-x64=1 >if not defined isodate findstr /i /m "Package_for_RollupFix" "Windows11.0-KB5036908-x64\update.mum" && ( if not exist "C:\Windows\temp\" mkdir "C:\Windows\temp" copy /y "Windows11.0-KB5036908-x64\update.mum" C:\Windows\temp\ if 26100 GEQ 22621 copy /y "Windows11.0-KB5036908-x64\update.mum" "!_cabdir!\LCU.mum" call :datemum isodate isotime ) FINDSTR: Cannot Open Windows11.0-KB5036908-x64\update.mum. >cd /d "!_work!" >goto :eof >if 3 == 0 (echo. & echo All applicable updates are detected as installed & goto :eof ) >echo.
Either that's the reason, or something else is preventing Powershell code "wimmsu" from extracting the files i will see if i can add fallback code to use dism.exe /Apply-Image
@abbodi1406 Thanks. I'll test it later when complete making test env. (24H2 Clean install state and if so, powershell Set-ExecutionPolicy RemoteSigned) Also, I found A*ast's behavior shield is blocking powershell in 24H2, so I disabled it and W10UI 10.41 works normally. Edit: Just tested at 24H2 Clean state and It works fine!