Quantcast
Viewing all articles
Browse latest Browse all 1056

How can I run a powershell as administrator over the software distribution

Hello together,

 

I want to update a registry entry over the software distribution, but it doesn't work with the actions task because the entry needs to be updated as administrator.

I tried to run the task under the LocalSystem account and also unter a local administrator account with a specified user. Both of them didn't work and didn't update the registry.

 

I copied the preview of the PowerShell-script(from the actions-package) and ran it manually on a computer with a powershell started as administrator.

The registry entry was now updated.

 

How can I run a powershell as administrator over the software distribution?

 

Thanks in advance

Dominik

Image may be NSFW.
Clik here to view.

Viewing all articles
Browse latest Browse all 1056

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>