The scheduled task runs despite its only trigger being disabled

TomK 0 Reputation points

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,162 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Karlie Weng 9,891 Reputation points Microsoft Vendor


    • 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



    0 comments No comments