Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Windows Server task scheduler failed to work after some times ?

Posted on 2011-03-14
10
Medium Priority
?
243 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 2000 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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

Group policies can be applied selectively to specific devices with the help of groups. Utilising this, it is possible to phase-in group policies, over a period of time, by randomly adding non-members user or computers at a set interval, to a group f…
How to deal with a specific error when using the Enable-RemoteMailbox cmdlet to create a mailbox in the cloud-based service, for an existing user in an on-premises Active Directory.
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…
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…

715 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