The scheduler job does not start. The Task Scheduler service is missing or missing - solution. Here is the error message

💖 Do you like it? Share the link with your friends

04.10.2009 17:50

With the improved Windows 7 Task Scheduler, you can schedule any program to run at a specific time under specific conditions. You can also schedule an email to be sent and even a specific message to be displayed.

To launch Task Scheduler, open the Start menu, enter in the search bar and press Enter (in non-Russian Windows 7, instead of the word, enter taskschd.msc).

You can also open Control Panel (advanced view) -> Administration -> Task Scheduler.

In the menu on the right Actions click Create a task(or Create a simple task).

In the window, enter the name of the new task and its description. If you need to run the program with elevated administrator rights, then activate the function Run with highest rights.

Switch to the tab, click the button Create and assign a date, time, and frequency for completing the task. To set the date when scheduled task execution will stop, activate the function Validity and enter the date and time.

Go to the tab Actions and press the button Create.

To schedule a program to run on a specified schedule, in the drop-down list Action select and using the button Review specify the location of the executable file.

To schedule email to be sent, use the drop-down list Action select Sending an email and fill out the standard fields: From(your name and email address), To whom(name and address of the recipient of the letter), Subject(letter header) and Text(Message text). If you need to attach files to the message you are sending, use the button Review indicate the location of the file you want to attach. In field Server smtp specify the smtp server of your email provider (for example, smtp.mail.ru) and press OK.

To schedule a specific message to be displayed on a specified schedule, use the drop-down list Action select Message output and fill in the fields Heading And Message.

A very convenient thing when you need to remind yourself that in 5 minutes the New Year will come, that it’s time to feed the cat, turn off the soup, or go to the Windows 7 website - Impressions and Facts. The message will look something like this:

Go to the tab Conditions and specify the conditions for completing the task.

You can also set additional task execution parameters on the tab.

After completing all these steps, click OK to create a task.

To edit a created task, open the Task Scheduler, select the task in the list, in the right menu Actions select Properties, edit the desired parameters and click OK.

To delete a scheduled task, open the Task Scheduler, select the task in the list, in the right menu Actions select Delete and confirm your intentions.

Note. For Task Scheduler to function, the Task Scheduler service must start automatically with Windows 7. Open Control Panel (advanced view) -> Administration -> Services. In the list of services, find, double-click on it, on the General tab, set the startup type Auto and press OK.

As part of a series of articles about Windows administration tools that few people use, but which can be very useful, today I’ll talk about using the task scheduler.

In theory, the Windows Task Scheduler is a way to launch some program or process when a certain time or condition occurs, but its capabilities do not end there. By the way, due to the fact that many users do not know about this tool, removing from startup malicious programs that can register their launch in the scheduler turns out to be more problematic than those that register themselves only in the registry.


The task scheduler has approximately the same interface as other administration tools - on the left side there is a tree-like folder structure, in the center - information about the selected element, on the right - the main actions on tasks. The same actions can be accessed from the corresponding item in the main menu (When you select a specific task or folder, the menu items change to those related to the selected item).

Basic actions in the task scheduler

In this tool, you have the following actions on tasks:

  • Create a simple task- creating a task using the built-in wizard.
  • Create a task- the same as in the previous paragraph, but with manual configuration of all parameters.
  • Import task- import of a previously created task that you exported. It can be useful if you need to configure a certain action to be performed on several computers (for example, running an antivirus scan, blocking sites, etc.).
  • Display all running tasks- allows you to view a list of all tasks that are currently running.
  • Enable log of all jobs- allows you to enable or disable task scheduler logging (records all actions launched by the scheduler).
  • Create a folder- serves to create your own folders in the left panel. You can use it for your own convenience, so that it is clear what and where you created.
  • Delete folder- deleting the folder created in the previous paragraph.
  • Export- allows you to export the selected task for subsequent use on other computers or on the same computer, for example, after reinstalling the OS.

In addition, you can call up a list of actions by right-clicking on a folder or task.

By the way, if you suspect the presence of malware, I recommend looking at the list of all tasks being performed, this may be useful. It may also be helpful to enable the Job Log (disabled by default) and look at it after a couple of reboots to see what jobs were running (to view the log, use the Log tab and select the Job Scheduler Library folder).

