Solved

Windows Server task scheduler failed to work after some times ?

Posted on 2011-03-14
10
235 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
Comment Utility
follow http://support.microsoft.com/kb/162797 and let us know about the outcome

0
 
LVL 1

Author Comment

by:jjoz
Comment Utility
? 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
Comment Utility
What is the exit code for the task?
What is your OS?
0
 
LVL 1

Author Comment

by:jjoz
Comment Utility
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
Comment Utility
In the Task scheduler - each item will have it's own line and the exit code will be on of the columns.
0
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 
LVL 1

Author Comment

by:jjoz
Comment Utility
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
Comment Utility
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
Comment Utility
but somehow after the server restart the failed scheduled task is working again.
0
 
LVL 9

Expert Comment

by:Chev_PCN
Comment Utility
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
Comment Utility
thanks man !
0

Featured Post

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Join & Write a Comment

Disabling the Directory Sync Service Account in Office 365 will stop directory synchronization from working.
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
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 configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…

744 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

11 Experts available now in Live!

Get 1:1 Help Now