Creating a Task Scheduler from GPO

This is working for me.

Action Update TaskName NextDNS Run "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" Arguments https://link-ip.nextdns.io/someapicodes Scheduled task runs at a specified time Enabled Schedule1. At 5:00 AM every day. This task starts on 8/11/2022 Settings Delete the task if it is not scheduled to run again No Stop the task if the computer ceases to be idle No Do not start the task if the computer is running on batteries Enabled Stop the task if battery mode begins Enabled Wake the computer to run this task Disabled

Common hideOptions Stop processing items on this extension if an error occurs on this item No Remove this item when it is no longer applied No Apply once and do not reapply No

/r/activedirectory Thread