1. ralp65

    ralp65 MDL Novice

    Dec 19, 2015
    30
    5
    0
    ok i have to use MSMG toolkit and dart10 folder. thanks.
     
  2. Ace2

    Ace2 MDL Expert

    Oct 10, 2014
    1,861
    1,521
    60
  3. Feartamixg

    Feartamixg MDL Addicted

    May 15, 2016
    783
    629
    30
    No idea how I missed this, but it's too late at night for me to do any testing now. I plan to test tomorrow and report back

    In future maybe post #1 could let us know of updated files (such as ToolKitHelper.exe), if they are beta or stable and a small advisory note to indicate the changes?
     
  4. jinvidia

    jinvidia MDL Member

    Aug 7, 2016
    238
    35
    10
    @MSMG - Is it advisable to clean the image windows folder when applying and saving changes to source images ?. What purpose does this function serve ?. Thank you.
     
  5. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    Since the removal data added in the code is pre-processed and not at runtime, removing the components from a image with a older or newer CU version can break the functionality of updating the system.

    That's why I had set the removal to only the base images but since many couldn't get the base images properly, I updated it to the current CU.

    Will add the support for the Base version along with current stable CU in future.

     
  6. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    Due to the forum post content length restrictions and since the Toolkit is a complex tool, it is not possible to cover the usage instructions of all the features included in the Tool in the first post.

    A Toolkit Documentation PDF is under is in progress and will be included with the Tool in future version.

    It's always better to check back the recent few pages of the thread to know the recent issues or solutions that might have been reported after the release of a new version of the Tool.

    The removal process takes more time due to the new version of code protections added to the Tool to protect the source code of the Tool.

    Component category removal is broken due to a unknown bug and as a workaround you can use the List method to remove the components faster.

    Check in [Bin\Lists\ToolKitHelper_Templates] folder and choose the list according to your OS and copy the required entries to RemovePkgsList.txt in [Bin\Lists] folder.

    Now use the Remove->Remove Windows Components using Package List->Remove Windows Components using Package List (ToolkitHelper Method) menu.


     
  7. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    Copy the new version of ToolkitHelper.exe from the download link to the Tookit's Bin folder and then remove the components.

     
  8. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    Yes will clear some space in first post to add the minor updates info.

     
  9. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    This just cleans up the Windows\WinSxS folder to remove the temporary and log files generated when updates are integrated.

     
  10. Tiger-1

    Tiger-1 MDL Guru

    Oct 18, 2014
    7,894
    10,734
    240
    Hi so we have to do the same process used in the launch of the W10 LTSC (17763.1) because this way there were no errors so the same applies in this new version correct
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. digitalized

    digitalized MDL Novice

    Nov 17, 2017
    30
    9
    0
    #17511 digitalized, Nov 20, 2020
    Last edited: Nov 20, 2020
    Thanks for that - trying it now :)
     
  12. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    #17512 MSMG, Nov 20, 2020
    Last edited: Nov 20, 2020
    (OP)
    The recent errors with LTSC were due to non-removal of localized resources which where not present in the en-us language, now everything has been fixed.

    Right now you can use the image with CU supported by ToolkitHelper and then install or integrate the latest update But if you install or integrate the latest update and then remove the ToolkitHelper then it may give error depending on the changes in the newer CU.

     
  13. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    The fix is available in next release, in case needed early just replace the original lines with these ones

    Code:
    if "%DartType%" equ "Recovery" (
        cls
        echo.===============================================================================
        if "%SelectedSourceOS%" equ "w7" echo.   MSMG ToolKit - Integrate Microsoft DaRT 7 Tools to Windows Recovery Image
        if "%SelectedSourceOS%" equ "w81" echo.  MSMG ToolKit - Integrate Microsoft DaRT 8.1 Tools to Windows Recovery Image
        if "%SelectedSourceOS%" equ "w10" echo.   MSMG ToolKit - Integrate Microsoft DaRT 10 Tools to Windows Recovery Image
        echo.===============================================================================
        echo.
        :: Getting Recovery Image Index Architecture
        if /i "%ImageIndexNo%" equ "A" call :GetImageArchitecture "%InstallMount%\1\%WinReWim%", 1 >nul
        if /i "%ImageIndexNo%" neq "A" if %ImageCount% equ 1 call :GetImageArchitecture "%InstallMount%\1\%WinReWim%", 1 >nul
        if /i "%ImageIndexNo%" neq "A" if %ImageCount% gtr 1 (
            for /l %%i in (1, 1, %ImageCount%) do (
                if exist "%WinReMount%\%%i" call :GetImageArchitecture "%WinReMount%\%%i\%WinReWim%", 1 >nul
            )
        )
        echo.-------------------------------------------------------------------------------
        if "%SelectedSourceOS%" equ "w7" echo.####Starting Integrating Microsoft DaRT 7 Tools to Windows Recovery Image######
        if "%SelectedSourceOS%" equ "w81" echo.####Starting Integrating Microsoft DaRT 8.1 Tools to Windows Recovery Image####
        if "%SelectedSourceOS%" equ "w10" echo.####Starting Integrating Microsoft DaRT 10 Tools to Windows Recovery Image#####
        echo.-------------------------------------------------------------------------------
        echo.
        echo.    Image                    : WinRE.wim
        echo.    Image Index              : 1
        echo.    Image Architecture       : %ImageArchitecture%
        echo.    Image Version            : %ImageVersion%.%ImageServicePackBuild%.%ImageServicePackLevel%
        echo.
        echo.-------------------------------------------------------------------------------
        if "%SelectedSourceOS%" equ "w7" echo.####Integrating Microsoft DaRT 7 Tools to Windows Recovery Image###############
        if "%SelectedSourceOS%" equ "w81" echo.####Integrating Microsoft DaRT 8.1 Tools to Windows Recovery Image#############
        if "%SelectedSourceOS%" equ "w10" echo.####Integrating Microsoft DaRT 10 Tools to Windows Recovery Image##############
        echo.-------------------------------------------------------------------------------
        echo.
        for /l %%i in (1, 1, %ImageCount%) do (
            if exist "%WinReMount%\%%i" (
                echo.
                if not %%i gtr 9 echo.=====================[Install.wim, Index : %%i -^> WinRE.wim]====================
                if %%i gtr 9 echo.=====================[Install.wim, Index : %%i -^> WinRE.wim]===================
    
                echo.-------------------------------------------------------------------------------
                if "%SelectedSourceOS%" equ "w7" echo.Integrating Microsoft DaRT 7 Tools Base Package...
                if "%SelectedSourceOS%" equ "w81" echo.Integrating Microsoft DaRT 8.1 Tools Base Package...
                if "%SelectedSourceOS%" equ "w10" echo.Integrating Microsoft DaRT 10 Tools Base Package...
                echo.-------------------------------------------------------------------------------
                if "%ImageArchitecture%" equ "x86" call :ApplyImage "%DaRT%\DaRT.tpk", 1, "%WinReMount%\%%i"
                if "%ImageArchitecture%" equ "x64" call :ApplyImage "%DaRT%\DaRT.tpk", 2, "%WinReMount%\%%i"
    
                if "%SelectedSourceOS%" equ "w10" if not exist "%WinReMount%\%%i\Windows\System32\fmapi.dll" (
                    if /i "%ImageIndexNo%" equ "A" copy /y "%InstallMount%\1\Windows\System32\fmapi.dll" "%WinReMount%\%%i\Windows\System32" >nul
                    if /i "%ImageIndexNo%" neq "A" if %ImageCount% equ 1 copy /y "%InstallMount%\1\Windows\System32\fmapi.dll" "%WinReMount%\%%i\Windows\System32" >nul
                    if /i "%ImageIndexNo%" neq "A" if %ImageCount% gtr 1 (
                        for /l %%i in (1, 1, %ImageCount%) do (
                            if exist "%WinReMount%\%%i" copy /y "%InstallMount%\%%i\Windows\System32\fmapi.dll" "%WinReMount%\%%i\Windows\System32" >nul
                        )
                    )
                )
    
                call :RemoveFile "%WinReMount%\%%i\Windows\System32\winpeshl.ini"
                echo.[LaunchApps]>>"%WinReMount%\%%i\Windows\System32\winpeshl.ini"
                echo.%%windir%%\system32\wpeinit.exe>>"%WinReMount%\%%i\Windows\System32\winpeshl.ini"
                echo.%%windir%%\system32\netstart.exe>>"%WinReMount%\%%i\Windows\System32\winpeshl.ini"
                echo.%%systemdrive%%\sources\recovery\recenv.exe>>"%WinReMount%\%%i\Windows\System32\winpeshl.ini"
    
                echo.-------------------------------------------------------------------------------
                if "%SelectedSourceOS%" equ "w7" echo.Integrating Microsoft DaRT 7 Tools [%PackageLanguage%] Language Package...
                if "%SelectedSourceOS%" equ "w81" echo.Integrating Microsoft DaRT 8.1 Tools [%PackageLanguage%] Language Package...
                if "%SelectedSourceOS%" equ "w10" echo.Integrating Microsoft DaRT 10 Tools [%PackageLanguage%] Language Package...
                echo.-------------------------------------------------------------------------------
                if "%ImageArchitecture%" equ "x86" call :ApplyImage "%DaRT%\DaRT_%PackageLanguage%.tpk", 1, "%WinReMount%\%%i"
                if "%ImageArchitecture%" equ "x64" call :ApplyImage "%DaRT%\DaRT_%PackageLanguage%.tpk", 2, "%WinReMount%\%%i"
    
                if "%SelectedSourceOS%" equ "w10" (
                    echo.-------------------------------------------------------------------------------
                    echo.Integrating Microsoft DaRT 10 Debug Tools Package...
                    echo.-------------------------------------------------------------------------------
                    if "%ImageArchitecture%" equ "x86" call :ApplyImage "%DaRT%\%DebugTools%", 1, "%WinReMount%\%%i"
                    if "%ImageArchitecture%" equ "x64" call :ApplyImage "%DaRT%\%DebugTools%", 2, "%WinReMount%\%%i"
                )
            )
        )
    
        echo.-------------------------------------------------------------------------------
        if "%SelectedSourceOS%" equ "w7" echo.####Finished Integrating Microsoft DaRT 7 Tools to Windows Recovery Image######
        if "%SelectedSourceOS%" equ "w81" echo.####Finished Integrating Microsoft DaRT 8.1 Tools to Windows Recovery Image####
        if "%SelectedSourceOS%" equ "w10" echo.####Finished Integrating Microsoft DaRT 10 Tools to Windows Recovery Image#####
        echo.-------------------------------------------------------------------------------
    )
    
     
  14. Tiger-1

    Tiger-1 MDL Guru

    Oct 18, 2014
    7,894
    10,734
    240
    thank you very much Master for the explanation :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. digitalized

    digitalized MDL Novice

    Nov 17, 2017
    30
    9
    0
    #17518 digitalized, Nov 20, 2020
    Last edited: Nov 20, 2020
    Unfortunately, I'm still experiencing issues removing Edge Chromium - I went from the beginning with an unmodified install.wim for Windows 10 (20H2) and the updated ToolkitHelper.exe, however, it still remains after installation. I tried both removal through menu options as well as running ToolkitHelper from an NSudo launched command prompt. Both times ToolkitHelper reported success.

    Only other customisations performed are:
    1) adding the en-gb language pack [before attempting Chromium Edge removal]
    2) Tweaks to prevent automatic Windows version upgrade, restore Photo Viewer, disable Task View and disable Cortana [done as final steps before applying changes to the image]

    Has this been tested with the latest 2020 H2? What info would be helpful to sort this? Thanks

    Is there anything I could look for in the log file that would assist?
    What is ToolkitHelper doing for Edge removal - shall I try any of these steps manually?
     
  16. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    What's the source image you are using like UUP ISO, Store ESD or MCT ESD?

    And did you integrated the required updates to image?

     
  17. ralph65

    ralph65 MDL Novice

    Dec 22, 2015
    5
    1
    0
    #17520 ralph65, Nov 20, 2020
    Last edited: Nov 20, 2020
    Buonasera ho eseguito tutti i passaggi con lo strumento msmg ma non ottengo il ripristino ISO con dart. Ho un ISO da 4,7 GB.
    I would like to use windows 10 recovery disk to add dart. It can be done?