Question : Task Scheduler Windows 2008 Server performs task but stays stuck on running. Will this affect the next time the task runs?

I run a batch file with the Task Scheduler. The problem seems to be that even when the batch has run and the task is completed. The task stays open showing a status

of "Running" does this affect the next time the task runs. It never shuts of and returns to a status of ready.
Should it. I would assume it would and can it be reset to show "Ready" when the task is complete.

When I hit refresh nothing happens. It sticks on "Running" no matter what I do? Any support is greatly appreciated. Thank you.

Answer : Task Scheduler Windows 2008 Server performs task but stays stuck on running. Will this affect the next time the task runs?

This is going to sound screwy, but try this for me: Give whatever account you use to run the Scheduled Task EXPLICIT FULL control at the NTFS level for the .BAT file.  If the BAT file writes any info, make sure that account has EXPLICIT FULL control of the file/folder being written.

For whatever reason, inheritance on bat files on Server 2008 is a little screwy ONLY when run as a scheduled task.

Justin
Random Solutions  
 
programming4us programming4us