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

Article translations Article translations
Article ID: 968168 - View products that this article applies to.
Important This article contains information about how to modify the registry. Make sure that you back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756 How to back up and restore the registry in Windows
Expand all | Collapse all

On This Page

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.

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

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.

Properties

Article ID: 968168 - Last Review: March 4, 2009 - Revision: 1.0
APPLIES TO
  • Microsoft Windows 2000 Server
  • Microsoft Windows Server 2003 R2 Enterprise Edition (32-Bit x86)
  • Microsoft Windows Server 2003, Standard x64 Edition
Keywords: 
kbfix kbsurveynew kbprb KB968168

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