search
Categories
Sponsors
VirtualMetric Hyper-V Monitoring, Hyper-V Reporting
Archive
Blogroll

Badges
MCSE
Community

Cozumpark Bilisim Portali
Task Scheduler Last Run Result Codes Explanations
Posted in Windows Server | 14 Comments | 135,096 views | 06/05/2009 23:13

Here are some last run result codes for task scheduler:

(0x0): Success.
(0x1): File not found or path not found.
(0x41301): Task still running.
(0x800704DD): User has not logged on to the network.

I’ll add more when I get more results :)


Comments (14)

Hercules

March 22nd, 2011
22:12:13

… some more last run result codes for task scheduler …

SCHED_S_TASK_DISABLED: 0x00041302
The task will not run at the scheduled times because it has been disabled.

SCHED_S_TASK_HAS_NOT_RUN: 0x00041303
The task has not yet run.

SCHED_S_TASK_NO_MORE_RUNS: 0x00041304
There are no more runs scheduled for this task.

SCHED_S_TASK_NOT_SCHEDULED: 0x00041305
One or more of the properties that are needed to run this task on a schedule have not been set.

SCHED_S_TASK_TERMINATED: 0x00041306
The last run of the task was terminated by the user.


Kaleu

April 4th, 2011
23:46:12

Hi,

What about 0x41325?

Thx


Kaleu

April 5th, 2011
16:52:27

Hi again.

Just found all of the in http://msdn.microsoft.com/en-us/library/aa383604%28VS.85%29.aspx

Thx


Genes

July 18th, 2011
12:09:43

Thanks for this . .

Do you know what (0x2) means?
Not in above msdn doc.

found it v. difficult to find an explanation of what these codes mean eg not in Help file on Windows server = v. helpful (not).

Regs


admin

July 19th, 2011
01:03:23

Hello Genes,

What is your OS? Windows Server 2008 R2? Also what do you try to execute? (0x2) seems your executable can not find a file you specified.

Yusuf.


Genes

July 26th, 2011
12:30:15

Yes, OS is Windows Server 2008 R2.

Job runs a script file, the executable is a program created by our software company. However the job itself all seems to run OK (ie files are updated etc).

Assumed there was a “standard” response that (0x02) meant.

Regs


Kevin

March 27th, 2013
14:12:18

Here is the full indexed list of return codes as google search is still showing your page in its results I though I’d point people to the full list as it is invaluable.

http://msdn.microsoft.com/en-us/library/ms681381.aspx


Twinkle

August 13th, 2013
04:52:58

what’s about 0xC0000142


The Col.

April 9th, 2014
03:39:28

Response to an ages-old question (Aug 2013)…. but hey !!!

From research it appears that 0xC0000142 is usually related to “Program Cannot Start” errors and these are usually caused by windows system files damage or broken dependency-chains


Siva

April 18th, 2014
00:38:57

What’s about 0x7F


Dhruv

June 17th, 2015
09:45:53

0 or 0x0: The operation completed successfully.
1 or 0x1: Incorrect function called or unknown function called.
2 or 0x2: File not found.
10 or 0xa: The environment is incorrect.
0x41300: Task is ready to run at its next scheduled time.
0x41301: Task is currently running.
0x41302: Task is disabled.
0x41303: Task has not yet run.
0x41304: There are no more runs scheduled for this task.
0x41306: Task is terminated.
0x8004130F: Credentials became corrupted (*)
0x8004131F: An instance of this task is already running.
0x800704DD: The service is not available (is ‘Run only when an user is logged on’ checked?)
0xC000013A: The application terminated as a result of a CTRL+C.
0xC06D007E: Unknown software exception.


Shani

April 24th, 2019
18:16:44

Here are few I was able to gather from different sites

0 The operation completed successfully.
1 Incorrect function called or unknown function called.
2 File not found.
10 The environment is incorrect.
41300 The task is ready to run at its next scheduled time.
41301 The task is currently running.
41302 The task has been disabled.
41303 The task has not yet run.
41304 There are no more runs scheduled for this task.
41305 One or more of the properties that are needed to run this task have not been set.
41306 The last run of the task was terminated by the user.
41307 Either the task has no triggers or the existing triggers are disabled or not set.
41308 Event triggers do not have set run times.
41325 The Task Scheduler service has asked the task to run.
80010002 Call was canceled by the message filter
80041309 A task’s trigger is not found.
80041310 Unable to establish existence of the account specified.
80041311 Corruption was detected in the Task Scheduler security database
80041312 Task Scheduler security services are available only on Windows NT.
80041313 The task object version is either unsupported or invalid.
80041314 The task has been configured with an unsupported combination of account settings and run time options.
80041315 The Task Scheduler Service is not running.
80041316 The task XML contains an unexpected node.
80041317 The task XML contains an element or attribute from an unexpected namespace.
80041318 The task XML contains a value which is incorrectly formatted or out of range.
80041319 The task XML is missing a required element or attribute.
80041320 The task will not run because the user is not logged on.
80041321 The task image is corrupt or has been tampered with.
80041322 The Task Scheduler service is not available.
80041323 The Task Scheduler service is too busy to handle your request. Please try again later.
80041324 The Task Scheduler service attempted to run the task, but the task did not run due to one of the constraints in the task definition.
80041326 The task is disabled.
80041327 The task has properties that are not compatible with earlier versions of Windows.
80041328 The task settings do not allow the task to start on demand.
0004131B The task is registered but not all specified triggers will start the task.
0004131C The task is registered but may fail to start. Batch logon privilege needs to be enabled for the task principal.
8004130A One or more of the properties required to run this task have not been set.
8004130B There is no running instance of the task.
8004130C The Task Scheduler service is not installed on this computer.
8004130D The task object could not be opened.
8004130E The object is either an invalid task object or is not a task object.
8004130F No account information could be found in the Task Scheduler security database for the task indicated.
8004131A The task XML is malformed.
8004131D The task XML contains too many nodes of the same type.
8004131E The task cannot be started after the trigger end boundary.
8004131F An instance of this task is already running.
0004131B The task is registered but not all specified triggers will start the task.
0004131C The task is registered but may fail to start. Batch logon privilege needs to be enabled for the task principal.
8004130A One or more of the properties required to run this task have not been set.
8004130B There is no running instance of the task.
8004130C The Task Scheduler service is not installed on this computer.
8004130E The object is either an invalid task object or is not a task object.
8004130F No account information could be found in the Task Scheduler security database for the task indicated.
8004131A The task XML is malformed.
8004131D The task XML contains too many nodes of the same type.
8004131E The task cannot be started after the trigger end boundary.
8004131F An instance of this task is already running.
C000013A The application terminated as a result of a CTRL+C.
C0000142 The application failed to initialize properly.
800704DD The service is not available (is ‘Run only when an user is logged on’ checked?)
C06D007E Unknown software exception.


Alison M

October 23rd, 2019
19:28:45

What about 0xc004f074? Thanks.


satish

November 21st, 2019
08:55:24

how to resolve 0x10 and 0x2 error in task sched..



Leave a Reply