Windows task scheduler broken.
Posted by aliesterrand@reddit | sysadmin | View on Reddit | 12 comments
Is anyone else seeing this? It seems like any task that was set to run, instead runs when a user logs in. I expected to see something on here, but haven't.
cheetah1cj@reddit
Was this scheduled task working previously? Have you tested making the same scheduled task locally? Have you checked all of the settings of the scheduled task on a computer that the GPO applied to (run when user logged on, check what the trigger is)?
aliesterrand@reddit (OP)
The scheduled task was shutdown /r
cheetah1cj@reddit
That did not answer any of my questions. Other than it sounds like it’s happening with just one scheduled task, which again sounds like the settings of the scheduled task are not configured for what you want it to do.
aliesterrand@reddit (OP)
This task has been used here for years without a problem. It's the most basic thing you can do. We don't really use scheduled tasks for anything else. In my thinking, that can only point to the task scheduler being broken. As someone else here pointed out, MS deprecated the "stored credentials" setting, it is using system credentials.
e_t_@reddit
There's a checkbox to run the task whether the user is logged in or not. Did you check that box?
aliesterrand@reddit (OP)
I'll have to check, this was a GPO, so I think not.
aliesterrand@reddit (OP)
This is weird. Apparently, the setting is S4U which allows the GPO to run as system, but according to GROK, has been buggy due to recent updates.
ThenFudge4657@reddit
grok
aliesterrand@reddit (OP)
I haven't been able to find another source, do you have a better one?
JagFel@reddit
These are set via GPO? That would explain it.
MS wont let you set scheduled tasks via GPO to run when a users it not logged in; security measure as GPO is unable to securely store account credentials.
jessikaf@reddit
sounds like it's ignoring triggers and defaulting to logon, check if a recent update or GPO quietly reset the task conditions.
Fantastic-Shirt6037@reddit
Interesting, is this why my task, scheduled for 8am every day, doesn’t seem to run until after I login?