1. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    54,966
    125,938
    450
    #7561 Enthousiast, Aug 7, 2018
    Last edited: Aug 8, 2018
    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)
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. Feartamixg

    Feartamixg MDL Addicted

    May 15, 2016
    786
    631
    30
    I will try this tomorrow when I have time. Did you run resetbase via MSMG?
     
  3. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    54,966
    125,938
    450
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. GOD666

    GOD666 MDL Expert

    Aug 1, 2015
    1,957
    2,060
    60
    @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. :eek:
     
  5. Nowayy

    Nowayy MDL Novice

    Oct 5, 2016
    8
    0
    0
    #7565 Nowayy, Aug 8, 2018
    Last edited: Aug 8, 2018
    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"~
     
  6. Fleet Command

    Fleet Command MDL Novice

    Nov 21, 2012
    8
    3
    0
    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.
     
  7. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    210
    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.

     
  8. hypocr1te

    hypocr1te MDL Novice

    Feb 13, 2018
    10
    9
    0
    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?
     
  9. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    54,966
    125,938
    450
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. v72dd

    v72dd MDL Senior Member

    Nov 20, 2016
    448
    77
    10
    #7570 v72dd, Aug 10, 2018
    Last edited: Aug 10, 2018
    How to integrate directx, vcredist? It seems wimlib is the best way.
     
  11. windows builder

    windows builder MDL Guru

    Sep 13, 2017
    2,219
    1,555
    90
    through the Integration menu.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. hypocr1te

    hypocr1te MDL Novice

    Feb 13, 2018
    10
    9
    0
    Will cortana removing have impact on some system components?
     
  13. windows builder

    windows builder MDL Guru

    Sep 13, 2017
    2,219
    1,555
    90
    Yes, it affects Search.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. hypocr1te

    hypocr1te MDL Novice

    Feb 13, 2018
    10
    9
    0
    Where i should put answer file unattend.xml if I start install from WinPE(boot.wim)?
     
  15. windows builder

    windows builder MDL Guru

    Sep 13, 2017
    2,219
    1,555
    90
    at the root of the disk (DVD or USB Flash drive).
    as a last resort in the Sources folder.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. hypocr1te

    hypocr1te MDL Novice

    Feb 13, 2018
    10
    9
    0
    Ok, last question (maybe?). Where i can get latest updated LTSB 1607 ISO?
     
  17. windows builder

    windows builder MDL Guru

    Sep 13, 2017
    2,219
    1,555
    90
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  18. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    54,966
    125,938
    450
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...