Closed maysaribeiro closed 3 years ago
@maysaribeiro
The issues section of this repository is intended for documentation problems.
Please consider checking any relevant resources and asking the community about your problem via the following link.
Also feel free to reply if there is anything else that could be done to improve the document itself.
Thanks.
I have a service that performs some processes and can even be run installation commands. This service is performed by the local system user (SID S-1-5-18).
So I sent the command below for the service to run, which it runs using powerShell as the local system
Add-AppxPackage -Path "C:\Dir1\Dir2\Dir3\Windows\App.UWP_2.0.27.0_x64.msixbundle" -DependencyPath "C:\Dir1\Dir2\Dir3\Windows\Dependencies\x64\Microsoft.NET.Native.Framework.2.2.appx", "C:\Dir1\Dir2\Dir3\Windows\Dependencies\x64\Microsoft.NET.Native.Runtime.2.2.appx", "C:\Dir1\Dir2\Dir3\Windows\Dependencies\x64\Microsoft.UI.Xaml.2.4.appx", "C:\Dir1\Dir2\Dir3\Windows\Dependencies\x64\Microsoft.VCLibs.x64.14.00.appx"
However when trying to run, I get the error:
When I change the service manually so that it runs using a local administrator user, the command runs without any error. I have a business need to run this command as a local system. Does anyone know how I can do this? Or, does anyone know how to explain to me WHAT is done in the process that requires an ADM user?
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.