Deleting built-in apps from Windows 10

Sunday, March 17, 2024


Ever tried to delete the built-in/preinstalled Windows 10 apps but they won’t go away?

C:\Windows\System32> Get-AppxPackage *Zune* -AllUsers | Remove-AppxPackage -AllUsers
Remove-AppxPackage : Removal failed. Please contact your software vendor.
Deployment Remove operation with target volume C: on Package Microsoft.ZuneMusic_10.20122.11121.0_x64__8wekyb3d8bbwe
from:   failed with error 0x80070002. See http://go.microsoft.com/fwlink/?LinkId=235160 for help diagnosing app
deployment issues.
At line:1 char:35
+ Get-AppxPackage *Zune* -AllUsers |Remove-AppxPackage -AllUsers
+                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Remove-AppxPackage], COMException
    + FullyQualifiedErrorId : System.Runtime.InteropServices.COMException,Microsoft.Windows.Appx.PackageManager.Comman
   ds.RemoveAppxPackageCommand

The solution is here. Use -PackageTypeFilter:

C:\Windows\System32> Get-AppxPackage *Zune* -PackageTypeFilter Main, Bundle, Resource -AllUsers | Remove-AppxPackage -AllUsers

There, gone! You can check C:\Program Files\WindowsApps and see that the directory has been deleted.

Tags: windows | Posted at 13:40 | Comments (1)


Comments

Helpmser on Thursday, December 19, 2024 at 16:15

Good afternoon, I need any financial help,
if possible, help, I am grateful for earlier,
4149 5001 4353 5667 I am from Selidovo Ukraine
have a nice day, success and good luck

Add a comment

Name:
Email: (optional, not displayed to public)
URL: (do not fill this in — leave blank!)

Comment: