1. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,647
    3,390
    60
    I believe that you have to keep Internet Explorer, and SmartScreen.
     
  2. shhnedo

    shhnedo MDL Expert

    Mar 20, 2011
    1,672
    2,223
    60
    Try not removing media features(like media player for example).
    Also, you should really move to the MSMG thread.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. marioalpha

    marioalpha MDL Novice

    Apr 26, 2017
    31
    7
    0
    Good morning,

    I created through the media creation tool an iso of the 20h2 version of windows 10 (Win10_20H2_v2_Italian_x64.iso) after installing it I checked its integrity through sfc /scannow, errors were found and then corrected.
    What I wanted to ask you is if it is normal that errors have been found in the image.

    Thanks in advance,
     
  4. graver.x

    graver.x MDL Senior Member

    Jan 18, 2020
    342
    476
    10
    #19125 graver.x, Apr 14, 2021
    Last edited: Apr 14, 2021
    It's not normal, but it's not your fault. Unfortunately, the images of the latest versions (v2004-v20H2-v21H1) have this problem. The problem is on the Microsoft side.

    Images collected using uupdump.net they also have an sfc error after cleaning the image (Dism /Online /Cleanup-Image /StartComponentCleanup).

    sfc /scannow fixes the issue.
    (MSMG post)
     
  5. marioalpha

    marioalpha MDL Novice

    Apr 26, 2017
    31
    7
    0
    Thanks for the valuable reply Can I somehow run sfc /scannow after the installation is finished? maybe using the runonce registry key?
     
  6. ck3a19

    ck3a19 MDL Novice

    May 20, 2016
    20
    1
    0
    Now I want to install more applications like 7zip or google chrome ... but using toolkit 11.4, what should I do?
     
  7. ck3a19

    ck3a19 MDL Novice

    May 20, 2016
    20
    1
    0
    I have kept Internet Explorer and SmartScreen...
    But the vbs bug persists?
     
  8. Supern00b

    Supern00b MDL Addicted

    Dec 30, 2010
    728
    540
    30
    I've just prepared three new images from the .928 build released yesterday (20H2).
    Used Toolkit 11.4 and all went fine, no issues at all.
    There was however a pretty steep increase in final size as compared to previous builds, 180MB for x86 and over 300MB for x64.
    The resulting .wim file for x64 exceeded the fat32 file size limit, so I had to convert the .wim to ESD. No biggie.

    Will report back after deployment.

    Cheers.
     
  9. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,647
    3,390
    60
    #19131 inTerActionVRI, Apr 14, 2021
    Last edited: Apr 15, 2021
    I finished working on this problem now in the Custom Toolkit.

    See if it works for you.

    You just need to mount everything.
    Follow some requests that are different with respect to the Official Toolkit.
    The main feature of this edition of Custom, is to select an Edition that will serve as a basis for carrying out other tasks that do not need to be repeated, such as the work in WinRE. Since they are the same in all indexes. Thus, the work will only be performed on the selected index and the optimized winre.wim will be copied to all other indexes with the same hash file. Instead of making several winre.wim with the same content, but with different hashes.

    You already select the indexes in the order that you want them to be in the ISO. This was also not working properly. But now it has become TOP.

    I'll post soon.
     
  10. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    47,256
    94,680
    450
    1. i thought that MSMG Toolkit already copied the serviced winre.wim to all other mounted indexes.
    2. not only different hashes but the size of each different winre.wim will be added to the end iso and the more winre.wim files are not the same the higher the iso filesize will be.
     
  11. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,647
    3,390
    60
    #19133 inTerActionVRI, Apr 15, 2021
    Last edited: Jul 3, 2021
    https://forums.mydigitallife.net/threads/msmg-toolkit.50572/page-793#post-1606110

    Sent an 2021-04-14 updated file in the link above.

    Architecture check added in the integration and removal functions. Having eliminated several redundant architecture check entries, other important ones remain in the usual places.
    Corrected a problem in the reordering of the indexes (the images were not exported in the order predefined by the user), at the time of Un-mount & Saving, according to the selection made by the user at the beginning of the service.
    Problem that affected the optimization of ImageIndexes for the unselected trim indexes mode, solved.
    Problem of automatic nomenclature when opening the Custom Toolkit just to produce your ISO, also solved.
    Note: this problem was not seen when you finished and created the ISO. Only if you closed the CustomToolkit and opened it again in order to save the ISO.

    Fixed minor aestetical typos.

    When I needed to free up space on my ssd, I moved the entire ToolKit (80gb packs) to 2Tb 7200 RPM storage. I had a performance problem ... Now, working the ISOs directly from this one, I realized realistically that this type of HD is not for productivity, hehehe.
    In this way, I implemented a small conversion that makes things simpler.

    You can put the folder of your Toolkit in storage different from your main SSD, however when performing the tasks everything will be on the SSD. Only the ISOsource and saving the ISOs to the ISOsaves folder will remain in the Toolkit folder within the storage of your choice.

    To take advantage of this scheme in the Custom Toolkit.
    "[1] Source" --> "[3] Extract Source from DVD ISO Image"
    That will be in the ISOsource or ISO folder (just an .ISO file must be present in one of these folders) you can choose.
    Then you will see that the ISO will be extracted to
    %SystemDRIVE%\Toolkit\W_InstallMedia
    So,
    "[1] Source" --> "[1] Select Source from ^<DVD^> Folder"
    to set up the indexes that you want to work with.
    Since CustomToolkit is a fork of OfficialToolkit, I decided to change the name of "DVD" to "W_InstallMedia" because "DVD" reminds me of the old and obsolete thing.

    After that when you mount your images, they will be on the path below, at high speed performing the tasks of the toolkit, and your drive will be with plenty of free space, hehehehe
    %SystemDRIVE%\Toolkit\Mount

    %SystemDRIVE% = By default it would be C:\
    Integrate "Windows Setup Media Updates", now works when we are working with multi index images.

    As "WinRE.wim" is identical for all editions, all the code works on top of just one mounted "WinRE.wim" and at the end (Un-mount & Saving), after its optimization, it is copied to all selected indexes that are mounted .
    It's very simple! At the moment, when you select which indexes to work with, you can also select which index will serve as the source for "WinRE.wim" and for "Integrate Windows Setup Media Updates". Considering that I use the ISOs obtained through UUP Dump as a source, we have that all Image Indexes come from Home and Pro, so I always select Pro. But it is optional, do your tests.

    What is the advantage of this optimization?
    1. Avoid closing an install.wim image with several "winre.wim" files with identical contents but with different hashes.
    2. Optimize our working time when doing our ISOs. The repetition of identical work is avoided.

    Code:
    ===============================================================================
             MSMG ToolKit - Apply & Save Changes to the Source Images
    ===============================================================================
    
    Un-Mounting Image Registry...
    
    -------------------------------------------------------------------------------
    ####Starting Applying & Saving Changes to Source Images#######################
    -------------------------------------------------------------------------------
    
    Do you want to cleanup Image folder ? ['Y'es/'N'o] : Y
    
    -------------------------------------------------------------------------------
    Cleaning up Image folder...
    -------------------------------------------------------------------------------
    
    Cleaning up Image temporary and log files or folders.
    
    -------------------------------------------------------------------------------
    Applying Changes & Un-Mounting [Boot.wim, Index : 1] Image...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.20279.1
    
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    Applying Changes & Un-Mounting [Boot.wim, Index : 2] Image...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.20279.1
    
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    Optimizing Source [Boot.wim] Image with Maximum Compression...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.20279.1
    
    Exporting image
    [==========================100.0%==========================]
    Exporting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    Applying Changes & Un-Mounting [Install.wim, Index : 2 -> WinRE.wim] Image...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.20279.1
    
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    Optimizing Source [Install.wim, Index : 2 -> WinRE.wim] Image...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.20279.1
    
    Exporting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    =========================[WinRE.wim --> Install.wim]==========================
    -------------------------------------------------------------------------------
    
    Copying Optimized [WinRE.wim] Image...
    
         [ --> Install.wim, Index : 7]
         [ --> Install.wim, Index : 1]
         [ --> Install.wim, Index : 2]
         [ --> Install.wim, Index : 3]
         [ --> Install.wim, Index : 4]
         [ --> Install.wim, Index : 5]
         [ --> Install.wim, Index : 6]
    
    -------------------------------------------------------------------------------
    Applying Changes & Un-Mounting [Install.wim, Index : 7] Image...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.20279.1
    
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    Applying Changes & Un-Mounting [Install.wim, Index : 1] Image...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.20279.1
    
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    Applying Changes & Un-Mounting [Install.wim, Index : 2] Image...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.20279.1
    
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    Applying Changes & Un-Mounting [Install.wim, Index : 3] Image...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.20279.1
    
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    Applying Changes & Un-Mounting [Install.wim, Index : 4] Image...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.20279.1
    
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    Applying Changes & Un-Mounting [Install.wim, Index : 5] Image...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.20279.1
    
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    Applying Changes & Un-Mounting [Install.wim, Index : 6] Image...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.20279.1
    
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    Optimizing Source [Install.wim, Image Index : 7] with Maximum Compression...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.20279.1
    
    Exporting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    Optimizing Source [Install.wim, Image Index : 1] with Maximum Compression...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.20279.1
    
    Exporting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    Optimizing Source [Install.wim, Image Index : 2] with Maximum Compression...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.20279.1
    
    Exporting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    Optimizing Source [Install.wim, Image Index : 3] with Maximum Compression...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.20279.1
    
    Exporting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    Optimizing Source [Install.wim, Image Index : 4] with Maximum Compression...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.20279.1
    
    Exporting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    Optimizing Source [Install.wim, Image Index : 5] with Maximum Compression...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.20279.1
    
    Exporting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    Optimizing Source [Install.wim, Image Index : 6] with Maximum Compression...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.20279.1
    
    Exporting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    
    Reading Image Information...
    
    ===============================================================================
    | Index | Arch | Name
    ===============================================================================
    |   1   | x64  | Windows 10 Home Single Language
    |   2   | x64  | Windows 10 Home
    |   3   | x64  | Windows 10 Pro
    |   4   | x64  | Windows 10 Pro for Workstations
    |   5   | x64  | Windows 10 Enterprise
    |   6   | x64  | Windows 10 Enterprise for Virtual Desktops
    |   7   | x64  | Windows 10 IoT Enterprise
    ===============================================================================
    
    -------------------------------------------------------------------------------
    ####Copying Generic EI.cfg Config file to <DVD\sources> Folder###############
    -------------------------------------------------------------------------------
    
    -------------------------------------------------------------------------------
    ####Finished Applying & Saving Changes to Source Images########################
    -------------------------------------------------------------------------------
    
    ===============================================================================
    

    Today I needed an iso with ei.cfg and realized that in the ISOs that I prepared yesterday the file is missing.
    Added the scheme to copy generic "ei.cfg" file for multiple indexes or write ei.cfg for only image with only one index, when saving changes.
    If you want to install another edition on a notebook with Product Key in the BIOS, this file is required. Otherwise, a multi edition ISO will only present the option related to the Product Key of that BIOS.

    Also added an option to create a file with a list of the choices you made. It is easier than copying the list that appears on the screen.
    Code:
    ===============================================================================
                     MSMG ToolKit - Remove Windows Components Menu
    ===============================================================================
    
      [1]   Custom PreSets for Removing Windows Components
    
      [2]   Personal PreSets for Removing Windows Components
    
      [3]   Dependencies correction Filter
    
      [4]   Select Windows Components
    
      [5]   (-)Create a File List <C:\ToolKit\Bin\Lists\Personal> with the Choices
    
      [6]   Start Removing Windows Components
    
    
      [R]   ReSet All your Choices
    
      [X]   Go Back
    
    ===============================================================================
    
    Enter Your Choice : 5
    

    Code:
    ===============================================================================
                     MSMG ToolKit - Remove Windows Components Menu
    ===============================================================================
    
      [1]   Custom PreSets for Removing Windows Components
    
      [2]   Personal PreSets for Removing Windows Components
    
      [3]   Dependencies correction Filter
    
      [4]   Select Windows Components
    
      [5]   (+)Create a File List <C:\ToolKit\Bin\Lists\Personal> with the Choices
            Note: List name - "RemovePkgsList_[20210401_174744].txt"
    
      [6]   Start Removing Windows Components
    
    
      [R]   ReSet All your Choices
    
      [X]   Go Back
    
    ===============================================================================
    
    Enter Your Choice :
    

    Merged with Toolkit.cmd 11.4 2021-03-21 included in MEGA on 2021-03-22.

    Fixed Custom Toolkit typos:
    in the :StartIntegration session that was skipping Integrate Custom Features;
    in Select EdgeChromium to remove, for ImageBuild Greater than 19041.

    EdgeChromium display conditions, removed. It is now displayed in the Menu for any Build.

    If the Edge Chromuim is not present or the removal method has to be updated, at most that familiar message will appear:
    "This component has already been removed."

    Optimization of boot.wim and WinRE.wim has been implemented, regardless of whether they are mounted or not, whenever we save our work they will be optimized.

    Improved :WIMExport session code.
    Code:
      [1] Just Create a New [Install.wim]
      [2] Create a New [Install.wim] and replace the previous one.
      [3] Add selected Image Indexes to the same [Install.wim]
          Note: The chosen ones will be added after the already exists Image Indexes
    
    Enter your choice :
    
    Before I didn't have the option to replace it, I needed it today, then I put it there.

    Merged with Toolkit 11.3 and 11.4.

    *Some Custom Toolkit Tweaks and Remove Menu minor fixes and code improvement.

    Returned to the Toolkit standard aspect Ratio.
    In this way, all the menus that require more space to show the menus on the screen, have been divided into more screens.
    just press B to Back and N to Next. This, just to avoid the use of scrolling with each choice made in the menu, which you are working on.

    Get ImageBuild from updated Image system, implemented to correct the error in the automated making ISO label and file name.

    All the environment and path variables for the packs were concentrated in some sessions, at the beginning of the custom toolkit. This way it is easier to reset the variables at each integration performed. Also so that the multiple choice system facilitates the multiple integration of features sequentially.
    Multiple choice has been implemented within the integrate menu, for all features that are submenus.
    In other words, if it is a sub menu, a negative sign will appear as a default. If it is to integrate this signal it will become positive. To apply the integration you must go back to the "Integrate Menu" and choose "Start Integration".
    In the options without signaling, integration will occur as soon as you select.

    These are the submenus mentioned:
    IntLanguagePacksMenu (tested)
    IntDriversMenu
    IntInboxAppsMenu
    IntRSATMenu
    IntOfficeUWPAppsMenu
    IntDaRTMenu (tested)
    IntThinPCpkgsMenu
    IntGamesMenu (tested)
    IntCustomFeaturesMenu (tested)

    Note: As I said earlier in the post below,
    these changes were made in order to implement the multiple choice system in the menus but there may be variables that do not get the values set and end up breaking something. We always think that we thought of all the possibilities until we found something new to be corrected or improved. As I said before, I can't test everything here for lack of storage space.
    Then, for final images of daily use, make integrations with the Official Toolkit. Removal, Customizations, Tweaks, can be done with Custom, if you want.
    So, it is necessary that this part be tested by volunteers. I am grateful for the feedbacks.

    Thnks!
     
  12. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,647
    3,390
    60
    #19134 inTerActionVRI, Apr 15, 2021
    Last edited: Apr 15, 2021
    Yes. I followed that example. However, this example is only present in the option to implement a custom WinRE. In other integration works, for example, there was an integration for each index and its respective winre image.

    So, I modified all the integrations to work on top of one that is the user's option, and at the end:
    1. Unmount and save that winre.wim
    2. Optimize winre.wim
    3. Copy winre.wim to all indexes.
    4. Unmount and save each index.
    5. Optimize install.wim by exporting each index.


    That's why I thought it would be interesting to change the optimization scheme.

    But I wasn't sure until I got the results, a little while ago when I finished the tests.
    Also, I didn't know how to express myself like you.
    These words of yours, fit perfectly. In my mind, I kept the word ...: hashes, hashes, hashes ... In a continuous loop. heheheh
     
  13. evildjkay

    evildjkay MDL Novice

    Sep 8, 2018
    16
    20
    0
    the iso size increase just because microsoft integrated edge chromium

    C:\Program Files (x86)\Microsoft
    C:\Windows\WinSxS\amd64_microsoft-windows-edgechromium_31bf3856ad364e35_10.0.19041.928_none_ddb08bafba9680e6
    C:\Windows\WinSxS\Manifests\amd64_microsoft-windows-edgechromium_31bf3856ad364e35_10.0.19041.928_none_ddb08bafba9680e6.manifest
     
  14. Tiger-1

    Tiger-1 MDL Guru

    Oct 18, 2014
    7,897
    10,733
    240
    Hmm what happened ...
     

    Attached Files:

    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. graver.x

    graver.x MDL Senior Member

    Jan 18, 2020
    342
    476
    10
    Yes...
     
  16. Supern00b

    Supern00b MDL Addicted

    Dec 30, 2010
    728
    540
    30
    Thanks for linking, that actually makes sense.
    So it appears that it's not an issue with the toolkithelper, just a change (embedded WIM) in the way MS included EdgeChromium in the CU.

    Cheers.
     
  17. graver.x

    graver.x MDL Senior Member

    Jan 18, 2020
    342
    476
    10
    #19139 graver.x, Apr 15, 2021
    Last edited: Apr 15, 2021
    I don't know if that would make any sense in your case. Since you didn't describe how you modify your iso image using the Toolkit - whether you integrate it at this stage .Net 3.5 and .Net Cummulative, or not. Whether you remove some components or not. Whether you plan to use the CU installation from the Update Center in the future, or not.

    I see it more logical - immediately after installing the OS, enable Net 3.5 and install the latest .Net Cummulative update, as well as other components that you may need (.NET 5, and so on), if all this was not done at the stage of preparing the image using the Toolkit.

    And then perform image cleanup:

    Dism /Online /Cleanup-Image /StartComponentCleanup

    And only then perform a check and fix using: sfc /scannow

    (After each image cleanup run, you will get an sfc error, which you will have to fix again with sfc /scannow)
     
  18. forslaey

    forslaey MDL Novice

    Mar 4, 2021
    12
    6
    0