Solved

Windows Server task scheduler failed to work after some times ?

Posted on 2011-03-14
10
239 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
[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
  • 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
Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

 
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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
GPO denied - but why ? 6 57
Active directory DNS integrated question? 7 45
Unable to start workstation service 12 443
SCCM 2012 Queries 2 12
Last week, our Skyport webinar on “How to secure your Active Directory” (https://www.experts-exchange.com/videos/5810/Webinar-Is-Your-Active-Directory-as-Secure-as-You-Think.html?cid=Gene_Skyport) provided 218 attendees with a step-by-step guide for…
This article explains the steps required to use the default Photos screensaver to display branding/corporate images
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…

734 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