Solved

How to eliminate password required for scheduled tasks

Posted on 2009-04-07
5
256 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 95

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 95

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

cPanel is a Unix based web hosting control panel that provides a graphical interface and automation tools designed to simplify the process of hosting a web site. cPanel utilizes a 3 tier structure that provides functionality for administrators, rese…
We have adopted the strategy to use Computers in Student Labs as the bulletin boards. The same target can be achieved by using a Login Notice feature in Group policy but it’s not as attractive as graphical wallpapers with message which grabs the att…
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…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

739 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