To install an MSIX package for all users on a Windows machine, you must use cmdlets rather than standard installation commands . While Add-AppxPackage only installs an app for the current user, provisioning ensures the application is registered for every existing and future user profile on the device. The Core Command: Add-AppxProvisionedPackage
Here's a complete example of a PowerShell script that installs an MSIX package for all users: install msix powershell all users
Remove-AppxProvisionedPackage -Online -PackageName "YourAppPackageName" To install an MSIX package for all users
The full path to your .msix or .msixbundle file. install msix powershell all users