The task scheduler already contains a large number of tasks that are necessary for the operation of Windows itself. For example, automatic cleaning of the hard drive from temporary files and disk defragmentation, automatic maintenance and checking of the computer during idle time, and others.

Create a simple task

Now let's see how to create a simple task in Task Scheduler. This is the easiest way for beginners and does not require any special skills. So, select the “Create a simple task” item.

On the first screen, you will need to enter a task name and, optionally, a description.

The next item is to select when the task will be executed: you can run it by time, when you log into Windows or turn on the computer, or when an event occurs in the system. When you select one of the items, you will also be asked to set the execution time and other details.

And the last step is to choose what action will be performed - launching the program (you can add arguments to it), displaying a message or sending an email.

Creating a task without using a wizard

If you want to fine-tune your Windows Task Scheduler tasks, click New Task and you'll be greeted with a plethora of options and options.

I will not describe in detail the complete process of creating a task: in general, everything is quite clear in the interface. I will only note significant differences compared to simple tasks:


Despite the fact that there are a large number of different options, I think it won’t be difficult to understand them - they are all named quite clearly and mean exactly what they say in the name.

I hope that the above may be useful to someone.

Task Scheduler is an important tool in Windows that allows users to schedule programs and specific processes to run. But lately I found that Scheduler is not working on my Windows 10 Pro system. For example, if I try to open it, a message appears saying that the Task Scheduler service is unavailable.

Here's the error message:

The Task Scheduler service is unavailable. Task Scheduler is trying to reconnect

Although the error message says that the task scheduler is automatically connecting to its service, it actually doesn't. As a result of this, you keep receiving this error message when opening Task Scheduler. Launch SFC / SCANNOW running commands with admin rights on the command line may help. If your system receives the same error, here's how to fix it:

How to Fix: Task Scheduler Service Not Available in Windows 10

Method 1 - Using a Services Snap-in

1. Press Win + R and enter the command services.msc in the dialog box Execute, press Enter to open the service management tool.

2. In the window Services, scroll down and find the service Task Scheduler. Double click on the service to open the properties window.

3. Now in the properties window set the startup type Automatically and then click the button Launch, to start the service. Click Apply then OK. Close the service control tool and restart your PC.

After rebooting the machine, the error should be resolved.

Method 2 - Using Registry Editor

Disclaimer: The next steps will involve registry manipulation. Errors when changing the registry can negatively affect the operation of the system. So be careful when editing registry entries. Be sure to create a backup.

1. Press Win + R and enter Regedit in the dialog box Execute. Click the button OK.

2. In the left pane of the Registry Editor, go to the following registry key:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Schedule

3 . Open section Schedule and find in it a parameter named Start DWORD (32 bits). Double click on it and change the key value to 2 .

4. By changing the parameter value, from 4 on 2 click the button OK. Close Registry Editor and restart your computer. After rebooting, check and you will see that the problem is resolved.

Method 3 - Removing a corrupted task scheduler cache.

  1. Open Registry Editor.
  1. Go to the following registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree
  1. Click on the Tree registry key and expand that registry key.
  1. Now rename all the folders in the Tree section, adding for example to the name .old


  1. Open Task Scheduler to see if there is an error message or not.
  1. If the error message does not appear, it means that the entry in this registry key is damaged, we must find the damaged entry.
  1. Let's return one of the folders to its previous name, and run the Task Scheduler again to see if there is an error message or not.
  1. This way you will find which of the tasks may be corrupted and causing the “Task Scheduler Service is not available” error. In most cases, this is an issue with Adobe Flash Player Updater and renaming it seems to clear the error, but you should be able to resolve the issue by following the steps above.
  1. Now delete the entries causing the task scheduler error and the problem will be resolved.

Hope this helps!

Often, due to viruses or, let’s say, not entirely correct user actions, it happens that some services disappear or do not work.

This happens especially often with the Task Scheduler service, because... this service is necessary for the correct operation of, for example, an antivirus (and possibly some others, I have not checked). As a rule, also, all sorts of creators of lightweight builds of Windows (ala Game Edition, ZverCD, etc.) often kill such services, considering them unnecessary, and they kill them not just by changing the startup option from “Automatic” to “Disabled”, but by cutting out the service altogether from the system so that it is not displayed either through or in the list of services in the Administration panel.

In this article, I offer you a solution and present a small .reg file that corrects this misunderstanding, namely, returning the service to its place, even if it is not in the list and was cut out by folk “craftsmen” from the system or changing its launch parameters is not available as a result action of a particularly harmful virus.

Go.

Using the registry to restore the service

Actually, it's simple.

The contents of the file are as follows:
Windows Registry Editor Version 5.00
"Description"="Allows you to configure a schedule for tasks to run automatically on this computer. If this service is stopped, those tasks cannot run at the scheduled time. If this service is disabled, any services that explicitly depend on it cannot start. "
"Type"=dword:00000020
"Start"=dword:00000002
"ErrorControl"=dword:00000001
"ImagePath"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,\
74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,73, \
00,76,00,63,00,68,00,6f,00,73,00,74,00,2e,00,65,00,78,00,65,00,20,00,2d,00, \
6b,00,20,00,6e,00,65,00,74,00,73,00,76,00,63,00,73,00,00,00
"DisplayName"="Task Scheduler"
"Group"="SchedulerGroup"
"DependOnService"=hex(7):52,00,70,00,63,00,53,00,73,00,00,00,00,00
"DependOnGroup"=hex(7):00.00
"ObjectName"="LocalSystem"
"FailureActions"=hex:80,51,01,00,00,00,00,00,00,00,00,00,03,00,00,00,2e,00,03,\
00,01,00,00,00,70,17,00,00,01,00,00,00,60,ea,00,00,00,00,00,00,00,00,00,00


"ServiceDll"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,\
00,74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00, \
73,00,63,00,68,00,65,00,64,00,73,00,76,00,63,00,2e,00,64,00,6c,00,6c,00,00, \
00
"ServiceMain"="ScheduledServiceMain"


"Security"=hex:01,00,14,80,90,00,00,00,9c,00,00,00,14,00,00,00,30,00,00,00,02,\
00,1c,00,01,00,00,00,02,80,14,00,ff,01,0f,00,01,01,00,00,00,00,00,01,00,00, \
00,00,02,00,60,00,04,00,00,00,00,00,14,00,8d,01,02,00,01,01,00,00,00,00,00, \
05,0b,00,00,00,00,00,18,00,9d,01,02,00,01,02,00,00,00,00,00,05,20,00,00,00, \
23,02,00,00,00,00,18,00,ff,01,0f,00,01,02,00,00,00,00,00,05,20,00,00,00,20, \
02,00,00,00,00,14,00,fd,01,02,00,01,01,00,00,00,00,00,05,12,00,00,00,01,01, \
00,00,00,00,00,05,12,00,00,00,01,01,00,00,00,00,00,05,12,00,00,00

Why do we need it?
Well, for some it’s out of professional interest, for others it’s just out of curiosity, but in our case it will come in handy if you can’t download the file. Then, as you probably guessed, you can create it yourself. For this:

  • We create a text document - a regular .txt - and, opening it, insert the above-described content there
  • Save changes to the document and open “My Computer”
  • We go along the path "Tools" - "Folder Options ("Folder Options" in the case of Windows 7") and uncheck "Hide extensions for known file types"
  • Click the apply button and return to the newly created file
  • Right-click on it and select “Rename”. Now we can change not only the name, but also

Windows family systems have a special built-in component that allows you to schedule in advance or schedule the periodic execution of various procedures on your PC. It's called "Task Scheduler". Let's find out the nuances of how this tool works in Windows 7.

"Task Scheduler" allows you to schedule the launch of specified processes in the system at a precisely set time, upon the occurrence of a certain event, or to set the frequency of this action. Windows 7 has a version of this tool called "Task Scheduler 2.0". It is used not only by users directly, but also by the OS to perform various internal system procedures. Therefore, it is not recommended to disable this component, as various problems with the computer may subsequently occur.

Launching the Task Scheduler

By default, the tool we are studying is always enabled in Windows 7, but in order to manage it, you need to launch the graphical interface. There are several algorithms for this.

Method 1: Start Menu

Standard way to launch the interface "Task Scheduler" it is considered to be activated through the menu "Start".


Method 2: "Control Panel"

Also "Task Scheduler" can also be launched via "Control Panel".


Method 3: Search field

Although the two opening methods described "Task Scheduler" are generally intuitive, yet not every user can immediately remember the entire algorithm of actions. There is also a simpler option.


Method 4: Run Window

The startup operation can also be carried out through the window "Run".


Method 5: "Command Line"

In some cases, if there are viruses in the system or problems, it is not possible to launch using standard methods "Task Scheduler". Then you can try this procedure using "Command line" activated with administrator privileges.


Method 6: Direct launch

Finally, the interface "Task Scheduler" can be activated by directly running its file - taskschd.msc.


Features of the "Task Scheduler"

Now that we have figured out how to run "Scheduler", let's find out what it can do, and also determine the algorithm of user actions to achieve specific goals.

Among the main actions performed "Task Scheduler", the following should be highlighted:

  • Create a task;
  • Create a simple task;
  • Import;
  • Export;
  • Enable log;
  • Display of all running tasks;
  • Creating a folder;
  • Deleting a task.

Create a simple task

First of all, let's look at how to form "Task Scheduler" simple task.

  1. In the interface "Task Scheduler" on the right side of the shell there is an area "Actions". Click on the position “Create a simple task...”.
  2. The shell for creating a simple task is launched. To the region "Name" Be sure to enter the name of the element being created. You can enter any arbitrary name here, but it is advisable to briefly describe the procedure so that you yourself can then immediately understand what it is. Field "Description" It is not necessary to fill out, but here, if you wish, you can describe the procedure being performed in more detail. After the first field is filled in, the button "Further" becomes active. Click on it.
  3. Now the section opens "Trigger". In it, by moving the radio button, you can specify how often the activated procedure will be launched:
    • When activating Windows;
    • When starting the PC;
    • When logging the selected event;
    • Every month;
    • Every day;
    • Every week;
    • One time.

    After you have made your choice, click "Further".

  4. Then, if you did not specify a specific event after which the procedure will be launched, but chose one of the last four items, you need to specify the date and time of the launch, as well as the frequency if more than one execution was planned. This can be done in the appropriate fields. After the specified data has been entered, click "Further".
  5. After this, by moving the radio button near the corresponding items, you need to select one of three actions to be performed:
    • Launching the application;
    • Sending a message by email;
    • Display message.
  6. If you selected to launch the program at the previous stage, a subsection will open in which you should indicate the specific application intended for activation. To do this, click on the button "Review…".
  7. A standard object selection window will open. In it you need to go to the directory where the program, script or other element that needs to be launched is located. If you are going to activate a third party application, it will most likely be located in one of the directories of the folder "Program Files" in the root directory of the disk C. After the object is marked, press "Open".
  8. After this there is an automatic return to the interface "Task Scheduler". The corresponding field will display the full path to the selected application. Click on the button "Further".
  9. Now a window will open where summary information on the task being created will be presented based on the data entered by the user at the previous stages. If you are not satisfied with something, then press the button "Back" and edit as you wish.

    If everything is in order, then to complete the task formation, click "Ready".

  10. The task has now been created. It will appear in "Task Scheduler Library".

Create a task

Now let's figure out how to create a regular task. Unlike the simple analogue we discussed above, it will be possible to set more complex conditions.

  1. In the right area of ​​the interface "Task Scheduler" click “Create a task...”.
  2. The section opens "Are common". Its purpose is very similar to the function of the section where we specified the name of the procedure when creating a simple task. Here in the field "Name" you also need to indicate the name. But unlike the previous option, in addition to this element and the ability to enter data into the field "Description", you can make a number of other settings if necessary, namely:
    • Assign the highest rights to the procedure;
    • Specify the user profile upon login to which this operation will be relevant;
    • Hide procedure;
    • Specify compatibility settings for other operating systems.

    But only entering a name is mandatory in this section. After all the settings are completed here, click on the name of the tab "Triggers".

  3. In chapter "Triggers" the start time of the procedure, its frequency or the situation in which it is activated is specified. To proceed to the formation of the specified parameters, click "Create…".
  4. The trigger creation shell opens. First of all, you need to select the conditions for activating the procedure from the drop-down list:
    • At startup;
    • When an event occurs;
    • When idle;
    • When you log in;
    • According to schedule (default), etc.

    When you select the last of the listed options in the window in the block "Options" It is required to specify the frequency by activating the radio button:

    • Once (default);
    • Weekly;
    • Daily;
    • Monthly.

    In addition, in the same window you can configure a number of additional, but not required, parameters:

    • Validity;
    • Delay;
    • Repetition, etc.

    After specifying all the necessary settings, click "OK".

  5. After this, you return to the tab "Triggers" window "Creating a task". The trigger settings will be immediately displayed according to the data entered in the previous step. Click on the tab name "Actions".
  6. After going to the above section to indicate the specific procedure that will be performed, click on the button "Create…".
  7. The Create Action window will appear. From the dropdown list "Action" choose one of three options:
    • Sending email;
    • Output message;
    • Start the program.

    When you choose to launch an application, you must specify the location of its executable file. To do this, click "Review…".

  8. Window opens "Open", which is identical to the object we observed when creating a simple task. In it, in the same way, you need to go to the directory where the file is located, select it and click "Open".
  9. After this, the path to the selected object will be displayed in the field "Program or script" in the window "Creating an Action". All we have to do is press the button "OK".
  10. Now that the corresponding action is displayed in the main task creation window, go to the tab "Conditions".
  11. In the section that opens, you can set a number of conditions, namely:
    • Specify power settings;
    • Wake up the PC to perform the procedure;
    • Specify network;
    • Configure the process to start when idle, etc.

    All these settings are optional and are used only for special cases. Then you can go to the tab "Options".

  12. In the above section you can change a number of parameters:
    • Allow the procedure to be executed on demand;
    • Stop a procedure running for more than the specified time;
    • Force termination of a procedure if it does not complete as requested;
    • Start the procedure immediately if scheduled activation is missed;
    • In case of failure, restart the procedure;
    • Delete a task after a certain time if a repetition is not scheduled.

    The first three options are enabled by default, and the remaining three are disabled.

    After specifying all the necessary settings, to create a new task, just click on the button "OK".

  13. The task will be created and appear in the list "Libraries".

Deleting a task

If necessary, the created task can be deleted from "Task Scheduler". This is especially important if it was not created by you yourself, but by some third-party program. There are also frequent cases when "Planner" execution of the procedure prescribes virus software. If this is detected, the task should be deleted immediately.


Disabling Task Scheduler

"Task Scheduler" It is highly not recommended to disable it, since in Windows 7, unlike XP and earlier versions, it serves a number of system processes. Therefore deactivation "Planner" can lead to incorrect operation of the system and a number of unpleasant consequences. It is for this reason that there is no standard shutdown in "Service Manager" the service that is responsible for the operation of this OS component. However, in special cases it may be necessary to temporarily deactivate "Task Scheduler". This can be done by manipulating the system registry.

  1. Click Win+R. In the field of the displayed object, enter:

    Click "OK".

  2. "Registry Editor" activated In the left area of ​​its interface, click on the section name "HKEY_LOCAL_MACHINE".
  3. Go to the folder "SYSTEM".
  4. Open the directory "CurrentControlSet".
  5. Next, click on the section name "Services".
  6. Finally, in the long list of directories that opens, find the folder "Schedule" and select it.
  7. Now let’s move our attention to the right side of the interface "Editor". Here you need to find the parameter "Start". Double click on it LMB.
  8. The parameter editing shell opens "Start". In field "Meaning" instead of a number "2" put "4". And press "OK".
  9. After this you will be returned to the main window. "Editor". Parameter value "Start" will be changed. Close "Editor" by clicking on the standard close button.
  10. Now you need to reboot PC. Click "Start". Then click on the triangle shape to the right of the object "Shutdown". Select from the list that appears.
  11. The PC will restart. When you turn it on again "Task Scheduler" will be deactivated. But, as mentioned above, it takes a long time to do without "Task Scheduler" Not recommended. Therefore, after the problems that required disabling it have been eliminated, go to the section again "Schedule" in the window "Registry Editor" and open the parameter change shell "Start". In field "Meaning" change the number "4" on "2" and press "OK".
  12. After rebooting the PC "Task Scheduler" will be activated again.

By using "Task Scheduler" the user can schedule the implementation of almost any one-time or periodic procedure performed on a PC. But this tool is also used for the internal needs of the system. Therefore, it is not recommended to disable it. Although, if absolutely necessary, there is a way to do this by making a change in the system registry.



tell friends