This article was previously published under Q190139
Retired KB Content Disclaimer
This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.
When you view the Task Scheduler log file (Schedlog.txt), you may see thefollowing entry, or one similar to it:
Result: Unable to find a message for task exit code <hexadecimal number>.
This issue can occur if Task Scheduler was unable to locate a message inthe registry for the specific exit code that the scheduled task generated.When this occurs, Task Scheduler generates a result message in theSchedlog.txt file that is the same, or is similar to, the one listedearlier in this article.
Task Scheduler may not be able to find a task exit message for either ofthe following reasons:
If the program is written to work with System Agent (SAGE), it returns an exit code that Task Scheduler recognizes and can interpret. If a corresponding registry value does not exist for this code, the Task Scheduler log indicates that a message for the exit code was unable to be found.
Specifically, this can occur in Microsoft Windows 95 or Windows NT 4.0 if Task Scheduler is installed on a computer that has not had System Agent previously installed. SAGE-aware programs such as ScanDisk and Disk Defragmenter return exit codes that Task Scheduler can interpret, but if System Agent was not installed on the computer previously, the corresponding string values for the exit code messages do not exist in the registry.
If the program is not SAGE-aware, it may still return an exit code when it finishes. When this occurs, the Task Scheduler log also displays the message listed earlier in this article, but there is no way to determine whether or not the exit code should be interpreted by Task Scheduler.
Because the exit codes a program uses can vary, an exit code of (3) mayhave different meanings for different programs. However, an exit code of(0) normally means that the task completed successfully, and without anyerrors.
To view the Task Scheduler log, double-click My Computer, double-clickScheduled Task, and then click View Log on the Advanced menu.
The following list shows examples of exit codes:
For information about exit codes (result codes) and their correspondingmessages that are used with some SAGE-aware programs, see the followingarticle in the Microsoft Knowledge Base:
135962 Disk Tools Run by System Agent Pause for User Input