Windows 11 22H2 upgrade breaks "Run whether user is logged on or not" scheduled tasks

Anonymous
2022-10-09T09:00:28+00:00

I have a number of scheduled tasks with the "Run whether user is logged on or not" option set, with the default setting of storing the password for the account.

Everything was running fine, until the 22H2 update.

Now such tasks won't start, yielding

"Task Scheduler failed to start "xxx" task for user "yyy". Additional Data: Error Value: 2147943726.

Re-entering the password for the (local) user account does not help.

If I check the "Do not store password" option the task can start, but this prevents the task from accessing network resources.

Repro'ed on two machines, so doesn't feel like a configuration issue.

Any clue?

Windows for home | Windows 11 | Accounts, profiles, and login

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

63 answers

Sort by: Oldest
  1. Anonymous
    2023-04-26T19:44:07+00:00

    I followed the advice of DesktopECHO March 7th regarding my Robocopy script. I changed the task to configure for windows 10 and replaced \copyall with copy: DATSO in my batch files.

    I also would refer to Scott_uu post March 7th regarding a fresh install of W11 22H2. I reformatted and reloaded the workstations that were giving me trouble to W11 22H2 instead of an upgrade from windows 10 to windows 11. All the problems are resolved at this time. I really had no feedback at all from Microsoft. And I want to thank everyone for digging into this, very helpful information.

    I think windows 11 23H2 will be out in October this year. Hopefully this does not blow up my Robocopy scripts all over again.

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2023-05-08T22:22:02+00:00

    @Chandy can we get an update from your team? Is there someone working on this? It has been going on since 2022.... if you have a beta or something we can test that would be great. Who do we need to pull in here?

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2023-05-23T19:22:25+00:00

    I can confirm the same,. Just tested this:

    22H2 -> Upgrade from 21H2, user profile is present before upgrading to 22H2 -> TASK FAILED

    22H2 -> Upgrade from 21H2, new user profile created after upgrade and new task created -> Scheduled Task OK!

    Any update on the fix?

    Ivan

    Was this answer helpful?

    2 people found this answer helpful.
    0 comments No comments