Change password in Task Scheduler in script

Posted by titanium on Stack Overflow See other posts from Stack Overflow or by titanium
Published on 2009-06-03T19:35:50Z Indexed on 2010/04/05 15:03 UTC
Read the original article Hit count: 236

Filed under:

I'm changing password every month for all scheduled tasks I created in Task Scheduler. This is because our security policy expires our password every month.

Due to increasing number of scheduled tasks I'm creating, it eats up a lot of time in just changing password within Task Scheduler.

My question is: Is there a way in script to change password in one run specifying the tasks, DOMAIN\username, and password?

I know there's a security risk in putting the password in script. The password in script will be removed after the running it.

© Stack Overflow or respective owner

Related posts about script