Task scheduler credential

Gracjan Podłęcki 21 Reputation points
2021-03-15T07:33:25.417+00:00

As a domain admin in windows 2012R2 every time when i change my password already created task in scheduler stop working. I have to open properties of such task click ok next windows with credentials shows off and i enter new password and click ok. It looks like scheduler does not check AD changes. Such behaviour cause real confusion
Have you encountered anything like this?
Regards

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,127 questions
0 comments No comments
{count} votes

Accepted answer
  1. Dave Patrick 426.1K Reputation points MVP
    2021-03-15T13:23:49.737+00:00

    Yes, this is normal and expected behavior. Better option may be to use a managed service account for the tasks.

    --please don't forget to Accept as answer if the reply is helpful--

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Karlie Weng 14,106 Reputation points Microsoft Vendor
    2021-03-16T02:40:52.85+00:00

    Hello @Gracjan Podłęcki

    Click the "Change user or Group" button and retype your service account name and click Ok.
    Then click Ok on the task properties and you should be prompted to enter the service account's password.

    Note that you have to choose "Run whether user is logged on or not" in the Security Options section right in order to set the password. Otherwise it'll use the authentication token of the logged in user at the time the event fires.

    77958-image.png

    Best Regards
    Karlie

    ----------

    If the Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.
    0 comments No comments