Ask the Expert

Task Scheduler will not run unless I change my password

I use Task Scheduler to back up documents from a workstation to a file server daily. The setup requires the use of password to run. However, every time I change my log in password because of policy, the Task Scheduler will not run unless I also change the password. This is annoying if I do this to every Win2K computer that backs-up daily. Win XP task scheduler has an option to run only when logged on. Is there similar option in Windows 2000? If none, is there any work-around so that I will no longer have to change the password in Task Scheduler to make it run?

    Requires Free Membership to View

This is a problem I've actually wrestled with myself on the server end. If you have a service that runs under the auspices of the administrator account and you change that account's password, the service will not start correctly unless you update the stored copy of the password for that service. I found this out the hard way when I discovered that tasks scheduled to run through SQL Server Agent weren't running after I changed the administrator password (since they were running under that account and not the SQL Server "sa" account, which hadn't changed).

One possible way to get around this is to have a separate account created on that system specifically for running scheduled tasks, one which doesn't require its password to be reset as aggressively but which has the needed permissions to get everything done. (The Task Scheduler has built-in provisions for running a task with different user credentials.) This is the approach I used. If you use a fairly cryptic username and password, it should not be susceptible to attack (if that's a concern).

Additional Expert Help:
Be sure to check our Answer FAQ for more expert advice.
For faster answers, visit ITKnowledge Exchange.

This was first published in November 2004

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: