cannot run exe along psexec.exe
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
Please log in to answer
Posted by: anonymous_9363 6 years ago
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!