Install-wim-tweak.exe -
:: Target specific package install-wim-tweak.exe /o /c "Microsoft.Windows.CloudExperienceHost" /u Now use the /r flag to remove:
Enter —a small, lightweight, yet incredibly powerful command-line utility that has become a cult favorite among system integrators, technicians, and power users. This tool unlocks the ability to manipulate Windows Image ( .wim ) files in ways that DISM alone cannot. install-wim-tweak.exe
:: Mount index 6 to C:\mount dism /mount-image /imagefile:C:\win11.wim /index:6 /mountdir:C:\mount cd C:\tools :: List all Appx packages in the mounted image install-wim-tweak.exe /o /l /appx > C:\appx-list.txt :: Target specific package install-wim-tweak
install-wim-tweak.exe /o /r *xbox* install-wim-tweak.exe /o /r *onedrive* install-wim-tweak.exe /o /r "Microsoft.Windows.CloudExperienceHost" For deeper system components like Cortana or Edge WebView, use the /p switch: use the /p switch: