Install Msix Powershell All Users [patched] Jun 2026
Notes:
⚠️ Not all MSIX packages support all-users installation due to developer restrictions. Some may only install per-user regardless of the -AllUsers flag.
. Even if run as Admin, it stays within that specific profile. Add-AppxProvisionedPackage install msix powershell all users
# Enable sideloading Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\AppModelUnlock" -Name "AllowAllTrustedApps" -Value 1 -Type DWord
Add-AppxProvisionedPackage -Online -FolderPath "C:\Packages\MyApp" -SkipLicense Notes: ⚠️ Not all MSIX packages support all-users
# Verify elevation if (-NOT ([Security.Principal.WindowsPrincipal] [Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] "Administrator")) Write-Error "This script must be run as Administrator." exit 1
The script utilizes the [Security.Principal.WindowsPrincipal] check to enforce Administrator rights. The -AllUsers parameter is the critical switch here; without it, the package installs only for the currently logged-in user context, even if run as Admin. Even if run as Admin, it stays within that specific profile
This often means the package is already installed for a single user. Remove the user version first: