Questions tagged [task-scheduler]
319 questions
4
votes
1 answer
Why does Task Scheduler NOT re-run successfully completed tasks
I am using Task Scheduler on Windows 2008 x64. I have 3 tasks, running every night on different times without overlapping. It works for some days - usually 2-3 up to 10 (it's really random), then it stops running the tasks. When I look at the…
Teo
4
votes
1 answer
Tasks Scheduler Windows High Availability
What is the best way to put in place «tasks scheduler» with high availability under Windows?
Currently, the tasks are planned on a single server, which is a problem when the server reboot (for many reasons)
Is there a Cluster system to resolve…

Julien MERICE
- 43
- 3
4
votes
1 answer
Windows 10 run an interactive scheduled task to run for any interactive user
I want to setup a windows 10 task scheduler to run a GUI based tasked interactively for any logged on user. Right now we have to explicitly specify the user name, so the task can only be run for this specific user. This scheduled task will be…

user562888
- 43
- 1
- 1
- 3
3
votes
0 answers
Defining multiple triggers for my Task Scheduler will only work on the first trigger
I have "Windows server 2008 R2 standard" with SP1. and inside my windows Task Scheduler, i define the following 2 triggers:-
now as the picture is mentioning, i want to run the task on different times (3:00 am & 4:30 am) based on the Day. but…

test test
- 1
- 12
3
votes
1 answer
Execute a Windows task triggered by registry changes
I'm looking for a possibility to execute a script in case a particular registry key is going to be created or modified. In the Windows Taks Scheduler there is a way to execute scripts triggered by system/application events. But I could not find one…

eglobetrotter
- 131
- 1
- 3
3
votes
0 answers
Windows Task Scheduler job not starting but runs on manual start
Windows Server Version : 2016
Problem Description :
This is indeed a weird problem I am facing. I have a .bat file that I have scheduled to run every 15 min but it does not start on its own at the scheduled time if I disable and re-enable it. But…

Drake
- 31
- 1
- 2
3
votes
1 answer
Create multiple triggers in scheduled task
Server 2012
I have an existing scheduled task that I would like to add multiple triggers to.
I do this:
$trigger = New-ScheduledTaskTrigger -At 1PM -Once
Set-ScheduledTask -TaskName "Task Name" -Trigger $trigger
It will overwrite the trigger that…

spex5
- 133
- 1
- 1
- 7
3
votes
0 answers
Do I need to disable TIWorker.exe and respective TaskSheduler task in Windows Server 2016
We had previously been disabling the following tasks in our AWS instances to keep our load balancer from killing them when these tasks tried to run. TIWORKER.exe was the large colpurt for our 2012R2 servers. After taking a look at the the…

telaCode
- 31
- 3
3
votes
1 answer
Windows Task Scheduler deletes batch file upon running it
I have an odd problem that has started happening with Task Scheduler on Windows Server 2012 R2.
A bunch of scheduled tasks all have this same problem. I checked on it a few weeks ago and it was fine, but now it has started happening on several…

Jez
- 1,393
- 2
- 12
- 24
3
votes
1 answer
Task Scheduler "On disconnect from user session" trigger not working
Using Win Server 2012 R2 test machine (not in domain) I was able to get it triggering with the setup:
General:
When running the task, use the following user account: built in admin account
Run whether user is logged on or not: checked (do not…

K6R
- 41
- 1
- 5
3
votes
0 answers
Running scheduled tasks under domain and local accounts
In my Active Directory environment (DC runs Windows Server 2003 R2 SP2), there is a Windows Server 2008 R2 SP1 client. On this client, there are scheduled tasks that are running under the local admin account. I want to add a task that will be…

GCRaistlin
- 106
- 8
3
votes
1 answer
Windows Server 2008 scheduled task only works with "Run only when user is logged on"
I have a scheduled task that is set to run an R script by launching Rscript.exe and the file of interest.
This task completes successfully when I run it with the option
"Run only when user is logged on".
I need to schedule the task to run without…

Hack-R
- 295
- 3
- 12
3
votes
3 answers
Scheduling a Task to Run Indefinitely
I suppose what I want is closer to a service, but I'd like to know if I could just accomplish this with a scheduled task.
I can create a task with these parameters:
$trigger = New-ScheduledTaskTrigger -Once -At 7am -RepetitionInterval (New-TimeSpan…

red888
- 4,183
- 18
- 64
- 111
3
votes
2 answers
windows scheduled task is killed (timed out) too soon
I have a scheduled task that is configured to be killed 23 hours after starting. When I export the task to XML I can verify this setting because I see the line:
PT23H
However, the task is actually being…

Dan Tenenbaum
- 193
- 1
- 2
- 10
3
votes
1 answer
Scheduled Task Doesn't Run on Schedule
On a Windows Server 2012 R2 server, I have created a scheduled task with a trigger defined as daily, repeat every five minutes. (I have multiple other tasks configured like this that I have no problem with).
The task itself works perfectly; if I…

Matt
- 1,893
- 5
- 28
- 40