troubleshooting Question

.bat job works when run, but not when put in Task Scheduler

Avatar of 25112
25112 asked on
Windows OSWindows BatchMicrosoft Legacy OSMicrosoft Server OSWindows Server 2008
7 Comments6 Solutions695 ViewsLast Modified:
I scheduled the task with reference to run the batch file at a specific time daily.

in task scheduler, it says it ran the job (daily run) successfully.. (Last Run Result: 0xFFFD0000)
but when I check results, I know/see that the job did not execute as it should have.. but if I run it manually, then it works effectively (results proving).

The task is referencing the path of the batch file accurately.

The job is scheduled based on domain account.
[Run whether user is logged on or not]
the password is active and [Do not store password] option is not checked..

what could be missing that the job won't run when scheduled (it says it ran fine, but results do not prove it did effectively- what the script was supposed to do- behind the batch file)..

where and what to check?
ASKER CERTIFIED SOLUTION
FireflyIT

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 6 Answers and 7 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 6 Answers and 7 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros