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   [ - ] Hide Comments


Please log in to comment

Answer this question or Comment on this question for clarity



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: VBScab
Red Belt

Please log in to comment