Solved

How to eliminate password required for scheduled tasks

Posted on 2009-04-07
5
253 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 92

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 92

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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

There are 2 things you must have in order to connect to the internet behind a router, The "Gateway IP" of the router, which is usually something like 192.168.xxx.1, I've seen routers with default values of: 192.168.0.1, 192.168.1.1, 192.168.11.1, …
Can you find a fax from a vendor you saved a decade ago in seconds? Have you ever cursed your PC under your breath during an audit because you couldn’t find the requested statement or driver history?  If you answered no to the first question or yes …
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

911 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now