JoeClark replied

414 weeks ago

i have a windows scheduled task in windows 2003. I am getting an error "The task completed with an exit code of (1)". However if i cexecute the same steps specified in the batch file in command prompt the steps were executed successfully. I don't understand why the same steps are failed when I execute the batch file using task scheduler.

This task runs using windows id "NT AUTHORITY\SYSTEM".

appreciate your help!


Thank You!!!

I didn't find the right solution from the Internet.
References
https://social.technet.microsoft.com/Forums/en-US/4919181c-6b5a-4c75-ab56-0ace3d987837/getting-error-in-task-scheduler-0x1?forum=ITCG
whiteboard explainer
Please log in to post a reply.