1. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,770
    3,601
    60
    I thought I had read something, but I looked for where you wrote and did not find it.

    Understood. Thnks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. graver.x

    graver.x MDL Senior Member

    Jan 18, 2020
    349
    486
    10
  3. geepnozeex

    geepnozeex MDL Junior Member

    Oct 21, 2014
    81
    80
    0
    Hello.
    I am looking powershell command to remove ContentDeliveryManager from a mounted image.
     
  4. JLT2000

    JLT2000 MDL Junior Member

    Nov 3, 2020
    69
    20
    0
    #20444 JLT2000, Sep 23, 2021
    Last edited: Sep 23, 2021
    HI MSMG

    I want to make an Win10 19044.1237 image using 19041 uup

    Is this the latest available updates i can use

    ssu-19041.1220-x64
    windows10.0-kb5000983-x64
    windows10.0-kb5003791-x64
    windows10.0-kb5004331-x64-ndp48
    windows10.0-kb5005565-x64
    windows10.0-kb5003716-x64
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    210
    Code:
    Get-AppxPackage -allusers Microsoft.Windows.ContentDeliveryManager | Remove-AppxPackage
     
  6. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    210
    Code:
    windows10.0-kb5003791-x64 (Enablement)
    windows10.0-kb5005565-x64 (Cumulative)
    windows10.0-kb5004393-x64 (Windows Experience Feature Pack)
    windows10.0-kb5005714-x64 (DU for Sources)
    SSU-19041.1220-x64 (Servicing Stack)
    windows10.0-kb5005645-x64 (Safe OS)
    windows10.0-kb5004331-x64 (Net Cumulative)
    
     
  7. geepnozeex

    geepnozeex MDL Junior Member

    Oct 21, 2014
    81
    80
    0
    #20450 geepnozeex, Sep 23, 2021
    Last edited: Sep 23, 2021
    this does not work.
    to remove AppxProvisionedPackage, I use a command like -
    Code:
    powershell "Get-AppxProvisionedPackage -path C:\WORK\Mount|? PackageName -notlike *SecHealthUI*|Remove-AppxProvisionedPackage"
    to remove Package, I use a command like -
    Code:
    reg load HKLM\Custom C:\WORK\Mount\Windows\System32\Config\Software
    Reg Add "HKLM\Custom\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Microsoft-Windows-Internet-Browser-Package~31bf3856ad364e35~amd64~~10.0.19041.1" /v "Visibility" /t REG_DWORD /d 1 /f
    Reg Delete "HKLM\Custom\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Microsoft-Windows-Internet-Browser-Package~31bf3856ad364e35~amd64~~10.0.19041.1\Owners" /f
    reg unload HKLM\Custom
    C:\DISM\Dism /image:c:\work\mount /Remove-Package /Packagename:Microsoft-Windows-Internet-Browser-Package~31bf3856ad364e35~amd64~~10.0.19041.1
    
    but how to remove AppxPackage ContentDeliverymanager in mounted image - i dont know



    ok, then what is the command for DISM ?
     
  8. graver.x

    graver.x MDL Senior Member

    Jan 18, 2020
    349
    486
    10
    Yes, I'm currently completing a retest (component removal only). With the same exact list of components except for ClientWebExperience.
    The process of saving the image is now underway. I will check the installation and immediately write to you about the result.
     
  9. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    210
    You can open the final wim image with 7-zip and locate the folder <Program Files\Windows App> to see if the apps are present or not.

     
  10. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    210
    I think for System Apps removal first you need to make them removable by editing the StateRepository-Deployment.srd or StateRepository-Machine.srd database file at C:\ProgramData\Microsoft\Windows\AppRepository and then you can remove them using PowerShell.

    You can't remove it through DISM.


     
  11. Feartamixg

    Feartamixg MDL Addicted

    May 15, 2016
    786
    631
    30
    @MSMG
    Any updates on this?
     
  12. Ace2

    Ace2 MDL Guru

    Oct 10, 2014
    2,206
    1,909
    90
    ERROR with MSMG ToolKit version: 1.0.5184.0 on Windows 10.0.19041.1 Core x64
    Code:
    Microsoft Windows [Version 10.0.19041.1]
    (c) 2019 Microsoft Corporation. All rights reserved.
    
    C:\Program Files\PowerRun>C:\ToolKitHelper.exe C:\mount AllComponents
    
    MSMG ToolKit Commandline Helper
    Version: 1.0.5184.0
    
    Image Version: 10.0.19041.1
    
    Component : AdobeFlashForWindows
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : InternetExplorer
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : FirstLogonAnimation
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : GameExplorer
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : SnippingTool
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : SpeechRecognition
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : WindowsMediaPlayer
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : WindowsPhotoViewer
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : WinSAT
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : CEIP
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : FaceRecognition
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : KernelDebugging
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : LocationService
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : PicturePassword
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : PinEnrollment
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : UnifiedTelemetryClient
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : WiFiNetworkManager
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : WindowsErrorReporting
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : WindowsInsiderHub
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : HomeGroup
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : MultiPointConnector
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : RemoteAssistance
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : DeviceLockdown
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : EaseOfAccessThemes
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : EasyTransfer
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : FileHistory
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    
    ERROR:
    
    ---------------------------
    
    ---------------------------
    System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object.
    
       at (Object )
    
       at †††
    
    ††††•Š.†††
    
    ††††’Š(Object , †††
    
    ††††•Š )
    
       at †††
    
    †††††’.†††
    
    †††††‘.†††
    
    †††††™(String  , String  )
    
       at †††
    
    ††††”.†††
    
    ††††’Š(String  , String  , †††
    
    ††††” )
    
       at †††
    
    †††††’.†††
    
    †††††‘.†††
    
    †††††š(String  , String  )
    
       at †††
    
    ††††”.†††
    
    ††††’Š(String  , String  , †††
    
    ††††” )
    
       at †††
    
    †††††’.†††
    
    †††††‘.Main(String[] args)
    
       --- End of inner exception stack trace ---
    
       at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
    
       at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
    
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    
       at _._.___()
    ---------------------------
    OK  
    ---------------------------
    
    When will there be support for 10.0.19041.1 :eek:
     
  13. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,770
    3,601
    60
    @MSMG,

    Build 18363

    Microsoft.DirectXRuntime_9.29.1974.0
    It seems that it is something related to the "/DependencyPackagePath" parameter.

    Do you know what is the missing dependence?
    If you have to check, do it in your time. But if you already have any idea what it is, I can put the variable in place to test.

    Thnks, man!
    DISM log
    Code:
    2021-09-23 23:48:59, Error                 DISM   DISM Appx Provider: PID=9580 TID=5756 onecore\admin\appmodel\utilities\provisionhelper\msixpackageadapter.cpp(1194)\AppxProvider.dll!00007FFADE11F2A2: (caller: 00007FFADE11EEDC) ReturnHr(1) tid(167c) 80070057 Par⭥tro incorreto.
        Msg:['Microsoft.DirectXRuntime_9.29.1974.0_x64__8wekyb3d8bbwe' is a framework package, but passed through the main /packagepath parameter. It must be passed using the /dependencyPackagePath parameter.]
     - CAppxManager::ResultLoggingCallback
    2021-09-23 23:48:59, Error                 DISM   DISM Appx Provider: PID=9580 TID=5756 onecore\admin\appmodel\utilities\provisionhelper\msixpackageadapter.cpp(1130)\AppxProvider.dll!00007FFADE11EF0B: (caller: 00007FFADE112DC7) ReturnHr(2) tid(167c) 80070057 Par⭥tro incorreto.
        Msg:[Failed to validate main package parameter is not a framework or an optional package.]
     - CAppxManager::ResultLoggingCallback
    2021-09-23 23:48:59, Error                 DISM   DISM Appx Provider: PID=9580 TID=5756 onecore\admin\appmodel\utilities\provisionhelper\msixprovisioningrequest.cpp(615)\AppxProvider.dll!00007FFADE112F06: (caller: 00007FFADE0F8282) ReturnHr(3) tid(167c) 80070057 Par⭥tro incorreto.
        Msg:[Failed to create adapter for 'B:\Toolkit\Packs\Apps\w10\Microsoft.DirectXRuntime_9.29.1974.0_x64__8wekyb3d8bbwe.Appx'.]
     - CAppxManager::ResultLoggingCallback
    2021-09-23 23:48:59, Error                 DISM   DISM Appx Provider: PID=9580 TID=5756 Failed to add package 'B:\Toolkit\Packs\Apps\w10\Microsoft.DirectXRuntime_9.29.1974.0_x64__8wekyb3d8bbwe.Appx' to adapter set for processing. - CAppxManager::AddAllUserAppxPackageWithOptionalPackagesAndRegion(hr:0x80070057)
    2021-09-23 23:48:59, Error                 DISM   DISM Appx Provider: PID=9580 TID=5756 Failed to add Appx package - CAppxManager::ProcessCommandAddAllUserAppxPackage(hr:0x80070057)
    2021-09-23 23:48:59, Error                 DISM   DISM Appx Provider: PID=9580 TID=5756 Failed processing command to add Appx package - CAppxManager::ExecuteCmdLine(hr:0x80070057)
    
     
    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
    Need to extract the mui files and repack, will do it ASAP.

     
  15. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    210
    Very soon will be adding support for 19041.1 Base.

     
  16. jinvidia

    jinvidia MDL Member

    Aug 7, 2016
    238
    36
    10
    You mean the latest toolkithelper.exe is tied to all the previous CUs stated in the changelog.txt or each and every version of toolkithelper is tied only to a particular version of CU stated in the changelog ? .