1. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    No ETA yet as I'm waiting for the official release of v2004 to know which CU version will it be released with.

    v1909->v2004 is a feature upgrade and yes it will restore all the removed components with new files.

    Even with the present removal method installing any CU later or using WU will restore the removed components for v1909 or v2004.

    Better wait for the next release if removing components.

     
  2. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    Yes I have added a choice whether to cleanup the image or skip it and just apply the changes.

    Choose Yes if you want to cleanup or No to skip,

    (6 > 1) is reset base and this is cleaning up of temporary files in Windows folder.

     
  3. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    #14363 MSMG, Mar 10, 2020
    Last edited: Mar 10, 2020
    (OP)
    Not yet, when I do fix them it will listed in change log.

    I'm aware of these issues

    - Removing IE breaks the DirectX 9.0c Web Installer and Adobe Photoshop Online Installation.
    - Removing Map Control, the "File Information" item in Photos does not work.
    - Integrating standard games breaks Instagram UWP App.

     
  4. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    That file is retained for compatibility reasons.

     
  5. nosirrahx

    nosirrahx MDL Expert

    Nov 7, 2017
    1,263
    607
    60
    What potentially breaks if I remove it?
     
  6. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    #14366 MSMG, Mar 10, 2020
    Last edited: Mar 10, 2020
    (OP)
    The ie9props.propdesc file is a property description file and it contains property instructions for Prop-ID, it's an XML file required for compatibility of IE components to run under WOW64 mode, It is also required for Windows Search patterns and to respect SFC /scannow

    I do have retained several other IE files like Windows\system32\iernonce.dll or Windows\system32\iertutil.dll for compatibility of old Intel GPU drivers installation.

     
  7. Igor147

    Igor147 MDL Member

    Oct 20, 2016
    144
    67
    10
    Well, I mean, were the problems confirmed?
     
  8. Feartamixg

    Feartamixg MDL Addicted

    May 15, 2016
    783
    629
    30
    Should I choose

    6 > 1
    6 > 2 > Y​
    - or -
    6 > 1
    6 > 2 > N​
    -or-
    6 > 2 > Y​

    Slightly confused, as it sounds like I can choose the third option without needed to do 6 > 1.

    Or is the first option the most thorough cleanup and recommended?
     
  9. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    Yes DirectX 9.0c, Photoshop and Instagram UWP issues are confirmed, Photos App is yet to be tested.

     
  10. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    6 > 1 is Dism /Cleanup-Image /StartComponentCleanup /ResetBase

    6 > 2 > Y/N is about cleaning temporary files like below

    Code:
    $Recycle.Bin
    PerfLogs
    Windows\WinSxS\Backup
    Windows\WinSxS\ManifestCache\*.bin
    Windows\WinSxS\Temp\PendingDeletes
    Windows\WinSxS\Temp\TransformerRollbackData
    Windows\inf\*.log
    Windows\CbsTemp
    
     
  11. JamesT70

    JamesT70 MDL Novice

    May 18, 2019
    1
    0
    0
    @MSMG

    Hi, first thanks for your work

    I get an error message:
    "ToolKit component removal only work with the below Source OS Images...
    Windows 10 v1909 (10.0.18363.418) Source OS."

    But the changelog list for 9.6 say:
    + Updated the Feature "Remove Windows Component" to support Windows 10 Client v1909 (v10.0.18363.693) Source OS.

    I use this image:
    Windows 10 Pro v1909 (10.0.18363.693) x64 german
     
  12. windows builder

    windows builder MDL Guru

    Sep 13, 2017
    2,219
    1,555
    90
    use the image 10.0.18363.418 + cumulative update KB4535996
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. Feartamixg

    Feartamixg MDL Addicted

    May 15, 2016
    783
    629
    30
    Thank you. I shall do 6 > 1 then 6 > 2 > Y for the most thorough cleanup.

    Awaiting today's CU and SSU before testing new method.
     
  14. Feartamixg

    Feartamixg MDL Addicted

    May 15, 2016
    783
    629
    30
    Tested new ToolKit with CU and SSU released today and SFC has found errors.
    Code:
    Microsoft Windows [Version 10.0.18363.719]
    (c) 2019 Microsoft Corporation. All rights reserved.
    
    C:\Windows\system32>sfc /scannow
    
    Beginning system scan.  This process will take some time.
    
    Beginning verification phase of system scan.
    Verification 100% complete.
    
    Windows Resource Protection found corrupt files and successfully repaired them.
    For online repairs, details are included in the CBS log file located at
    windir\Logs\CBS\CBS.log. For example C:\Windows\Logs\CBS\CBS.log. For offline
    repairs, details are included in the log file provided by the /OFFLOGFILE flag.
    Have attached log files.

    x86 ISO: 18363.418.191007-0143.19H2_RELEASE_SVC_REFRESH_CLIENTENTERPRISE_VOL_X86FRE_EN-GB.ISO
    x86 SSU: windows10.0-kb4541338-x86_8aba9b3c75caff7833e37dd5c0a26abcd88def01.msu
    x86 CU: windows10.0-kb4540673-x86_6f88fdf775c2bc27727f08cfa92b1e4859d01af0.msu

    x64 ISO: 18363.418.191007-0143.19H2_RELEASE_SVC_REFRESH_CLIENTENTERPRISE_VOL_X64FRE_EN-GB.ISO
    x64 SSU: windows10.0-kb4541338-x64_5db6cfc57a8bda4d13107ad24b3fe8fd790219cf.msu
    x64 CU: windows10.0-kb4540673-x64_aefb1592e55950abcaae06f56cdc3e93aed61370.msu

    Extract ISO (1 > 3)

    Select source (1 > 1) (also mount boot and recovery images)

    Integrate Win32 calculator (3 > 3 > C)

    Apply SSU and CU updates (3 > 4 > 2 > 1 > 4)

    Apply setup media update (3 > 4 > 2 > 2)

    Remove using RemovePkgsList.txt (4 > 3)
    ToolKitHelper:GameExplorer
    ToolKitHelper:MapControl
    ToolKitHelper:OneDrive
    ToolKitHelper:peopleExperienceHost
    ToolKitHelper:pPIProjection
    ToolKitHelper:RetailDemoContent
    ToolKitHelper:SkypeORTC
    ToolKitHelper:SecureAssessmentBrowser
    ToolKitHelper:WindowsMixedReality
    ToolKitHelper:XboxGameCallableUI
    ToolKitHelper:WindowsApps

    Tweaks for Task View, App Downloads, Photo Viewer (5 > 8 > B/D/J)

    Cleanup (6 > 1)

    Apply changes to image (6 > 2 > Y)

    Rebuild (6 > 1)

    Convert WIM to ESD (2 > 4)

    Make ISO (7 > 1)
     

    Attached Files:

  15. nosirrahx

    nosirrahx MDL Expert

    Nov 7, 2017
    1,263
    607
    60
    Same goes for removals, IE right away gave troubles removing. This is how it goes though as it is impossible to code around all possible changes MS makes in a CU.

    I reverted to the last CU which is fully compatible with the toolkit and just installed the SSU and CU after reboot, they installed without issue on a heavily modified image.
     
  16. xlincn

    xlincn MDL Junior Member

    Nov 9, 2013
    50
    15
    0
    wait for the delete component version
     
  17. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    Will update the ToolKitHelper

     
  18. biatche

    biatche MDL Addicted

    Nov 14, 2009
    573
    144
    30
    i think insider removal menu items arent correct ; doesnt point to the right menus. at least the case for my latest iso
     
  19. Feartamixg

    Feartamixg MDL Addicted

    May 15, 2016
    783
    629
    30
    Looking forward to test. Will check later today for release.
     
  20. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    Fixed in the next version, just do this one line correction in the ToolKit.cmd file using notepad

    Line No: 2592

    Code:
        if errorlevel 1 goto :RemoveWindowsComponentsMenu
    
    To

    Code:
        if errorlevel 1 goto :RemoveWindowsAppsList
    

    And it's works properly.

    Code:
    ===============================================================================
              MSMG ToolKit - Remove Windows Apps Using Apps List
    ===============================================================================
    
    -------------------------------------------------------------------------------
    ####Starting Remove Windows Apps Using Apps List###############################
    -------------------------------------------------------------------------------
    
        Image                    : Install.wim
        Image Index              : 1
        Image Architecture       : x86
        Image Version            : 10.0.19577.1000.0
        Image Edition            : Professional
        Image Default Language   : en-US
    
    -------------------------------------------------------------------------------
    ####Removing Windows Apps Using Apps List######################################
    -------------------------------------------------------------------------------
    
    -------------------------------------------------------------------------------
    Removing Microsoft.ZuneMusic Provisioned Appx Package...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19546.1000
    
    Image Version: 10.0.19577.1000
    
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    Removing Microsoft.ZuneVideo Provisioned Appx Package...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19546.1000
    
    Image Version: 10.0.19577.1000
    
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    ####Finished Removing Windows Apps Using Apps List#############################
    -------------------------------------------------------------------------------
    
    ===============================================================================
    
    Press any key to continue . . .
    
    

    Code:
    ===============================================================================
            MSMG ToolKit - Remove Windows Components Using Package List
    ===============================================================================
    
    -------------------------------------------------------------------------------
    ####Starting Removing Windows Components Using Package List####################
    -------------------------------------------------------------------------------
    
        Image                    : Install.wim
        Image Index              : 1
        Image Architecture       : x86
        Image Version            : 10.0.19577.1000.0
        Image Edition            : Professional
        Image Default Language   : en-US
    
    -------------------------------------------------------------------------------
    ####Removing Windows Components Using Package List#############################
    -------------------------------------------------------------------------------
    
    -------------------------------------------------------------------------------
    Removing Windows-Defender-AM-Default-Definitions-Package Package...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19546.1000
    
    Image Version: 10.0.19577.1000
    
    Processing 1 of 1 - Removing package Windows-Defender-AM-Default-Definitions-Package~31bf3856ad364e35~x86~~10.0.19577.1000
    [==========================100.0%==========================]
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    Removing Windows-Defender-AppLayer-Group-Package Package...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19546.1000
    
    Image Version: 10.0.19577.1000
    
    Processing 1 of 1 - Removing package Windows-Defender-AppLayer-Group-Package~31bf3856ad364e35~x86~~10.0.19577.1000
    [==========================100.0%==========================]
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    Removing Windows-Defender-Client-Package Package...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19546.1000
    
    Image Version: 10.0.19577.1000
    
    Processing 1 of 1 - Removing package Windows-Defender-Client-Package~31bf3856ad364e35~x86~~10.0.19577.1000
    [==========================100.0%==========================]
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    Removing Windows-Defender-Group-Policy-Package Package...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19546.1000
    
    Image Version: 10.0.19577.1000
    
    Processing 1 of 1 - Removing package Windows-Defender-Group-Policy-Package~31bf3856ad364e35~x86~~10.0.19577.1000
    [==========================100.0%==========================]
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    ####Finished Removing Windows Components Using Package List####################
    -------------------------------------------------------------------------------
    
    ===============================================================================
    
    Press any key to continue . . .