Solved

How to eliminate password required for scheduled tasks

Posted on 2009-04-07
5
255 Views
Last Modified: 2012-05-06
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
0
Comment
Question by:indyng
  • 2
  • 2
5 Comments
 
LVL 59

Expert Comment

by:LeeTutor
ID: 24086825
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
0
 
LVL 59

Expert Comment

by:LeeTutor
ID: 24086863
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
0
 
LVL 94

Expert Comment

by:John Hurst
ID: 24086916
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
0
 
LVL 1

Author Comment

by:indyng
ID: 24086963
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
0
 
LVL 94

Accepted Solution

by:
John Hurst earned 500 total points
ID: 24086997
Even if your userid has admin rights, you will have to change the task whenever you change the password. So you have two options as I see it: (1) get your adminstrator to schedule the tasks in your userid but with the administrator credentials; or (2) live with the current situation.
... Thinkpads_User
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Disclosure: Use this tutorial only when no other options helps to get Windows XP running without any problems and you don't want to format the drive. The back up of the data is the responsible of the user, however there is a description of how t…
If your system is showing symptoms of browser hijacks or 'google search redirects' check out my other article (http://rdsrc.us/u3GP7A) first and run the tool TDSSKiller (http://rdsrc.us/GDBBs4) to get rid of the infection. Once done, and if the …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question