question

GracjanPodcki-1193 avatar image
0 Votes"
GracjanPodcki-1193 asked ·

Task scheduler credential

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
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

DSPatrick avatar image
0 Votes"
DSPatrick answered ·

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--




·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

KarlieWeng-MSFT avatar image
1 Vote"
KarlieWeng-MSFT answered ·

Hello @GracjanPodcki-1193

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.


image.png (18.4 KiB)
·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.