Hi there, I am trying to create an immediate scheduled job, in the logged in user context, to launch a batch file to install an application silently, using the /s switch in paexec.

Having failed to get a simple paexec.exe /s filename.exe to run in the netlogon share, I have copied the two files (paexec.exe and the installer exe) into %temp% on the local machine to run it from there, but it still tries to copy paexec into c:windows and fails with access denied, then bombs out, even though it's already in c:usersnameappdatalocaltemp.

I have tried to run it without the -s switch and it fails because of lack of elevation, which is fine, but I want it to not try to copy paexec.exe to C:windows with the -s switch. How can I have a non-elevated user run the executable as System? How can i either stop it trying to copy paexec.exe, which it doesn't need to do, or copy it to a folder a non-privileged user can access?

Many thanks Jon

asked 02 Aug '18, 09:42

Jon's gravatar image

accept rate: 0%

Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 02 Aug '18, 09:42

Seen: 14,954 times

Last updated: 02 Aug '18, 09:42