Password Change on Scheduled Tasks

L

Luke Bailey

Hello,

I have a PC that runs scheduled tasks every night - about 40-50 different
tasks are setup on this PC. Once a month I am forced to change my Windows
Password, which dictates that I changes the password on ALL scheduled tasks.
With this number of tasks, it's kind of a lengthy process. Does anyone know
of a workaround? Is that someway to automatically change all passwords or a
script that can do this? I found an earlier posting on a registry change but
I hate to change the registry without knowing exactly what I am changing.
 
P

Pegasus \(MVP\)

Luke Bailey said:
Hello,

I have a PC that runs scheduled tasks every night - about 40-50 different
tasks are setup on this PC. Once a month I am forced to change my Windows
Password, which dictates that I changes the password on ALL scheduled
tasks.
With this number of tasks, it's kind of a lengthy process. Does anyone
know
of a workaround? Is that someway to automatically change all passwords or
a
script that can do this? I found an earlier posting on a registry change
but
I hate to change the registry without knowing exactly what I am changing.

Scheduled Tasks should run under their own dedicated account,
not under your own account. If you set a very strong password
for this account then you can afford for it to remain the same.
 
L

Luke Bailey

I guess I am not following how to do that. The scheduled tasks are setup on
a desktop PC. How would you run them "under their own account"? Currently
when I change my Windows (LAN password - in corporate environment), my
scheduled tasks have to be changed.
 
P

Pegasus \(MVP\)

Every PC has at least one but often several local accounts that
are independent of the domain. If you're in a domain environment
then you need to discuss the question of local accounts and
scheduled tasks with your domain admins.
 
L

Luke Bailey

I can logon to the computer with a local account, but then I am not mapped to
our network drives (which the scheduled tasks need access to for the
processes they are running). I guess I am looking more for a way to script
the changes as I need to be logged onto the computer with my own ID. Some of
the tasks need access to my personal drive on the network folder as well.
 
P

Pegasus \(MVP\)

When you're logged on locally then you can still access
your personal drive but it's ugly because it's a security
risk. You can place this line of code into your scheduled
batch files:
net use Q: \\YourServer\MyShare /user:domain\LBaily MyPassword

As I mentioned before, this is something you should discuss
with your network administrator.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top