Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Task Scheduler fails when you try to start the Task Scheduler service from the services console on either Windows Server 2000 or Windows Server 2003 computers


View products that this article applies to.

Symptoms

When you try to start the Task Scheduler service from the services console on either Windows Server 2000 or Windows Server 2003 computers, the Task Scheduler fails. Additionally, you receive the following error messages:
Could not start the Task Scheduler service on Local Computer. Error 1053: The service did not respond to the start or control request in a timely fashion.
Could not start the Task Scheduler service on Local Computer. Error 123: The Filename, directory name, or volume label syntax is incorrect.

↑ Back to the top


Cause

This issue occurs if the following registry entries are modified incorrectly:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SchedulingAgent\LogPath
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SchedulingAgent\TasksFolder

↑ Back to the top


Resolution

Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

To resolve this issue, reset the registry entries to their default values. To do this, follow the steps for the appropriate server.

Windows Server 2000

  1. Click Start, click Run, type regedit, and then click OK.
  2. Locate and then click the following key in the registry:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SchedulingAgent\
  3. Verify that the value for the LogPath (expandable string value) entry is %SystemRoot%\SchedLgU.Txt.
  4. If this is not the value, select LogPath on the details pane, and then click Modify.
  5. Type %SystemRoot%\SchedLgU.Txt in the Value data box, and then click OK.
  6. Verify that the value for the TasksFolder (expandable string value) entry is %SystemRoot%\Tasks.
  7. If this is not the value, select TasksFolder, and then click Modify on the details pane.
  8. Type %SystemRoot%\Tasks in the Value data box, and then click OK.
Note If the previous Logpath and TaskFolder entries are not present in the registry, create them by using regedt32 in Windows Server 2000.

Windows Server 2003

To change the registry entries to their default values for Windows Server 2003, follow these steps:
  1. Click Start, click Run, type regedit, and then click OK.
  2. Locate and then click the following key in the registry:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SchedulingAgent\
  3. Verify that the value for the LogPath (expandable string value) entry is %SystemRoot%\Tasks\SchedLgU.Txt.
  4. If this is not the value, select LogPath on the details pane, and then click Modify.
  5. Type %SystemRoot%\Tasks\SchedLgU.Txt in the Value data box, and then click OK.
  6. Verify that the value for the TasksFolder (expandable string value) entry is %SystemRoot%\Tasks.
  7. If this is not the value, select TasksFolder, and then click Modify on the details pane.
  8. Type %SystemRoot%\Tasks in the Value data box, and then click OK.

↑ Back to the top


Keywords: KB968168, kbprb, kbsurveynew, kbfix

↑ Back to the top

Article Info
Article ID : 968168
Revision : 1
Created on : 3/4/2009
Published on : 3/4/2009
Exists online : False
Views : 250