7

Synopsis
I have a scheduled task that runs a program with highest privileges every 4 hours. On Windows 10 version 1803 (build 17134.81), any update to this task causes it to be triggered as soon as the task is saved. The task is triggered even if the update is to disable the trigger! Disabling the 'run every x hours' clause seems to be the only way to get around this issue. However, saving the same task on Windows 7 (SP1) does not trigger it.

Details
Updating a task logs event #140 (task registration updated) in the task history. At the same instant, event #107 (task triggered on scheduler) is logged and the task starts up:
Link to event history screenshot
The 'run task as soon as possible after a scheduled start is missed' option on the Settings tab does not have any effect on this behavior.

Has anyone else come across this issue? Please suggest a reasonable workaround that does not cause the task to be triggered as soon as it is saved.

0
6

Prevent a Task Scheduler Task from Executing on Setting Updates

Set the Edit Trigger to run at an interval of One Time and then in Advanced settings section, select Repeat task every 4 hour with for a duration of indefinitely but be sure the Start time up top is the time which you want this task to first be run.

enter image description here

Note: A key point here is to be sure the Start time is the exact time you want the process to run the first time but of a prior date and then it'll run first starting only at that time.

Furthermore, from the Settings tab you might also uncheck the Run task as soon as possible after a scheduled start is missed as this can cause this problem as well.

enter image description here

2
  • 1
    Now I understand your handle Pimp Juice IT........you got the Juice! – Moab Jun 12 '18 at 18:33
  • 1
    That and Moab Utah! Been there twice and would love to live there if I could afford land. Nice answer, your a BadA** my friend. – Moab Jun 12 '18 at 19:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.