Important Notice: On February 29th, this community was put into read-only mode. All existing posts will remain but customers are unable to add new posts or comment on existing. Please feel to join our Community Discord for any questions and discussions.

Deploy Appx Package to All Users

I'm trying to get PowerShell working properly with PDQ to deploy Appx packages to all users. I was able to get it to work for the currently logged on user only using this package

Step 1: Copy .appx packages to C:\Appx on target
Step 2: (Powershell) Add-AppxPackage -Path "C:\Appx\application.Appx"

I had to make Step 2 run as logged on user. This works fine for the logged on user but I want this installed for everyone that uses the computer. I tried using Add-AppxProvisionedPackage -FolderPath "C:\Appx" but I'm getting a generic PS error:

ScriptHalted
At C:\windows\AdminArsenal\PDQDeployRunner\service-1\exec\Error Handling Wrapper.ps1:58 char:2

0

Comments

0 comments