1. Windows 10 User

    Windows 10 User MDL Guru

    Feb 2, 2017
    2,005
    122
    90
    #13541 Windows 10 User, Dec 12, 2019
    Last edited: Dec 12, 2019
    So its size wouldn't be bigger than if integrating the latest updates on a 18362.1 build? And is that valid for MSMG ToolKit only or for other programs that can also integrate updates like NTLite?
     
  2. Tiger-1

    Tiger-1 MDL Guru

    Oct 18, 2014
    7,894
    10,735
    240
    Hi MSMG yesterday was working with Toolkit V9.5 using the ISO W10 LTSC 2019 X64 version 17763.1 and for some reason soon appeared at the beginning of the removal of components item 1 (Internet) and so I had to undo everything ... and delete the folder Toolkit, so I thank you in advance for your help
     

    Attached Files:

    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. raptorddd

    raptorddd MDL Addicted

    Aug 17, 2019
    732
    281
    30
    sorry am also new and only used .418 and that guide. i dont know what ntlite is.
     
  4. Windows 10 User

    Windows 10 User MDL Guru

    Feb 2, 2017
    2,005
    122
    90
    It also removes components like MSMG ToolKit.
     
  5. ceo54

    ceo54 MDL Addicted

    Aug 13, 2015
    886
    385
    30
    A GUI would be nice but it's the functionality that makes the difference. Currently awaiting the update to the toolkit to service the pending 8.1 :cool:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. 正义羊

    正义羊 MDL Senior Member

    Feb 21, 2016
    258
    152
    10
    Whether check Windows enabled or installed .NET 4.8
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    The order is SSU, Flash, CU for .Net Framework 3.5 & 4.8, CU and the Enablement Package.

    Do cleanup and re-build the image at the last to reduce the images size.

     
  8. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    I'm checking the code for each edition and build and fixing if any errors are found.

     
  9. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    Checkout the Toolkit directory path size, make sure it is small and check whether the image is not corrupted for WinRE image mounting, also do use the Start.cmd to run the Toolkit.

    The component removal requires .NET FX 48 run-time to be installed.

     
  10. risoj12140

    risoj12140 MDL Novice

    Dec 13, 2019
    8
    0
    0
    Error: Unsupported Windows OS Image
    Win 10 LTSC How to remove Windows Defender?
     
  11. risoj12140

    risoj12140 MDL Novice

    Dec 13, 2019
    8
    0
    0
    I also tried to disable Windows Defender through the registry on version 1903, but Tamper Protection does not allow this through setupcomplete.cmd.
     
  12. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    For Win 10 LTSC component removal, you need v17763.1 image.

     
  13. windows builder

    windows builder MDL Guru

    Sep 13, 2017
    2,219
    1,555
    90
    first turn off Tamper Protection, and then turn off Defender in group policies.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. risoj12140

    risoj12140 MDL Novice

    Dec 13, 2019
    8
    0
    0
    windows builder, I added to setupcomplete.cmd, but that didn't help. A registry key was not created!

    reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v "TamperProtection" /t REG_DWORD /d "0" /f
    reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows Defender" /v "DisableAntiSpyware" /t REG_DWORD /d "1" /f
     
  15. risoj12140

    risoj12140 MDL Novice

    Dec 13, 2019
    8
    0
    0
    How do I make tweaks via cmd file?
    What I tried cannot turn off the defender.
     
  16. windows builder

    windows builder MDL Guru

    Sep 13, 2017
    2,219
    1,555
    90
    switch the slider in the settings of the Defender.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  17. risoj12140

    risoj12140 MDL Novice

    Dec 13, 2019
    8
    0
    0
    windows builder, I asked how to do this for me automatically! I do not need a manual way! :mad:
     
  18. Tiger-1

    Tiger-1 MDL Guru

    Oct 18, 2014
    7,894
    10,735
    240
    yep Master I know.. I have installed...;).
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  19. Tiger-1

    Tiger-1 MDL Guru

    Oct 18, 2014
    7,894
    10,735
    240
    yes I know, but I don't understand this errors so I'm now using old W10 LTSB 2016 ..;):eek:o_O.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  20. AeonX

    AeonX MDL Addicted

    May 24, 2013
    796
    725
    30
    Do you integrate updates and remove components in the same session or do you integrate updates and save after you mount the image again and remove components? I have no problems with ToolKit v8.8 here. The only difference is that I integrate updates with WHD-W81UI. The Toolkit removes the contents of the folder \Windows\WinSxS\Backup when you save so if you integrate updates and remove components in different sessions this may be the problem.

    I edit the script by commenting out the line that removes that folder to have more control and better compare the size of install.wim when removing certain components. I also comment out the line with $Recycle.Bin and PerfLogs to keep the image as close to the original.

    Code:
    :: Performing [Install.wim] Image Windows Folder Cleanup
    if "%ImageIndexNo%" equ "*" (
        for /L %%k in (1, 1, %ImageCount%) do (
            rem if exist "%InstallMount%\%%k\$Recycle.Bin" rd /q /s "%InstallMount%\%%k\$Recycle.Bin" >nul 2>&1
            rem if exist "%InstallMount%\%%k\PerfLogs" rd /q /s "%InstallMount%\%%k\PerfLogs" >nul 2>&1
            rem if exist "%InstallMount%\%%k\Windows\WinSxS\Backup\*.*" del /f /q rd /q /s "%InstallMount%\%%k\Windows\WinSxS\Backup\*.*" >nul 2>&1
            ...
        )
    ) else (
        rem if exist "%InstallMount%\$Recycle.Bin" rd /q /s "%InstallMount%\$Recycle.Bin" >nul 2>&1
        rem if exist "%InstallMount%\PerfLogs" rd /q /s "%InstallMount%\PerfLogs" >nul 2>&1
        rem if exist "%InstallMount%\Windows\WinSxS\Backup\*.*" del /f /q rd /q /s "%InstallMount%\Windows\WinSxS\Backup\*.*" >nul 2>&1
        ...
    )
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...