1. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    49,679
    103,519
    450
  2. graver.x

    graver.x MDL Senior Member

    Jan 18, 2020
    347
    484
    10
    What components are you removing?
     
  3. ultimate_live

    ultimate_live MDL Expert

    Mar 15, 2011
    1,022
    671
    60
    Thanks MSMG
    Version 11.7 works for all I need. Great work. :clap3::clap3::clap3:
     
  4. edmiri

    edmiri MDL Junior Member

    Oct 27, 2016
    59
    13
    0
    Need some help here.

    Windows 10 2004

    Removing Windows Components Requires Cumulative Update specified in the changelog.txt to be integrated before the removal.

    The problem is i dont see this update specified in changelog.txt inside toolkit folder.

    How can i know what update to integrate? This is driving me crazy.
     
  5. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    Don't think DISM.exe allows parallel processing using same Wim file and moreover the script a dos batch file which executes line by line.

    But in DISMAPi there's something called session for each DISM operation, right now in the DISMAPi based Tool I'm working on I have added only single index servicing at a time, will check with the option multi-index parallel processing.

     
  6. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    I don't have a WMR device to troubleshoot the issue you are facing, only with trail and error you can test which component is breaking the WMR.

    Only component Cortana shares some of it's files and registry setting with WMR, you can try retaining Cortana.

     
  7. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    Post the list of features integrated?

     
  8. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    Use Toolkit v8.8 for removing components for Windows 7 - Windows 10 v1803 source OS.

     
  9. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    Selecting the parent component will automatically select it's child components.

    Selecting Windows Defender in System Apps will auto select Security Center in System since the Security Center is dependent on Windows Defender.

     
  10. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,748
    3,575
    60
    Not Expert... Just learning, always learning.
     
  11. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    #20137 MSMG, Aug 18, 2021
    Last edited: Aug 18, 2021
    (OP)
    See the changelog to know the supported source image

    For Windows 10 Client v2004/v20H2/v21H1 you can use either KB5004237 or KB5004296
    For Windows 10 Client v2004/v20H2/v21H1/v21H2 you can use KB5004296

    Will add the CU KBID from next version.

    Code:
    + Updated the Feature "Remove Windows Component" to support Windows 10 Client v1809 (v10.0.17763.2061) Source OS.
    + Updated the Feature "Remove Windows Component" to support Windows 10 Client v1903/v1909 (v10.0.18362.1679/v10.0.18363.1679) Source OS.
    + Updated the Feature "Remove Windows Component" to support Windows 10 Client v2004/v20H2/v21H1 (v10.0.19041.1110/v10.0.19042.1110/v10.0.19043.1110) Source OS.
    + Updated the Feature "Remove Windows Component" to support Windows 10 Client v2004/v20H2/v21H1/v21H2 (v10.0.19041.1151/v10.0.19042.1151/v10.0.19043.1151/v10.0.19044.1151) Source OS.
    
     
  12. fch1993

    fch1993 MDL Senior Member

    Mar 14, 2020
    382
    275
    10
    But some other tool like DISM++ allow parallel processing using same wim but this doesn't have api/command to use.
     
  13. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    DISM++ doesn't use DISM.exe, DISMApi.dll or DISMCore.dll instead it uses CBS which is another Windows internal way of servicing images. May be CBS also have session to use the Wim image.

     
  14. Andycar

    Andycar MDL Novice

    May 31, 2014
    1
    0
    0
    #20140 Andycar, Aug 18, 2021
    Last edited: Aug 18, 2021
    Dear @MSMG, I tried resetting the non-removable state on the latest Win11 (10.0.22000.132) build, but still can't remove SecHealthUI_8wekyb3d8bbwe package:

    Code:
    Dism /Image:C:\MSMG\Mount\Install\1 /Set-NonRemovableAppPolicy /PackageFamily:Microsoft.SecHealthUI_8wekyb3d8bbwe /NonRemovable:0
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.1
    
    Image Version: 10.0.22000.132
    
    The operation completed successfully.
    
    Code:
    Dism /Image:C:\MSMG\Mount\Install\1 /Set-NonRemovableAppPolicy /PackageFamily:Microsoft.SecHealthUI_8wekyb3d8bbwe /NonRemovable:0
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.1
    
    Image Version: 10.0.22000.132
    
    
    Error: 15610
    
    Removal failed. Please contact your software vendor.
    
    From "C:\Windows\Logs\DISM\dism.log":
    Code:
    2021-08-18 12:11:54, Info                  DISM   DISM Appx Provider: PID=12696 TID=992 packagename='Microsoft.SecHealthUI_1000.22000.1.0_neutral__8wekyb3d8bbwe' - CAppxManager::ProcessCommandRemoveAllUserAppx
    2021-08-18 12:11:54, Error                 DISM   DISM Appx Provider: PID=12696 TID=992 Failed to uninstall becuase policy prevents the removal of this package - CAppxManager::RemoveAllUserAppx(hr:0x80073cfa)
    2021-08-18 12:11:54, Error                 DISM   DISM Appx Provider: PID=12696 TID=992 Failed to remove package 'Microsoft.SecHealthUI_1000.22000.1.0_neutral__8wekyb3d8bbwe' - CAppxManager::ProcessCommandRemoveAllUserAppx(hr:0x80073cfa)
    2021-08-18 12:11:54, Error                 DISM   DISM Appx Provider: PID=12696 TID=992 Failed processing command to remove Appx package - CAppxManager::ExecuteCmdLine(hr:0x80073cfa)
    
    How can we remove it, any ideas?
    Thanks for your amazing ToolKit!


    P.S. Other ProvisionedAppxPackages (e.g. Microsoft.WindowsTerminal_2021.226.1915.0_neutral_~_8wekyb3d8bbwe, etc...) can be removed normally.