I have a .bat that copies a set of files from one server to another. The batch file runs perfectly when executed manually, but fails when set up as a scheduled task.
The scheduled task is set to run as a domain service account that is a member of Local Administrators on both servers. The batch file completes when executed manually by the same user.
When the Scheduled Task is run by the domain account it begins to run but errors with "Finished 2/1/2008 9:35:50 AM Result: The task completed with an exit code of (53)."
The service account has the ability to logon as a batch job, and has explicit permissions to cmd.exe.
What am I missing?