Scripting Question

cannot run exe along psexec.exe

04/18/2016 1696 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: VBScab
Red Belt