Mark:

Jen's ScheduleTask UDF would not be as appropriate for this task, unless you just wanted to re-define the entire task to change the credentials, and you knew where it belonged...

My tcLib udf - an updated version of tsControl - has the ability to push tasks to remote systems, read task status and configuration data - AND - simply change the credentials of remote tasks.

I have a script that I use when we change a password used by scheduled tasks. It reads a list of server names from a file (direct enumeration won't work in our environment) and, for each server, gets the list of scheduled events. For each event, it obtains the task details and checks the account name. If the account matches the one that was changed, the credentials are updated for that task.

I can process our environment - 140+ servers at five sites in about 15 minutes.

Start HERE and follow the link to the actual code posting(s).

Feel free to email me if you have questions.

Glenn
_________________________
Actually I am a Rocket Scientist! \:D