When you install a Store app package by double-clicking on the package or by running the Add-AppxPackage cmdlet in PowerShell, the package is installed for the current user only.
This article tells you how to install or provision a Store app package for all user accounts that exist on the computer and for future user accounts.
Install a Store App package for all users
A Store app package can be an .Appx, .AppxBundle, .Msix, or an .Msixbundle file. To install an app package for all users, you can use PowerShell’s Add-ProvisionedAppPackage command or its DISM equivalent /Add-ProvisionedAppxPackage option.
/DependencyPackagePath
DISM command-line or the -DependencyPath
PowerShell command-line switch.Option 1: Using PowerShell
The PowerShell “Add-ProvisionedAppPackage” command-line syntax is below. You must use PowerShell (admin) to run these commands.
Add-ProvisionedAppPackage -online -PackagePath "FULL PATH OF THE APP PACKAGE" -skiplicense
Examples:
Add-ProvisionedAppPackage -online -PackagePath "D:\Apps\AmazonMobileLLC.AmazonMusic_9.5.2.0_x86__kc6t79cpj4tp0.Appx" -skiplicense
Add-ProvisionedAppPackage -online -PackagePath "D:\Apps\Microsoft.MSPaint_2023.2310.24037.0_neutral_~_8wekyb3d8bbwe.AppxBundle" -skiplicense
Add-ProvisionedAppPackage -online -PackagePath "D:\Apps\Microsoft.DesktopAppInstaller_2024.506.2113.0_neutral_~_8wekyb3d8bbwe.Msixbundle" -skiplicense
If there are some dependencies, use the -DependencyPath switch.
Option 2: Using DISM
The DISM command-line syntax is below:
Dism /online /Add-ProvisionedAppxPackage /packagePath:"FULL PATH OF THE APP PACKAGE" /SkipLicense
Examples:
Dism /online /Add-ProvisionedAppxPackage /packagePath:"D:\Apps\AmazonMobileLLC.AmazonMusic_9.5.2.0_x86__kc6t79cpj4tp0.Appx" /SkipLicense
Dism /online /Add-ProvisionedAppxPackage /packagePath:"D:\Apps\Microsoft.MSPaint_2023.2310.24037.0_neutral_~_8wekyb3d8bbwe.AppxBundle" /SkipLicense
Dism /online /Add-ProvisionedAppxPackage /packagePath:"D:\Apps\Microsoft.DesktopAppInstaller_2024.506.2113.0_neutral_~_8wekyb3d8bbwe.Msixbundle" /SkipLicense
If there are some dependencies, use /DependencyPackagePath to specify each dependency package needed for the app to be provisioned.
Additional Information
List all provisioned packages
To get the list of packages provisioned for all users, use the following command:
[Command Prompt or PowerShell]
Dism /online /Get-ProvisionedAppxPackages
or
[PowerShell]
Get-ProvisionedAppPackage -online
The above commands display information about app packages (.appx, .appxbundle, .msixbundle) that are set to install for all users and each new user.
Remove a provisioned package
To remove a provisioned package for all users, use the “/Remove-ProvisionedAppxPackage” switch.
[Command Prompt or PowerShell]
Dism /online /Remove-ProvisionedAppxPackage /PackageName:"FULL PATH OF THE APP PACKAGE"
Example:
Dism /online /Remove-ProvisionedAppxPackage /PackageName:AmazonMobileLLC.AmazonMusic_9.5.2.0_x86__kc6t79cpj4tp0
[PowerShell]
Remove-ProvisionedAppPackage -online -PackageName "AmazonMobileLLC.AmazonMusic_9.5.2.0_x86__kc6t79cpj4tp0"
The above commands remove provisioning for the specified app package (.appx, .appxbundle, .msixbundle) for every user. Also, the App package will not be registered to new user accounts that are created.
Related Links
Add-AppxProvisionedPackage (DISM) | Microsoft Learn
DISM App Package (.appx or .appxbundle) Servicing Command-Line Options | Microsoft Learn
Fix: Can’t Install Appx, AppxBundle, and Msixbundle Files in Windows
How to Download the Offline Installer for any Store App
One small request: If you liked this post, please share this?
One "tiny" share from you would seriously help a lot with the growth of this blog. Some great suggestions:- Pin it!
- Share it to your favorite blog + Facebook, Reddit
- Tweet it!