Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Friday, July 29, 2016 7:54 AM
Hi everyone,
I've been trying to use the Task Scheduler to set up a back-up task.
When I run the task, the specified script runs to completion but the task still shows as "running" in Task Scheduler.
Initially I was trying to run a Robocopy command, but now I've changed the batch file so the contents are just as follows:
ECHO Hello world
EXIT
The task still shows as running in Task Scheduler.
Right now there is no antivirus software running that could lock file access to job files within C:\Windows\Tasks, although I don't seem to be able to find any log file showing problems (or no problems) in Task Scheduler itself.
The task is set to run with administrator privileges on my own account.
Would be great to hear any suggestions for what to look at next.
Many thanks,
V
All replies (2)
Monday, August 1, 2016 6:18 AM ✅Answered | 1 vote
Hi ,
Based on your description, the main issue is the task always showing as "running", right?
I found a similar case that might be helpful, please check it.
TASK SCHEDULER: scheduler status is being “RUNNING” always
https://social.technet.microsoft.com/Forums/windows/en-US/2f6dc29c-3b8b-45f5-a2a7-53e076acc062/task-scheduler-scheduler-status-is-being-running-always?forum=winservergen
Best regards
Please remember to mark the replies as an answers if they help and unmark them if they provide no help.
If you have feedback for TechNet Subscriber Support, contact [email protected].
Thursday, August 4, 2016 4:14 AM
Hi Rick,
Thank you for your reply and for the link, which was helpful.
I noticed after writing this post that the task shows as completed if it runs by itself, and only shows as "still running" if I run it manually from the Task Scheduler.
This is a little strange, but it isn't preventing me from using the scheduled task for its intended purpose, so I am happy to consider this issue closed.
Thank you again for your help and best regards,
Victoria