Task Scheduler Exit Codes : exit, task, code, scheduler, results, return
SchedLgU.txt and SchedLog.txt exit/results codes defined:
You will only have a SchedLgU.txt or a SchedLog.txt depending on your operating system.Below is a list of the most common return codes, their meanings and some suggestions for you..
Result: The task completed with an excode of (100a518).
The job is completed successfully, but in many cases the internal tasks of the job are not completed successfully.
For code 0 or 0×0: The operation completed successfully.
For code 1 or 0×1: Incorrect function called or unknown function called.
For code 10 or 0xa: The environment is incorrect.
For code 0×8009000f: General Access denied
General page initialization failed. The specific error is: 0×80041315:
The task scheduler service is not running..
Unable to start task.
The specific error is:
0×80070002: The system cannot find the file specified.
Try using the Task page Browse button to locate the application.
Result Codes and Error Conditions are defined in Ntstatus.h or Winerror.h. These files are available on the MSDN Web site or through MSDN subscription. Because these are commonly used files, a search with the search engine is not likely to produce any useful result..
If a program does not start because the path to the program file is incorrect or because you typed a command-line switch within quotation marks, the following entry is added to the Schedlog.txt (Schedlgu.txt in Windows 2000/2003/XP) file:
“<program name>.job” (<program file name>) <date><time> ** ERROR **
Unable to start task.
The specific error is:
<error code>: The system cannot find the file specified. Try using the Task page Browse button to locate the application.
There is no formal standard for exit codes and no generic list of what exit codes mean. The meaning of the exit code is determined by the application vendor.
Use “err.exe” to track the exit code you are seeing.
A few common return codes are:
0×0: The operation completed successfully.
0×1: An incorrect function was called or an unknown function was called.
0xa: The environment is incorrect.
If the result code has the “C0000XXX” format, the task did not complete successfully (the “C” indicates an error condition).
The most common “C” error code is “0xC000013A: The application terminated as a result of a CTRL+C”.
x8004130f: No account information could be found in the Task Scheduler security database for the task indicated.
Explained Task Scheduler Task Scheduler Exit Codes Task Scheduler Results Codes Defined Task Scheduler Return CodesExplained Task Scheduler Task Scheduler Exit Codes Task Scheduler Results Codes Defined Task Scheduler Return Codes
No Comments »
Filed under: Task Scheduler

