Password for task scheduler in windows

Edbarrag 1 Reputation point
2021-09-30T16:53:24.787+00:00

Hello, I have updated my domain user password and I have not performed update actions on a scheduled task that runs under my user and yet the task runs.
In this post they make the same observation:

https://social.technet.microsoft.com/Forums/en-US/6b32e531-4900-4742-b652-0d05fd4668a4/do-we-still-need-to-update-password-for-task-scheduler-in-windows?forum=ws2016

I would like to know at what time the scheduled task will fail or detect that change, or if it is not really necessary to perform the update in said task.

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,383 questions
Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
6,731 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Jai Verma 461 Reputation points
    2021-09-30T18:08:25.953+00:00

    Here is my understanding

    if your task connect to few resources(computer/other services) and it has service ticket for those services, it should run till the service tickets are valid(10 hours by default). But once it will go to get a TGT from DC, the job should fail.

    0 comments No comments

  2. Limitless Technology 39,726 Reputation points
    2021-10-01T09:46:02.93+00:00

    Hello @Edbarrag ,

    This is normal, since most of schedule task type will use a Kerberos ticket to authenticate, meaning that it may still have a valid ticket with the old authentication.

    You will need eventually to update the credentials on the task.

    If this is a local task, I would suggest to run a NT AUTHORITY\SYSTEM to prevent this issue in the future.

    Hope this helps with your query,

    -----------------------------------------------------------------------------------------------------------------------

    --If the reply is helpful, please Upvote and Accept as answer--

    0 comments No comments

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.