This repository was archived by the owner on Oct 3, 2025. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 317
Remove-AppxPackage only hides the app #200
Copy link
Copy link
Open
Labels
Feature RequestNew feature requestNew feature request
Description
Description
https://github.com/LeDragoX/Win-Debloat-Tools/blob/main/src/lib/debloat-helper/Remove-UWPApp.psm1 essentially calls Remove-AppxPackage to delete an app. Unfortunately, Remove-AppxPackage only hides the app. It doesn't delete any file from your disk.
To test, I run Get-AppxPackage -name "Microsoft.ZuneVideo" | Remove-AppxPackage -AllUsers, the folder C:\Program Files\WindowsApps\Microsoft.ZuneVideo_10.24101.10041.0_x64__8wekyb3d8bbwe and its files still exist.
The real way to delete an app from the disk is to use dism:
DISM /Online /Get-ProvisionedAppxPackages | select-string Packagename
DISM /Online /Remove-ProvisionedAppxPackage /PackageName:Packagename
Reason
NA
Examples
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Feature RequestNew feature requestNew feature request