Should a scheduled task remain in the "Running" state?

8

1

I'm new to using the task scheduler and I'm using it to run a batch file provided online when the computer boots. I r-clicked it and told it to run. It did and all is fine, but the Status of the task is still "Running." I just want to make sure that's okay. Or since it's already done its job, should it end in some way?

The batch file mounts a network drive such that it can be used at the system level.

net use x: \\tplinklogin.net\volume2 /persistent:yes

NSouth

Posted 2014-07-20T16:11:33.167

Reputation: 203

Answers

12

The Task Scheduler window doesn't automatically refresh, which could lead you to believe it's still running. Clicking the Refresh link on the right side panel should hopefully show it change.

Graham Wager

Posted 2014-07-20T16:11:33.167

Reputation: 10 589

4F5 also refreshes it. Very short sighted of Microsoft to not automatically refresh it. – Brain2000 – 2017-02-07T16:50:58.410

0

I had the same problem - the task worked but the status kept showing Running. One simple thing to try is click on the Task Scheduler Library in the left column. Click Action/Refresh. Presto. Status changed to Ready. That's all it was for me, the task ran fine, just the status didn't update. Hope this helps.

Trevor7788

Posted 2014-07-20T16:11:33.167

Reputation: 1

Im having this issue. The task succeed, but the status remains "Running" no matter if i refresh or not. – bitshift – 2017-02-17T20:02:58.750

On digging in a bit again, I found the issue. I was pointing to a script in a different folder than I thought. The actual script being used had a line of code using Read-Host -Prompt "Press Enter to exit" which will put the script in interactive mode. – bitshift – 2017-02-17T20:51:27.613