Solved

Windows Server task scheduler failed to work after some times ?

Posted on 2011-03-14
10
238 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
Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

 
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

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.
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 tutorial will give a an overview on how to deploy remote agents in Backup Exec 2012 to new servers. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as connecting to a remote Back…
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…

830 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