Skip to content
This repository was archived by the owner on Oct 3, 2025. It is now read-only.
This repository was archived by the owner on Oct 3, 2025. It is now read-only.

Remove-AppxPackage only hides the app #200

@gqqnbig

Description

@gqqnbig

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

See https://www.tenforums.com/software-apps/14445-uninstall-bloatware-windows-10-came-post328477.html#post328477

Reason

NA

Examples

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions