FYI, 7.7 blew up my LTSC ISO to 4.7 GB while 7.8 got it back down to just over 4.07 GB so it shaved off ~693 MB using the same updates.
I only added one command line to create C:\Windows\Logs\DISM if not exist nothing else changed inbetween
@abbodi1406 Looks like it's back to normal Code: ============================================================ [1] Target (x64): "h:\W10UI_4.X\17763.1_Work_x64_US" [2] Updates: "h:\W10UI_4.X\17763.1_Updates_x64" [3] DISM: "Host OS" [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: 3 / [K] Keep indexes: Selected [M] Mount Directory: "c:\W10UImount_8005" [E] Extraction Directory: "c:\W10UItemp_5793" ============================================================ Change a menu option, press 0 to start the process, or 9 to exit: Code: ============================================================ Running W10UI v7.9 ============================================================ ============================================================ Extracting files from update cabinets (.cab) *** This will require some disk space, please be patient *** ============================================================ 1/6: Windows10.0-KB4486153-x64_Dotnet48_10.0.1.3106.cab 2/6: Windows10.0-KB4516115-x64_Flash.cab 3/6: Windows10.0-KB4523204-x64_SSU_17763.850.1.2.cab 4/6: windows10.0-kb4524761-x64_DU_Sources.cab 5/6: Windows10.0-KB4534131-x64-NDP48_CU_3115.cab 6/6: Windows10.0-KB4534321-x64_PSFX_CU_1012.cab ============================================================ Mounting sources\install.wim - index 3/4 ============================================================ Deployment Image Servicing and Management tool Version: 10.0.17763.771 Mounting image [==========================100.0%==========================] The operation completed successfully. ============================================================ Checking Updates... ============================================================ ============================================================ Installing servicing stack update... ============================================================ Deployment Image Servicing and Management tool Version: 10.0.17763.771 Image Version: 10.0.17763.1 Processing 1 of 1 - Adding package Package_for_KB4523204~31bf3856ad364e35~amd64~~17763.850.1.2 [==========================100.0%==========================] The operation completed successfully. ============================================================ Installing updates... ============================================================ Deployment Image Servicing and Management tool Version: 10.0.17763.771 Image Version: 10.0.17763.1 Processing 1 of 3 - Adding package Package_for_KB4486153~31bf3856ad364e35~amd64~~10.0.1.3106 [==========================100.0%==========================] Processing 2 of 3 - Adding package Package_for_KB4516115~31bf3856ad364e35~amd64~~10.0.1.1 [==========================100.0%==========================] Processing 3 of 3 - Adding package Package_for_DotNetRollup~31bf3856ad364e35~amd64~~10.0.1.3115 [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.17763.771 Image Version: 10.0.17763.1 Processing 1 of 1 - Adding package Package_for_RollupFix~31bf3856ad364e35~amd64~~17763.1012.1.6 [==========================100.0%==========================] The operation completed successfully. ============================================================ Resetting OS image base ============================================================ Deployment Image Servicing and Management tool Version: 10.0.17763.771 Image Version: 10.0.17763.1012 [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.17763.771 Image Version: 10.0.17763.1012 [==========================100.0%==========================] The operation completed successfully. ============================================================ Adding .NET Framework 3.5 feature ============================================================ Deployment Image Servicing and Management tool Version: 10.0.17763.771 Image Version: 10.0.17763.1012 Enabling feature(s) [==========================100.0%==========================] The operation completed successfully. ============================================================ Reinstalling cumulative update(s)... ============================================================ Deployment Image Servicing and Management tool Version: 10.0.17763.771 Image Version: 10.0.17763.1012 Processing 1 of 2 - Adding package Package_for_DotNetRollup~31bf3856ad364e35~amd64~~10.0.1.3115 [==========================100.0%==========================] Processing 2 of 2 - Adding package Package_for_RollupFix~31bf3856ad364e35~amd64~~17763.1012.1.6 [==========================100.0%==========================] The operation completed successfully. ============================================================ Updating winre.wim ============================================================ Deployment Image Servicing and Management tool Version: 10.0.17763.771 Mounting image [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.17763.771 Image Version: 10.0.17763.1 Processing 1 of 1 - Adding package Package_for_KB4523204~31bf3856ad364e35~amd64~~17763.850.1.2 [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.17763.771 Image Version: 10.0.17763.1 Processing 1 of 1 - Adding package Package_for_RollupFix~31bf3856ad364e35~amd64~~17763.1012.1.6 [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.17763.771 Image Version: 10.0.17763.1012 [===========================99.7%========================= ] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.17763.771 Image Version: 10.0.17763.1012 [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.17763.771 Image File : H:\W10UI_4.X\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.17763.771 Exporting image [==========================100.0%==========================] The operation completed successfully. ============================================================ Adding updated winre.wim ============================================================ 1 file(s) copied. ============================================================ Unmounting sources\install.wim - index 3/4 ============================================================ Deployment Image Servicing and Management tool Version: 10.0.17763.771 Image File : h:\W10UI_4.X\17763.1_Work_x64_US\sources\install.wim Image Index : 3 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.17763.771 Exporting image [==========================100.0%==========================] The operation completed successfully. ============================================================ Mounting sources\boot.wim - index 1/2 ============================================================ Deployment Image Servicing and Management tool Version: 10.0.17763.771 Mounting image [==========================100.0%==========================] The operation completed successfully. ============================================================ Checking Updates... ============================================================ ============================================================ Installing servicing stack update... ============================================================ Deployment Image Servicing and Management tool Version: 10.0.17763.771 Image Version: 10.0.17763.1 Processing 1 of 1 - Adding package Package_for_KB4523204~31bf3856ad364e35~amd64~~17763.850.1.2 [==========================100.0%==========================] The operation completed successfully. ============================================================ Installing updates... ============================================================ Deployment Image Servicing and Management tool Version: 10.0.17763.771 Image Version: 10.0.17763.1 Processing 1 of 1 - Adding package Package_for_RollupFix~31bf3856ad364e35~amd64~~17763.1012.1.6 [==========================100.0%==========================] The operation completed successfully. ============================================================ Resetting WinPE image base ============================================================ Deployment Image Servicing and Management tool Version: 10.0.17763.771 Image Version: 10.0.17763.1012 [===========================99.7%========================= ] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.17763.771 Image Version: 10.0.17763.1012 [==========================100.0%==========================] The operation completed successfully. ============================================================ Unmounting sources\boot.wim - index 1/2 ============================================================ Deployment Image Servicing and Management tool Version: 10.0.17763.771 Image File : h:\W10UI_4.X\17763.1_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.17763.771 Mounting image [==========================100.0%==========================] The operation completed successfully. ============================================================ Checking Updates... ============================================================ ============================================================ Installing servicing stack update... ============================================================ Deployment Image Servicing and Management tool Version: 10.0.17763.771 Image Version: 10.0.17763.1 Processing 1 of 1 - Adding package Package_for_KB4523204~31bf3856ad364e35~amd64~~17763.850.1.2 [==========================100.0%==========================] The operation completed successfully. ============================================================ Installing updates... ============================================================ Deployment Image Servicing and Management tool Version: 10.0.17763.771 Image Version: 10.0.17763.1 Processing 1 of 1 - Adding package Package_for_RollupFix~31bf3856ad364e35~amd64~~17763.1012.1.6 [==========================100.0%==========================] The operation completed successfully. ============================================================ Resetting WinPE image base ============================================================ Deployment Image Servicing and Management tool Version: 10.0.17763.771 Image Version: 10.0.17763.1012 [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.17763.771 Image Version: 10.0.17763.1012 [==========================100.0%==========================] The operation completed successfully. ============================================================ Unmounting sources\boot.wim - index 2/2 ============================================================ Deployment Image Servicing and Management tool Version: 10.0.17763.771 Image File : h:\W10UI_4.X\17763.1_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.17763.771 Exporting image [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.17763.771 Exporting image [==========================100.0%==========================] The operation completed successfully. ============================================================ Removing temporary extracted files... ============================================================ ============================================================ Creating updated ISO file... ============================================================ CDIMAGE 2.53m CD-ROM and DVD-ROM Premastering Utility Copyright (C) Microsoft, 1993-2007. All rights reserved. For Microsoft internal use only. Scanning source tree (500 files in 36 directories) Scanning source tree complete (940 files in 83 directories) Computing directory information complete Image file is 4195647488 bytes (before optimization) Writing 940 files in 83 directories to Win10_17763.1012_x64_2020-01-26.iso 100% complete Storage optimization saved 25 files, 14204928 bytes (1% of image) After optimization, image file is 4183572480 bytes Space saved because of embedding, sparseness or optimization = 14204928 Done. ============================================================ Finished ============================================================ Press 9 to exit.
Guys, I have a question about W10UI. If I want to enable NetFX3 (On Demand) I usually edit the .ini file and add this: Net35 =1 Net35Source =D:\MSDN\RS6\Updates\Soft\NET And put this file to the ./NET folder - microsoft-windows-netfx3-ondemand-package~31bf3856ad364e35~amd64~~.cab But what about the other one - microsoft-windows-netfx3-ondemand-package~31bf3856ad364e35~amd64~ru-ru~.cab ? Should I put it there also or not? And if not then how to enable ru language for Net Framework 3.5. May by I should add the ~ru-ru~.cab to the /Cabs directory with the SSU and CU updates? --- Plus if I understand correctly, the other 2 files (microsoft-windows-internetexplorer-optional-package~31bf3856ad364e35~amd64~~.cab Microsoft-Windows-InternetExplorer-Optional-Package~31bf3856ad364e35~amd64~ru-RU~.cab) are related to IE11 and they are useless as it's already enabled by default in Windows 10. Please confirm that or write the correct info. --- Thanks in advance!
So you mean that putting only one file "microsoft-windows-netfx3-ondemand-package~31bf3856ad364e35~amd64~~.cab" is the correct way, right?
Yes, that's how i do it. My script settings for nl-NL Images (i don't use the ini file): Code: @setlocal DisableDelayedExpansion @set uiv=v7.9 @echo off :: enable debug mode, you must also set target and repo (if updates are not beside the script) set _Debug=0 :: when changing below options, recommended to set the new values between = and " marks :: target distribution, wim file or offline image :: leave it blank to update current online os, or automatically detect wim file next to the script set "Target=j:\W10UI_4.X\17763.1_Work_x64_NL" :: updates location :: leave it blank to automatically detect the current script directory set "Repo=j:\W10UI_4.X\17763.1_Updates_x64" :: dism.exe tool custom path (if Host OS is not Win10 and no Win10 ADK installed) set "DismRoot=dism.exe" :: enable .NET 3.5 feature set Net35=1 :: optional, specify custom "folder" path for microsoft-windows-netfx3-ondemand-package.cab set "Net35Source=j:\W10UI_4.X\17763.1_SXS_x64" :: Cleanup OS images to "compress" superseded components (might take long time to complete) set Cleanup=1 :: Rebase OS images to "remove" superseded components (warning: break "Reset this PC" feature) :: require first to set Cleanup=1 set ResetBase=1 :: update winre.wim if detected inside install.wim set WinRE=1 :: optional, set directory for temporary extracted files (default is on the same drive as the script) set "_CabDir=W10UItemp" :: optional, set mount directory for updating wim files (default is on the same drive as the script) set "MountDir=c:\W10UImount" set "WinreMount=c:\W10UImountre" :: start the process directly once you execute the script, as long as the other options are correctly set set AutoStart=0 :: # Options for distribution target only # :: convert install.wim to install.esd :: warning: the process will consume very high amount of CPU and RAM resources set wim2esd=0 :: create new iso file :: require Win10 ADK, or place oscdimg.exe or cdimage.exe next to the script set ISO=1 :: folder path for iso file, leave it blank to create in the script current directory set "ISODir=" :: delete DVD distribution folder after creating updated ISO set Delete_Source=0 Content of the set "Net35Source=j:\W10UI_4.X\17763.1_SXS_x64" folder = microsoft-windows-netfx3-ondemand-package~31bf3856ad364e35~amd64~~.cab When you look at the older non en-US ISOs, you will see that there are no language files inside the sxs folder on the ISO.
everytime i use this script it ends up without any error but new iso isnt created . idk why ? even adk is installed as same version for which the source is used.
It say that iso is created successfully, but you cannot find it? are you sure you didn't specify other location?
yes brother i havent specified any location to isodir. its blank as suggested by you in old post of this thread.
============================================================ Running W10UI v7.9 ============================================================ ============================================================ Extracting files from update cabinets (.cab) *** This will require some disk space, please be patient *** ============================================================ 1/6: Windows10.0-KB4486153-x64.cab 2/6: Windows10.0-KB4516115-x64.cab 3/6: Windows10.0-KB4523204-x64.cab 4/6: windows10.0-kb4524761-x64.cab 5/6: Windows10.0-KB4534131-x64-NDP48.cab 6/6: Windows10.0-KB4534321-x64_PSFX.cab ============================================================ Mounting install.wim - index 1/2 ============================================================ Deployment Image Servicing and Management tool Version: 10.0.17763.1 Mounting image [==========================100.0%==========================] The operation completed successfully. ============================================================ Checking Updates... ============================================================ ============================================================ Installing servicing stack update... ============================================================ Deployment Image Servicing and Management tool Version: 10.0.17763.1 Image Version: 10.0.17763.316 Processing 1 of 1 - Adding package Package_for_KB4523204~31bf3856ad364e35~amd64~~17763.850.1.2 [==========================100.0%==========================] The operation completed successfully. ============================================================ Installing updates... ============================================================ Deployment Image Servicing and Management tool Version: 10.0.17763.1 Image Version: 10.0.17763.316 Processing 1 of 3 - Adding package Package_for_KB4486153~31bf3856ad364e35~amd64~~10.0.1.3106 [==========================100.0%==========================] Processing 2 of 3 - Adding package Package_for_KB4516115~31bf3856ad364e35~amd64~~10.0.1.1 [==========================100.0%==========================] Processing 3 of 3 - Adding package Package_for_DotNetRollup~31bf3856ad364e35~amd64~~10.0.1.3115 [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.17763.1 Image Version: 10.0.17763.316 Processing 1 of 1 - Adding package Package_for_RollupFix~31bf3856ad364e35~amd64~~17763.1012.1.6 [==========================100.0%==========================] The operation completed successfully. ============================================================ Resetting OS image base ============================================================ Deployment Image Servicing and Management tool Version: 10.0.17763.1 Image Version: 10.0.17763.1012 [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.17763.1 Image Version: 10.0.17763.1012 [===== 9.8% ] [==========================100.0%==========================] The operation completed successfully. ============================================================ Updating winre.wim ============================================================ Deployment Image Servicing and Management tool Version: 10.0.17763.1 Mounting image [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.17763.1 Image Version: 10.0.17763.316 Processing 1 of 1 - Adding package Package_for_KB4523204~31bf3856ad364e35~amd64~~17763.850.1.2 [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.17763.1 Image Version: 10.0.17763.316 Processing 1 of 1 - Adding package Package_for_RollupFix~31bf3856ad364e35~amd64~~17763.1012.1.6 [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.17763.1 Image Version: 10.0.17763.1012 [===========================82.9%================ ] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.17763.1 Image Version: 10.0.17763.1012 [===== 9.7% ] [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.17763.1 Image File : C:\Users\%User%\Desktop\W10UI\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.17763.1 Exporting image [==========================100.0%==========================] The operation completed successfully. ============================================================ Adding updated winre.wim ============================================================ 1 file(s) copied. ============================================================ Unmounting install.wim - index 1/2 ============================================================ Deployment Image Servicing and Management tool Version: 10.0.17763.1 Image File : C:\Users\%User%\Desktop\W10UI\Win10\sources\install.wim Image Index : 1 Saving image [==========================100.0%==========================] Unmounting image [==========================100.0%==========================] The operation completed successfully. ============================================================ Mounting install.wim - index 2/2 ============================================================ Deployment Image Servicing and Management tool Version: 10.0.17763.1 Mounting image [==========================100.0%==========================] The operation completed successfully. ============================================================ Checking Updates... ============================================================ ============================================================ Installing servicing stack update... ============================================================ Deployment Image Servicing and Management tool Version: 10.0.17763.1 Image Version: 10.0.17763.316 Processing 1 of 1 - Adding package Package_for_KB4523204~31bf3856ad364e35~amd64~~17763.850.1.2 [==========================100.0%==========================] The operation completed successfully. ============================================================ Installing updates... ============================================================ Deployment Image Servicing and Management tool Version: 10.0.17763.1 Image Version: 10.0.17763.316 Processing 1 of 3 - Adding package Package_for_KB4486153~31bf3856ad364e35~amd64~~10.0.1.3106 [==========================100.0%==========================] Processing 2 of 3 - Adding package Package_for_KB4516115~31bf3856ad364e35~amd64~~10.0.1.1 [==========================100.0%==========================] Processing 3 of 3 - Adding package Package_for_DotNetRollup~31bf3856ad364e35~amd64~~10.0.1.3115 [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.17763.1 Image Version: 10.0.17763.316 Processing 1 of 1 - Adding package Package_for_RollupFix~31bf3856ad364e35~amd64~~17763.1012.1.6 [==========================100.0%==========================] The operation completed successfully. ============================================================ Resetting OS image base ============================================================ Deployment Image Servicing and Management tool Version: 10.0.17763.1 Image Version: 10.0.17763.1012 [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.17763.1 Image Version: 10.0.17763.1012 [===== 9.8% ] [==========================100.0%==========================] The operation completed successfully. ============================================================ Adding updated winre.wim ============================================================ 1 file(s) copied. ============================================================ Unmounting install.wim - index 2/2 ============================================================ Deployment Image Servicing and Management tool Version: 10.0.17763.1 Image File : C:\Users\%User%\Desktop\W10UI\Win10\sources\install.wim Image Index : 2 Saving image [==========================100.0%==========================] Unmounting image [==========================100.0%==========================] The operation completed successfully. ============================================================ Rebuilding install.wim ============================================================ Deployment Image Servicing and Management tool Version: 10.0.17763.1 Exporting image [==========================100.0%==========================] Exporting image [==========================100.0%==========================] The operation completed successfully. ============================================================ Removing temporary extracted files... ============================================================ ============================================================ Finished ============================================================ Press 9 to exit. Whole log of Script ...
Script when run as administrator : ============================================================ [1] Target (x64): "C:\Users\%User%\Desktop\W10UI\Win10\sources\install.wim" [2] Updates: "C:\Users\%User%\Desktop\W10UI\Updates" [3] DISM: "Windows 10 ADK" [4] Enable .NET 3.5: NO [5] Cleanup System Image: YES [6] Reset Image Base: YES [7] Update WinRE.wim: YES [8] Install.wim selected indexes: ALL (2) [M] Mount Directory: "C:\W10UImount_11689" [E] Extraction Directory: "C:\W10UItemp_12250" ============================================================ Change a menu option, press 0 to start the process, or 9 to exit: