Scheduled Program Does Not Start in Task Scheduler

Article translations Article translations
Article ID: 178691 - View products that this article applies to.
This article was previously published under Q178691
Expand all | Collapse all

On This Page

SYMPTOMS

When Task Scheduler attempts to start a scheduled program, the program may not start, and Could Not Start may appear as the status of the program.

CAUSE

This behavior can occur if either of the following conditions exists:

  • The path to the program file is incorrect.
  • You specified a command-line switch for the program file, and you typed the program file's path and command-line switch within quotation marks (for example, "c:\windows\calc.exe /d").

RESOLUTION

To resolve this behavior, follow the steps in the appropriate section below:

Path to the Program File Is Incorrect

  1. Click Start, point to Programs, point to Accessories, point to System Tools, and then click Scheduled Tasks.
  2. Right-click the program whose path you want to modify, and then click Properties.
  3. On the Task tab, modify the path to the program file by using either of the following methods:

    • Type the path and the file name of the program file in the Run box.
    • Click Browse, locate and click the program file you want, click Open, and then click OK.
  4. Quit Task Scheduler.

The Program File Contains a Command-Line Switch

  1. Click Start, point to Programs, point to Accessories, point to System Tools, and then click Scheduled Tasks.
  2. Right-click the program whose command-line you want to modify, and then click Properties.
  3. In the Run box, type command-line switch outside of the quotation marks (for example, "c:\windows\calc.exe" /d).
  4. Click OK, and then quit Task Scheduler.

MORE INFORMATION

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 file when Task Scheduler attempts to start the program
"<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.
where <program name> is the name of the program (for example, ScanDisk), and <program file name> is the name of the program's executable file (for example, Scandskw.exe).

To view the Schedlog.txt file, click View Log on the Advanced menu in Task Scheduler.

For more information about how to use Task Scheduler, click Start, click Help, click the Index tab, type task, and then double-click the "Task Scheduler" topic.

Properties

Article ID: 178691 - Last Review: January 22, 2007 - Revision: 3.1
APPLIES TO
  • Microsoft Internet Explorer 1.0
  • Microsoft Internet Explorer 2.0
  • Microsoft Internet Explorer 3.0
  • Microsoft Internet Explorer 3.01
  • Microsoft Internet Explorer 3.02
  • Microsoft Internet Explorer 4.0 128-Bit Edition
  • Microsoft Internet Explorer 4.01 128-Bit Edition
  • Microsoft Internet Explorer 5.0
  • Microsoft Internet Explorer 5.01
  • Microsoft Internet Explorer 5.5
  • Microsoft Internet Explorer 3.2
  • Microsoft Internet Explorer 4.0 128-Bit Edition
  • Microsoft Windows 98 Standard Edition
Keywords: 
kbenv KB178691
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.

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com