I dropped back to the most basic command I could think to execute: "dir", in a job that's not scheduled, just run at-will.
[UPDATE] I had to wrap the dir command into a batch file, dir.bat, so that answers one question: NO, you can't run os commands directly.
Running as system with interactive desktop does not work in my install. So it's local admin for now.
I managed to get VC to run my dir.bat, but ONLY if the server is running as local admin, and only if the execute task is not trying to use any credentials.
When I try to use user credentials, then I get the -1073741502 exit code again, which is something I really need to resolve as many of my tasks rely on trusted connections to databases etc.
-LS
Edited by user
2019-06-23T01:06:27Z
|
Reason: Updated with results of latest thrashing/testing/troubleshooting.