Windows Task Scheduler: Scheduled Job Fails with Launch Failure Error (2147943726) When 'Do Not Store Password' is Checked.

Sagar Salunke 0 Reputation points
2025-07-03T10:57:50.9166667+00:00

I am registering task in Windows Task Scheduler with settings "Run whether user is logged on or not" and "Do not store password. The task will only have access to local computer resources." enabled.

When task triggers it is failing and in history of task I am seeing error "Launch Failure".

In event viewer, I am seeing error as below -

Task Scheduler failed to log on "\1_TEST_Task" . Failure occurred in "LogonUserS4U" . User Action: Ensure the credentials for the task are correctly specified. Additional Data: Error Value: 2147943726.

Task Scheduler failed to start "\1_TEST_Task" task for user "************". Additional Data: Error Value: 2147943726.

1_TEST_Task - This is my task name.

When I uncheck "Do not store password. The task will only have access to local computer resources." , task triggers successfully and not having any issues.

I have verified below things -

  1. That the domain account used while registering task is having correct username and password.
  2. Domain account is present under Log On as a Batch Job Policy and not present in any of deny policies.
  3. Domain account is not Sensitive.
  4. Also, this task is not accessing any remote/network resources.

Can somebody please help me to pinpoint potential causes of this issue as I want "Do not store password. The task will only have access to local computer resources." enabled ?

This was working fine earlier and now I am using new service account with different domain to register task in windows task scheduler.

Task_Failure_Error

Windows for business | Windows Client for IT Pros | User experience | Other
{count} votes

1 answer

Sort by: Most helpful
  1. Harry Vo (WICLOUD CORPORATION) 80 Reputation points Microsoft External Staff
    2025-07-04T03:22:00.35+00:00

    Hi @Sagar Salunke ,
    The error you're encountering (2147943726 / 0x8007052E – ERROR_LOGON_FAILURE) happens because you're using a domain account with the "Do not store password" option enabled.

    This option uses a special logon method called S4U (Service-for-User), which only works with local accounts. It doesn't support standard domain accounts, even if the task doesn't access network resources.

    In order to solve this problem, you must register the task using a local user account (i.e., a user created on the local machine), if you really want to use the "Do not store password" option. This is a Windows limitation by design.
    Let me know if you have any questions!


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.