Remove AppxProvisionedPackage - PowerShell


Remove-AppxProvisionedPackage uninstalls a provisioned app package from the current user’s account. Provisioned apps are those installed for all users or by a package deployment tool.


Remove-AppxProvisionedPackage [-PackageName] <String> [-AllUsers] [-LicensePath <String>] [-AppxBundle <String>]


  • -PackageName: Specifies the package name of the app to remove.
  • -AllUsers: Uninstalls the app for all users.
  • -LicensePath: Specifies the path to the license file for the app.
  • -AppxBundle: Specifies the path to the .appxbundle file for the app.


Simple example to uninstall an app for the current user:

Remove-AppxProvisionedPackage -PackageName "Microsoft.WindowsCalculator"

Uninstall an app for all users using the license file:

Remove-AppxProvisionedPackage -PackageName "Microsoft.WindowsCalculator" -AllUsers -LicensePath "C:\path\to\license.xml"

Common Issues

  • Ensure that the app is a provisioned app that is installed for all users.
  • Check if the user has sufficient permissions to remove the app.
  • Verify that the package name is correct.


Use Remove-AppxProvisionedPackage with other PowerShell commands to manage apps provisioned for all users. For example, to get a list of all provisioned apps:

Get-AppxProvisionedPackage -AllUsers
  • Get-AppxProvisionedPackage
  • Add-AppxProvisionedPackage