Test: Mounting install.wim, winre.wim and boot.wim index 1 and 2: Filesize of the wim files before updating: Code: Install.wim: 3,28 GB (3.531.952.794 bytes) Winre.wim size: 351 MB (368.189.725 bytes) Boot.wim size: 312 MB (327.337.677 bytes) Code: =============================================================================== MSMG ToolKit - Select Source from <DVD> Folder =============================================================================== ------------------------------------------------------------------------------- ####Selecting Source Images#################################################### ------------------------------------------------------------------------------- Reading Image Information... =============================================================================== | Index | Arch | Name =============================================================================== | 1 | x64 | Windows 10 Home =============================================================================== Enter the Image Index # : 1 Do You Want to Mount Windows Setup Boot Image ? ['Y'es/'N'o] : Y Do You Want to Mount Windows Recovery Image ? ['Y'es/'N'o] : Y ------------------------------------------------------------------------------- ####Source Image Information################################################### ------------------------------------------------------------------------------- Image : Install.wim Image Index No : 1 Image Name : Windows 10 Home Image Description : Windows 10 Home Image Architecture : x64 Image Version : 10.0.17134 Image Service Pack Build : 1 Image Service Pack Level : 1 Image Build : 17134 Image Edition : Core Image Flag : Core Image Installation Type : Client Image Default Language : nl-NL ------------------------------------------------------------------------------- ####Mounting Source Images##################################################### ------------------------------------------------------------------------------- ------------------------------------------------------------------------------- Mounting [Boot.wim, Index : 1] Image at <\Mount\Boot\1>... ------------------------------------------------------------------------------- Deployment Image Servicing and Management tool Version: 10.0.17713.1000 Mounting image [==========================100.0%==========================] The operation completed successfully. ------------------------------------------------------------------------------- Mounting [Boot.wim, Index : 2] Image at <\Mount\Boot\2>... ------------------------------------------------------------------------------- Deployment Image Servicing and Management tool Version: 10.0.17713.1000 Mounting image [==========================100.0%==========================] The operation completed successfully. ------------------------------------------------------------------------------- Mounting [Install.wim, Index : 1] Image at <\Mount\Install>... ------------------------------------------------------------------------------- Deployment Image Servicing and Management tool Version: 10.0.17713.1000 Mounting image [==========================100.0%==========================] The operation completed successfully. ------------------------------------------------------------------------------- Mounting [WinRE.wim, Index : 1] Image at <\Mount\WinRE>... ------------------------------------------------------------------------------- Deployment Image Servicing and Management tool Version: 10.0.17713.1000 Mounting image [==========================100.0%==========================] The operation completed successfully. ------------------------------------------------------------------------------- ####Finished Selecting & Mounting Source Images################################ ------------------------------------------------------------------------------- =============================================================================== Press any key to continue . . . Updating all wim files (WHD Option): Code: =============================================================================== MSMG ToolKit - Integrate WHD General Updates to Windows Setup Boot, Install & Recovery Images =============================================================================== ------------------------------------------------------------------------------- ##################Starting Integrating WHD General Updates##################### ##############to Windows Setup Boot, Install & Recovery Images################# ------------------------------------------------------------------------------- Image : Boot.wim | Install.wim | WinRE.wim Image Indexes : 1, 2 | 1 | 1 Image Architecture : x64 Image Version : 10.0.17134.1.1 Image Edition : Core Image Default Language : nl-NL ------------------------------------------------------------------------------- ####Processing WHD General Updates Packages#################################### ------------------------------------------------------------------------------- Creating WHD General Updates Temporary folder... Extracting .CAB Package files to Temporary folder... Finished Extracting .CAB Package files to Temporary folder... ------------------------------------------------------------------------------- ####Integrating WHD General Updates to Windows Setup Boot Image################ ------------------------------------------------------------------------------- ------------------------------------------------------------------------------- Integrating Windows 10 Servicing Stack Update to Boot Image ---------------------------------[Index : 1]----------------------------------- Deployment Image Servicing and Management tool Version: 10.0.17713.1000 Image Version: 10.0.17134.1 Processing 1 of 1 - Adding package Package_for_KB4343669~31bf3856ad364e35~amd64~~17134.165.1.1 [==========================100.0%==========================] The operation completed successfully. ------------------------------------------------------------------------------- Integrating Windows 10 Cumulative Update to Boot Image ---------------------------------[Index : 1]----------------------------------- Deployment Image Servicing and Management tool Version: 10.0.17713.1000 Image Version: 10.0.17134.1 Processing 1 of 1 - Adding package Package_for_RollupFix~31bf3856ad364e35~amd64~~17134.191.1.2 [==========================100.0%==========================] The operation completed successfully. ------------------------------------------------------------------------------- Integrating Windows 10 Servicing Stack Update to Boot Image ---------------------------------[Index : 2]----------------------------------- Deployment Image Servicing and Management tool Version: 10.0.17713.1000 Image Version: 10.0.17134.1 Processing 1 of 1 - Adding package Package_for_KB4343669~31bf3856ad364e35~amd64~~17134.165.1.1 [==========================100.0%==========================] The operation completed successfully. ------------------------------------------------------------------------------- Integrating Windows 10 Cumulative Update to Boot Image ---------------------------------[Index : 2]----------------------------------- Deployment Image Servicing and Management tool Version: 10.0.17713.1000 Image Version: 10.0.17134.1 Processing 1 of 1 - Adding package Package_for_RollupFix~31bf3856ad364e35~amd64~~17134.191.1.2 [==========================100.0%==========================] The operation completed successfully. ------------------------------------------------------------------------------- ####Integrating WHD General Updates to Windows Setup Install Image############# ------------------------------------------------------------------------------- ------------------------------------------------------------------------------- Integrating Windows 10 Servicing Stack Update to Install Image ---------------------------------[Index : 1]----------------------------------- Deployment Image Servicing and Management tool Version: 10.0.17713.1000 Image Version: 10.0.17134.1 Processing 1 of 1 - Adding package Package_for_KB4343669~31bf3856ad364e35~amd64~~17134.165.1.1 [==========================100.0%==========================] The operation completed successfully. ------------------------------------------------------------------------------- Integrating Windows 10 Cumulative Update to Install Image ---------------------------------[Index : 1]----------------------------------- Deployment Image Servicing and Management tool Version: 10.0.17713.1000 Image Version: 10.0.17134.1 Processing 1 of 1 - Adding package Package_for_RollupFix~31bf3856ad364e35~amd64~~17134.191.1.2 [==========================100.0%==========================] The operation completed successfully. ------------------------------------------------------------------------------- Integrating Adobe Flash Player Security Update to Install Image ---------------------------------[Index : 1]----------------------------------- Deployment Image Servicing and Management tool Version: 10.0.17713.1000 Image Version: 10.0.17134.191 Processing 1 of 1 - Adding package Package_for_KB4338832~31bf3856ad364e35~amd64~~10.0.1.0 [==========================100.0%==========================] The operation completed successfully. ------------------------------------------------------------------------------- ####Integrating WHD General Updates to Windows Setup Recovery Image############ ------------------------------------------------------------------------------- ------------------------------------------------------------------------------- Integrating Windows 10 Servicing Stack Update to Recovery Image ---------------------------------[Index : 1]----------------------------------- Deployment Image Servicing and Management tool Version: 10.0.17713.1000 Image Version: 10.0.17134.1 Processing 1 of 1 - Adding package Package_for_KB4343669~31bf3856ad364e35~amd64~~17134.165.1.1 [==========================100.0%==========================] The operation completed successfully. ------------------------------------------------------------------------------- Integrating Windows 10 Cumulative Update to Recovery Image ---------------------------------[Index : 1]----------------------------------- Deployment Image Servicing and Management tool Version: 10.0.17713.1000 Image Version: 10.0.17134.1 Processing 1 of 1 - Adding package Package_for_RollupFix~31bf3856ad364e35~amd64~~17134.191.1.2 [==========================100.0%==========================] The operation completed successfully. ------------------------------------------------------------------------------- ####Generating WHD General Updates Integration Log Files####################### ------------------------------------------------------------------------------- Writing WHD General Updates Integration [Boot.wim, Index : 1] Log... Writing WHD General Updates Integration [Boot.wim, Index : 2] Log... Writing WHD General Updates Integration [Install.wim, Index : 1] Log... Writing WHD General Updates Integration [WinRE.wim, Index : 1] Log... ------------------------------------------------------------------------------- ####Cleaning Up Temporary files & Folders##################################### ------------------------------------------------------------------------------- Cleaning Up WHD General Updates Temporary folder... ------------------------------------------------------------------------------- ##################Finished Integrating WHD General Updates##################### ##############to Windows Setup Boot, Install & Recovery Images################# ------------------------------------------------------------------------------- =============================================================================== Press any key to continue . . . Not seen the toolkit perform the standard /resetbase commands for the winpe images (winre.wim and boot.wim), would safely save some MB's. unmounting/save: Code: =============================================================================== MSMG ToolKit - Apply & Save Changes to the Source Images =============================================================================== ------------------------------------------------------------------------------- ####Starting Applying & Saving Changes to Source Images######################## ------------------------------------------------------------------------------- ------------------------------------------------------------------------------- Applying Changes & Un-Mounting Source [Boot.wim, Index : 1] Image... ------------------------------------------------------------------------------- Deployment Image Servicing and Management tool Version: 10.0.17713.1000 Saving image [==========================100.0%==========================] Unmounting image [==========================100.0%==========================] The operation completed successfully. ------------------------------------------------------------------------------- Applying Changes & Un-Mounting Source [Boot.wim, Index : 2] Image... ------------------------------------------------------------------------------- Deployment Image Servicing and Management tool Version: 10.0.17713.1000 Saving image [==========================100.0%==========================] Unmounting image [==========================100.0%==========================] The operation completed successfully. ------------------------------------------------------------------------------- Applying Changes & Un-Mounting Source [WinRE.wim, Index : 1] Image... ------------------------------------------------------------------------------- Deployment Image Servicing and Management tool Version: 10.0.17713.1000 Saving image [==========================100.0%==========================] Unmounting image [==========================100.0%==========================] The operation completed successfully. ------------------------------------------------------------------------------- Re-Building Source [WinRE.wim] Image with Maximum Compression... ------------------------------------------------------------------------------- Deployment Image Servicing and Management tool Version: 10.0.17713.1000 Exporting image [==========================100.0%==========================] The operation completed successfully. ------------------------------------------------------------------------------- Applying Changes & Un-Mounting Source [Install.wim, Index : 1] Image... ------------------------------------------------------------------------------- Deployment Image Servicing and Management tool Version: 10.0.17713.1000 Saving image [==========================100.0%==========================] Unmounting image [==========================100.0%==========================] The operation completed successfully. ------------------------------------------------------------------------------- ####Finished Applying & Saving Changes to Source Images######################## ------------------------------------------------------------------------------- =============================================================================== Press any key to continue . . . Before rebuilding: Code: Install,wim size: 4,56 GB (4.903.434.917 bytes) Boot.wim size: 448 MB (470.213.701 bytes) Winre.wim size: 502 MB (526.470.759 bytes) Code: =============================================================================== MSMG ToolKit - Re-Build Source Images =============================================================================== ------------------------------------------------------------------------------- ####Starting Re-Building Source Images######################################### ------------------------------------------------------------------------------- ------------------------------------------------------------------------------- Re-Building Source [Boot.wim] Image with Maximum Compression... ------------------------------------------------------------------------------- Deployment Image Servicing and Management tool Version: 10.0.17713.1000 Exporting image [==========================100.0%==========================] Exporting image [==========================100.0%==========================] The operation completed successfully. ------------------------------------------------------------------------------- Re-Building Source [Install.wim] Image with Maximum Compression... ------------------------------------------------------------------------------- Deployment Image Servicing and Management tool Version: 10.0.17713.1000 Exporting image [==========================100.0%==========================] The operation completed successfully. ------------------------------------------------------------------------------- ####Finished Re-Building Source Images######################################### ------------------------------------------------------------------------------- =============================================================================== Press any key to continue . . . After rebuilding: Code: Install,wim size: 4,02 GB (4.320.068.920 bytes) Boot.wim size: 433 MB (454.675.189 bytes) Winre.wim size: 502 MB (526.469.727 bytes) Now i will /resetbase the winre.wim and boot.wim... After resetbasing the winpe images (and rebuilding them ofcourse): Code: Winre.wim size: 362 MB (379.746.337 bytes) Boot.wim size: 324 MB (340.143.058 bytes) Performed a /startcomponentcleanup only on the install.wim file (full resetbase would break windows functions like ResetPC): Code: Install.wim size: 3,63 GB (3.901.402.919 bytes)
Nope, it doesn't allow to run resetbase on winpe images only, only on all images and i don't want to run it on install.wim. I normally use @abbodi1406 his W10UI scripts for integrating updates.
@MSMG I just wanted to again thank you so much for working so hard on this development. It really has been a pleasure and a privilege to use this bit of code in making and slimming down my ISO's. You have done such a wonderful job at keeping this updated in your free time and I just wanted you to know how much I appreciate all the work you do here. Especially since I can only imagine the length and time you put into making sure this code works with every edition of Windows 7, 8, 10, and all the Windows Server builds too.
What happened with the win7 framework 3.5 pack? Maybe I misread something but couldn't find it. EDIT: Lol it's already in there again! xD Maybe I should read more Musashi quotes like "Everything is within. Everything exists"~
Typo. There is no such thing. It is just Windows Server 2016. There are a couple more of this mention in the same message. Also, Windows Server 2012 is omitted.
Yes it was a typo mistake, will fix it. I have added support for only Windows Server 2008 R2 / 2012 R2 but not for Windows 2008 / 2012 versions.
How did you do that? I mean resetbase for winpe images or separately componentcleanup of install.wim. Can you write order how you use msmg toolkit (with w10ui together, as you said). Can you write more detailed instructions?
I did the commands manually, after MSMG finished the job. Full resetbase command for winpe images (winre and boot.wim): Code: Dism /Image:x:\Mount /Cleanup-Image /StartComponentCleanup /ResetBase Cleanup Image command for install.wim: Code: Dism /Image:x:\Mount /Cleanup-Image /StartComponentCleanup
https://forums.mydigitallife.net/threads/discussion-windows-10-enterprise-2016-ltsb.73435/ https://forums.mydigitallife.net/th...build-14393-jan-2017-refresh-pc-mobile.70297/