1. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    210
  2. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    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.

     
  3. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,770
    3,601
    60
    Not Expert... Just learning, always learning.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    210
    #20124 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.
    
     
  5. fch1993

    fch1993 MDL Senior Member

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

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    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.

     
  7. Andycar

    Andycar MDL Novice

    May 31, 2014
    1
    0
    0
    #20127 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.
     
  8. 1kari

    1kari MDL Novice

    Oct 14, 2018
    19
    9
    0
    #20128 1kari, Aug 18, 2021
    Last edited: Aug 18, 2021
    Good afternoon. I tried this simple way, and it still breaks the vmr.
    Select source (1 > 1) (also mount boot and recovery images)

    Microsoft Win32 Calculator (2 > 3 > D)

    Apply changes to image (5 > 2 > Y)

    Convert WIM to ESD (7 > 1 > E)

    Make ISO (6 > 1)
    Whatever I integrate into the image causes a 15-13 error when starting the vmr.
    sfc / scannow, no damages found.

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

    Remove using RemovePkgsList.txt (3 > 3 > 2)

    Unpin all Start menu icons (4 > 6)

    Hide Taskbar TaskView Icon (4 > 8 > B)

    Hide Taskbar News and Interests (4 > 8 > D)

    Photo Viewer (4 > 8 > M)

    Apply changes to image (5 > 2 > Y)

    Convert WIM to ESD (7 > 1 > E)

    Make ISO (6 > 1)

    CEIP
    ECApp
    CBSPreview
    CallingShellApp
    AssignedAccess
    AssignedAccessLockApp
    UnifiedTelemetryClient
    Edge
    EdgeChromium
    EdgeDevToolsClient
    InternetExplorer
    WindowsMediaPlayer
    OneDrive
    MapControl
    SettingSync
    GameExplorer
    AdvertisingXaml
    RetailDemoContent
    CommunicationsApps
    PeopleExperienceHost
    SecureAssessmentBrowser
    WalletService
    StorePurchaseApp
    WindowsStoreClient
    DesktopAppInstaller
    ServicesStoreEngagement
    XboxApp
    XboxClient
    XboxGameCallableUI
    XboxIdentityProvider
    SkypeApp
    SkypeORTC
    3DViewer
    Alarms
    BingWeather
    Calculator
    Camera
    Cortana
    FeedbackHub
    GetHelp
    Getstarted
    Maps
    MixedRealityPortal
    OfficeHub
    OfficeOneNote
    Paint3D
    People
    Photos
    ScreenSketch
    SolitaireCollection
    SoundRecorder
    StickyNotes
    VP9VideoExtensions
    WebMediaExtensions
    HEIFImageExtension
    WebpImageExtension
    YourPhone
    ZuneMusic
    ZuneVideo

    Windows 10, version 21H1 (19043.1110) amd64
     
  9. Supern00b

    Supern00b MDL Addicted

    Dec 30, 2010
    768
    560
    30
    Reading the previous comments about DISM, maybe someone with more insight can clear up my doubts:
    DISM being a command line utility is single threaded right?
    So having a multi core processor doesn't add anything in terms of performance gains?
    I mean, making an image with MSMG toolkit is equally fast on a single core as it is on a multi core processor?

    Is there any development that can improve on this, like DISM++?

    Cheers.
     
  10. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    210
    For integration the Toolkit uses the standard DISM so can you check integrating other packs excluding custom packs like Win32Calc, NET5, PowrShell7, DirectX9c, Games, Sidebar?

     
  11. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    210
    Have uploaded these new packs

    Microsoft .NET Framework 4.8 Pack (Windows 7/Server 2008 R2) for MSMG Toolkit with .NET 4.8 KB5004755 (4.8.4410.1) (Thanks to MDL Member : abbodi1406).
    Microsoft .NET 5 Desktop Runtime Pack (Windows 10/Windows 11) for MSMG Toolkit with Microsoft .NET 5 Desktop 5.0.9 Runtime.
    Microsoft Windows PowerShell 7 Pack (Windows 10/Windows 11) for MSMG Toolkit with PowerShell 7.1.4 Runtime.
    Microsoft Visual C++ Runtime Pack (Windows 10/Windows 11) for MSMG Toolkit with VC++ 2022 v14.30.30423.0 Runtime (Thanks to MDL Member : abbodi1406).
     
  12. ianymaty

    ianymaty MDL Member

    Jan 31, 2010
    136
    97
    10
  13. Tiger-1

    Tiger-1 MDL Guru

    Oct 18, 2014
    8,326
    11,604
    270
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    210
    Thanks, have updated the info and links.

     
  15. 1kari

    1kari MDL Novice

    Oct 14, 2018
    19
    9
    0
    All right, let me try. Tell me more specific which package. Can you solve the problem of integrating Win32Calc?
     
  16. graver.x

    graver.x MDL Senior Member

    Jan 18, 2020
    349
    486
    10
    #20137 graver.x, Aug 19, 2021
    Last edited: Aug 19, 2021
    MSMG,
    when working with multiple indexes, if you select "All" during mounting, then mounting install.wim ends with an error:

    Mounting [Install.wim, Index : All] Image at <\Mount\Install\All>...
    -------------------------------------------------------------------------------
    Deployment Image Servicing and Management tool Version: 10.0.22000.1
    Error: 87 The parameter is incorrect.

    When selecting indexes by specifying the sequence numbers "1,2,3,..." - everything goes well.

    Is this how it should be?
     
  17. graver.x

    graver.x MDL Senior Member

    Jan 18, 2020
    349
    486
    10
  18. graver.x

    graver.x MDL Senior Member

    Jan 18, 2020
    349
    486
    10
  19. xlincn

    xlincn MDL Junior Member

    Nov 9, 2013
    59
    18
    0
    #20140 xlincn, Aug 20, 2021
    Last edited: Aug 20, 2021