PC Review


Reply
Thread Tools Rate Thread

Automate Task scheduler password change

 
 
Desmond Lim
Guest
Posts: n/a
 
      22nd Sep 2004
Hi all,

Every few months I have to change the passwords using the Set Password
button at the Run as field of each jobs in my task scheduler.

Does anyone knows how to automate this boring task if I have about 6 Windows
servers to change?

Thanks
ld



 
Reply With Quote
 
 
 
 
tlviewer
Guest
Posts: n/a
 
      22nd Sep 2004

"Desmond Lim" <(E-Mail Removed)> wrote in message news:cis083$hpn$(E-Mail Removed)...
> Hi all,
>
> Every few months I have to change the passwords using the Set Password
> button at the Run as field of each jobs in my task scheduler.
>
> Does anyone knows how to automate this boring task if I have about 6 Windows
> servers to change?
>
> Thanks
> ld


Use VBScript via WSH!
http://groups.google.com/groups?q=script+mstask

Find me via Instant Messenger if you need some
customization of your script. It should be
a small script -- less than 30 lines.

I recently helped out with a major Int. Corporation
in San Francisco to change the pwd in 600 jobs via script.
The running time of the script was 3 minutes. Interacting
with the RunAs feature of Mstask via script is expected
to be slow, since the usernames are validated each time
the AccountInfo is set.

hth,
tlviewer
---------
AIM:YahooIM:tlviewer



 
Reply With Quote
 
tlviewer
Guest
Posts: n/a
 
      24th Sep 2004

"Desmond Lim" <(E-Mail Removed)> wrote in message news:cis083$hpn$(E-Mail Removed)...
> Hi all,
>
> Every few months I have to change the passwords using the Set Password
> button at the Run as field of each jobs in my task scheduler.
>
> Does anyone knows how to automate this boring task if I have about 6 Windows
> servers to change?
>
> Thanks
> ld


You may not need to automate this after all.
If you pay attention to the way Mstask swallows
the password, you will notice that it only stores
one password for every different UserName. It seems that,
but I have no way to be 100% sure, the password is stored
in the system SAM, keyed by UserName.

Since the passwords are classed by UserName, you only
have to change the password once for each different
UserName. If you have 200 jobs, but only 5 different users,
then you only have to change 5 jobs.

The bad news here is that you can't see the Job's UserName
from the GUI, only the creator. If would be a good idea
to change the Job's creator to its UserName, for
all Job's -- that can and should be automated. Also
filtering by UserName can be automated.

hth,
tlviewer
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Task Scheduler password PSRumbagh Windows XP General 2 20th May 2008 07:43 PM
Task Scheduler: tasks fail to run after several days or weeks. Have to reenter task's password! Mike Reed Windows XP Security 0 5th Feb 2004 03:41 PM
Password vs task scheduler Russ Windows XP Security 1 17th Dec 2003 02:04 PM
Re: is it possable to automate task scheduler Peter Hutchison Windows XP Hardware 0 24th Sep 2003 08:06 PM
task scheduler password - using run as nigel lock Windows XP Security 0 11th Sep 2003 12:45 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:22 AM.