Solved

Windows Server task scheduler failed to work after some times ?

Posted on 2011-03-14
10
237 Views
Last Modified: 2012-05-11
Hi All,

What else that I need to check if I have failed scheduled task (running using local admin account with password) ?

but when I restart the server it will work again after sometimes.

Any help would be greatly appreciated.

Thanks.
0
Comment
Question by:jjoz
  • 5
  • 4
10 Comments
 
LVL 6

Expert Comment

by:Tonypeswani
ID: 35127532
follow http://support.microsoft.com/kb/162797 and let us know about the outcome

0
 
LVL 1

Author Comment

by:jjoz
ID: 35127562
? what's that got to do with the Scheduled task ?
the local account with local admin rights is being used now.
0
 
LVL 9

Expert Comment

by:Chev_PCN
ID: 35128097
What is the exit code for the task?
What is your OS?
0
Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
LVL 1

Author Comment

by:jjoz
ID: 35236620
What is the exit code for the task? --? where to look at that ?

schtasks /query doesn't give me any error message at all.

I'm using Windows Server 2003
0
 
LVL 9

Expert Comment

by:Chev_PCN
ID: 35240439
In the Task scheduler - each item will have it's own line and the exit code will be on of the columns.
0
 
LVL 1

Author Comment

by:jjoz
ID: 35265736
yes, the result is 0x0 does that means it worked ?
what's the guideline in setting the credentials to allow execute the task scheduler to run without user logging in
0
 
LVL 9

Accepted Solution

by:
Chev_PCN earned 500 total points
ID: 35273124
You are corect - 0x0 is the "Success" exit code.
At the bottom of the task scheduler window there are security options.
Set the task to "run whether user is logged on or not".
TaskSched
0
 
LVL 1

Author Comment

by:jjoz
ID: 35302995
but somehow after the server restart the failed scheduled task is working again.
0
 
LVL 9

Expert Comment

by:Chev_PCN
ID: 35312023
In this case it's probably not the scheduler at fault, but something within the script / file being executed.
0
 
LVL 1

Author Closing Comment

by:jjoz
ID: 35363528
thanks man !
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
This article explains how to install and use the NTBackup utility that comes with Windows Server.
This tutorial will show how to push an installation of Backup Exec to an additional server in both 2012 and 2014 versions of the software. Click on the Backup Exec button in the upper left corner. From here, select Installation and Licensing, then I…
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…

777 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