The scheduled task runs despite its only trigger being disabled

TomK 5 Reputation points
2023-11-17T10:20:50.2033333+00:00

I wanted to test starting a scheduled task manually from PowerShell, so I disabled its trigger which was set to run the task every 15 minutes. To my surprise, the task still ran every 15 minutes despite the disabled trigger. Is this the expected behavior on Windows Server 2019? If so, what is the purpose of the Enable/Disable trigger checkbox? Thank you.

Windows Server 2019
Windows Server 2019
A Microsoft server operating system that supports enterprise-level management updated to data storage.
3,704 questions
0 comments No comments
{count} vote

1 answer

Sort by: Most helpful
  1. Karlie Weng 18,031 Reputation points Microsoft Vendor
    2023-12-05T07:14:07.68+00:00

    Hello,

    • What happens if you remove the trigger? Will the scheduled task still execute?
    • Take a look at the "Conditions" and "Settings" tabs—do any particular configurations within these tabs potentially lead to the task running unexpectedly?
    • Can the task history offer any insights into how the task behaves? User's image

    Regards,

    Karlie


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.