Scripting Question

cannot run exe along psexec.exe

04/18/2016 2167 views

i am trying to run my exe through psexec.exe as my exe does not run in system account. i am using the command "sExec.exe -accepteula -u dir.YYZ.com\abc -p 41hhk "C:\test.exe".
i get error the requested operation requires elevation. 
If i use --s -f parameters, my exe does not launch. i can see psexec n task manager, but fails. any help would be much appreciated
0 Comments   [ + ] Show comments


All Answers


Is your solution to the EXE not running under the System account to run it using PSExec so that you can pass alternative credentials? If so, why not simply use the 'RunAs' command?

If you're trying to run the EXE on a remote machine, you need to specify its name on the command line.

>my exe does not run in system account
Really? It must be pretty unique, then!

Answered 04/18/2016 by: anonymous_9363
Red Belt

This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