Solved

How to eliminate password required for scheduled tasks

Posted on 2009-04-07
5
252 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 90

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 90

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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Can I legally transfer my OEM version of Windows to another PC?  (AKA - Can I put a new systemboard in my OEM PC?) Few of us are both IT and legal experts but we all have our own views of Microsoft's licensing rules and how they apply.  There are…
Are you unable to synchronize your OST (Offline Storage Table) file with Microsoft Exchange Server? Is your OST file exceeding 2 GB size limit? In Microsoft Outlook 2002 and earlier versions, there is a 2 GB size limit for the OST file. If the file …
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

705 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

20 Experts available now in Live!

Get 1:1 Help Now