this does not work. Spoiler 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 ?
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.
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.
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.
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
@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)
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 ? .
Every version of ToolKitHelper.exe is tied only to a particular version of CU stated in the changelog. I do have plans for future to make it to adapt to any CU.
hi there sir @MSMG I hope you and your family are well. and that your covid simptoms are vanishing swiftly. or should that be long covid? p.s erelevent note alert! it's my birthday today yay! another year older but don't feel wizer. god I sound so old, i'm 29. sorry for sounding like a reppetative bore, but would it be possible for you to add the components offline files, hyper-v components to the removal list? and reinstate the removal of windows firewall? yes I understand it may take meny a month to add these components, but reminding I hope does no harm? I alwaze believe that having the option there to remove the components is a good thing, vs not having the option. what you remove is your issue, and when you choose to remove sed components, it's all down to you. @MSMG that last part was not to you, it was genneral. the reason I would like windows firewall to be purged is 1. this machine/install is behind a home rooter. it will never lieve the home network. an alternative firewall sollution is inplace on my network. thank you for reading this long and some may say frankly boring message. Majid
Hi @MSMG. I know you;re busy, but I'm wondering if you had a chance to look at the webp codec package in LTSC that doesn't seem to work