First remove the user-scoped installation:
This cmdlet stages the package on the machine, making it available to any new or existing user who logs in (though existing users may require a logoff/logon cycle). Open PowerShell as Administrator and use: install msix powershell all users
catch Write-Error "Installation failed: $_" exit 1 $packageInfo = Get-AppxProvisionedPackage -Online | Where-Object $_.DisplayName -like " YourAppName " if ($packageInfo) Write-Host "Provisioned package verified: $($packageInfo.DisplayName)" Remote Desktop Services (RDS)
By default,双击 an MSIX package installs it for the . But in enterprise environments—shared workstations, Remote Desktop Services (RDS), or Virtual Desktop Infrastructure (VDI)—you need the app available for everyone who logs into the machine. install msix powershell all users