Link to home
Start Free TrialLog in
Avatar of indyng
indyng

asked on

How to eliminate password required for scheduled tasks

I have several scheduled tasks that run nightly through the windows task scheduler.  All the tasks work fine except for when I change my windows login password, which I think I have to change every 60 to 90 days.  Is there a way to not have the password as a requirement?

Thanks
Avatar of LeeTutor
LeeTutor
Flag of United States of America image

No, the Task Scheduler requires the user account associated with it to have a non-blank password.  See this MS article:

http://support.microsoft.com/default.aspx?scid=kb;en-us;310715
Scheduled Tasks Cannot Run with a Blank Password
However, I believe you can use the SCHTASKS command to create a task without a password.  Note that on this page detailing the syntax of the command, password is optional (enclosed by [  ] brackets):

http://www.ss64.com/nt/schtasks.html
Another possibility is to put a strong password on the Administrator account and don't change it. Then schedule the task with admin creditentials and it should survive a user password change. ... Thinkpads_User
Avatar of indyng
indyng

ASKER

thinkpads_user:

Currently I do not have admin rights. So if I was granted admin rights and the scheduled tasks are created under my account then the change of my windows xp password would not matter?

Thanks
ASKER CERTIFIED SOLUTION
Avatar of John
John
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial