Unable to start Task Scheduler service

By sjt_jtm ·
I am running W2k sp4 & receiving error when starting the task scheduler service "could not start the service on local computer, error 1717 interface unknown"

This has been running ok in past, but as no additional software or config changes been made at a loss as to why will no longer start. Machine on windows 2003 domain as do at least 20 other W2k clients & this is only Pc with this error. virus scans are showing as clean

cheers, Steven.

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Answers

Collapse -

Is the Eventlog service running?

by Bizzo In reply to Unable to start Task Sche ...

Ensure the Eventlog service is started and set to automatic.

Collapse -

Re: Unable to start Task Scheduler service

I have put a list below you can try. I hope this works for you. XP and Win2000.

If a task fails to run, Details view will tell you so but won?t tell you why. To get diagnostic information, choose View Log from the Scheduled Tasks folder?s Advanced menu. The log (%SystemRoot%\Schedlgu.txt) appears as a plain-text file in Notepad.

A Note About Security
The behavior of the Windows XP Scheduled Tasks facility points up a fact that you should always keep in mind when working on a network or sharing your own machine with other user accounts: It?s possible for someone else to start a process that runs invisibly while you?re logged on to your own account. Even though a process started by someone else is limited by the privileges available to that other user, it?s possible for such a process to monitor your activities. If you work with data that you don?t want others to see, keep that data on an NTFS volume, and use NTFS file security to restrict others? access.
Scheduling Tasks with the Schtasks Command
The Scheduled Tasks facility provides a friendly and versatile method of creating and managing scheduled tasks. In some instances, however, you might find it easier to manage scheduled tasks from a command prompt. For those occasions, Windows XP provides the Schtasks command, a replacement for the venerable At command that was included with previous versions of the Windows NT platform.


You can continue to enter At commands at the command prompt or in batch programs; tasks that you set up this way appear in the Scheduled Tasks folder, identified as Atn, where n is a task ID supplied by the system. If you edit an At task in Scheduled Tasks, however, the task is upgraded to a "normal" scheduled task. At that point, you can no longer delete the task at a command prompt, and you must supply user credentials (account name and password) before the task can run.
With Schtasks, you can create, modify, delete, end, view, and run scheduled tasks, on your own computer or on another computer on your network. The Schtasks command is a boon not only for Windows XP users who prefer working at an MS-DOS-style prompt, but more importantly, for you to manage scheduled tasks from batch files.


The Schtasks command is available only to computer administrators. Others who attempt to use it are rebuffed with the message, "ERROR: Access is denied."
Schtasks is a rather complex command with lots of command-line switches and other parameters (its description in the Help And Support Center runs to 16 densely packed pages of text), but it has only six main variants:

Schtasks /Create. This variant, which you use to create a new scheduled task, is the most complex because of all the scheduling flexibility. You can, for example, set up a schedule at an interval expressed in minutes, hours, days, weeks, or months?in addition to the event-based schedules, such as on startup, on logon, and when the system is idle.
Schtasks /Change. This variant allows you to modify an existing task. You can change the program that the task runs, the user account under which the task runs, or the password for the user account.
Schtasks /Delete. This variant deletes an existing scheduled task or, optionally, all scheduled tasks on a computer.
Schtasks /End. This variant stops a program that was started by a scheduled task.
Schtasks /Query. This variant displays all scheduled tasks on a computer, including those that were created by other users.
Schtasks /Run. This variant immediately starts a scheduled task, ignoring the schedule that was created for the task.
You can get more help about each of these variants of the Schtasks by viewing the descriptions in the Help And Support Center or by appending /? to one of these commands at a command prompt. For example, for detailed information about Schtasks /Run, at a command prompt type:

schtasks /run /?

A few examples should give you an idea of the power of the Schtasks command. Suppose, for example, you want to take a break every four hours at 20 minutes past the hour to play a bit of Solitaire. The following command sets up a task that launches Solitaire on that schedule:

schtasks /create /tn "Solitaire break" /tr sol.exe /sc hourly /mo 4 /st 00:20:00

In this example, the /Tn switch specifies the name of the task, /Tr specifies the name of the executable program (if the program is not stored in the %SystemRoot%\System32 folder, you must specify the complete path to the program), /Sc specifies the schedule type, /Mo specifies the interval, and /St specifies the starting time.

When you create a task as shown in this example, you?ll see that Schtasks prompts you for the password for your account. You can bypass this prompt by appending /rp password to the command, where password is your logon password.

The following example creates a scheduled task that runs a script on the last Friday of each calendar quarter. (This isn?t a script that?s included with Windows; it?s a made-up name intended to spark ideas on your part!)

schtasks /create /tn "Quarterly wrap-up" /tr c:\apps\qtrwrap.vbs
/sc monthly /mo last /d fri /m mar,jun,sep,dec

By default, tasks scheduled via the Schtasks command run under the user account that?s currently logged on. To make them run under a different user account, use the /Ru switch followed by the user account name you want to use; you?ll also need to know the logon password for that account. To use the built-in System account, append /ru "System" to the command. No password is required for the System account, but because only administrators can use Schtasks, this doesn?t present a security problem. Because the System account cannot log on interactively, you can?t see or interact with programs run by the System account.

If you?re familiar with the At command from Windows NT and Windows 2000, you?ll see that Schtasks offers several improvements:

You specify tasks using a friendly name rather than a serial ID number.
You have many more options in setting up schedules, including specifying the last (or first, second, and so on) day of a month, specific times of day, and various other intervals.
You can view, modify, run, or end an existing scheduled task.

Don?t disable the Task Scheduler service by stopping it in the Services snap-in or with the Stop Using Task Scheduler command on the Advanced menu. Although they don?t appear as scheduled tasks, several behind-the-scenes optimizations rely on the Task Scheduler service. In particular, optimizations that improve disk layout (by moving files around on disk for the best performance), boot time, and application opening time run as scheduled tasks.
Downloading Web Pages at a Scheduled Time
Most of the time, you?ll use Internet Explorer or another browser while you?re connected to the Internet. If you prefer, you can have Internet Explorer visit your favorite Web sites at night (for example) and then deliver the goods for you to read offline the following morning.

To schedule a page for automatic download, it must be in your list of Favorites. Pages included on the Favorites menu have a Make Available Offline option; enabling this option (and specifying a schedule) causes Internet Explorer to fetch pages at the appointed time.


Making a page available offline?with or without specifying a schedule?makes it possible for you to view the page even when your computer isn?t connected to the Internet

Please post back if you have anymore problems or questions.

Related Discussions

Related Forums