Why the windows 7 task scheduler does not work. The Task Scheduler service is missing or missing - a solution. Create a simple task

There is no perfection in the world of information technology, and therefore it is not surprising that even in the polished Windows 7 operating system, there are sometimes insidious bugs that can take a lot of time to fix.

Far behind examples though it is not necessary. It is enough just to type the phrase Task Scheduler selected task “(0)” error in the Google search engine to understand how many people have encountered and continue to encounter such a nice, but terribly annoying dialog box in everyday work at the computer:

The selected task “(0)” no longer exists. To see the current tasks, click refresh (The selected task “(0)” no longer exists. To see the current tasks, click “Refresh”) - this phrase can bring any hardened user of Microsoft products to a heart attack, and to prevent this from happening, we We decided to publish a number of recommendations on the pages of the project site, the implementation of which, perhaps, will allow us to eliminate the error dialog box and establish the normal functioning of the Windows 7 Task Scheduler.

So, if the message The selected task “(0)” no longer exists is displayed when the Task Scheduler application is launched, then we adhere to the following tactics of actions.

Open the disk defragmenter window and make sure that scheduled defragmentation is enabled. If it is not activated, then we turn on the periodic ordering of the information stored on the hard disk (for example, once a month), restart the computer and check if the error mentioned above has been eliminated. If we fail, we move on.

We open the console, use the sfc.exe system file checker and the sfc /verifyonly command to check the versions of all protected files. If any inaccuracies pop up during the check, run the utility again with the /scannow key and prepare in advance for the fact that Windows 7 will ask for a disk with the operating system distribution kit.

If the above operations did not help, then we pick up some file manager (for example, FAR, launched under the administrator account) and put things in order in the directories C:\Windows\System32\Tasks\ and C:\Windows\Tasks . Hovering means creating a backup copy of the data and then sequentially deleting the files, each time launching the task scheduler and checking the elimination of the error “The selected task “(0)” no longer exists”. After detecting a “broken” file, do not forget to restore previously deleted objects.

In case of a fiasco, we work with the system registry and the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache branch in a similar way, eliminating “suspicious” entries. Editing the Windows Registry is serious business, so it's highly recommended that you back up your registry before you start experimenting. You can do this by creating a Windows restore point or by typing regedit.exe /E c:\backup.reg at the command line and copying all the registry branches to the backup.reg file. Subsequently, if everything goes wrong, it will be enough to run the file created in advance and restore the registry entries to their original form.

04.10.2009 17:50

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

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

You can also open Control Panel (Advanced View) -> Administrative Tools -> 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 privileges.

Switch to the tab, press the button Create and set a date, time, and frequency for the task. To set the date when the scheduled task will be terminated, activate the function Validity and enter the date and time.

Go to the tab Actions and press the button Create.

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

To schedule email to be sent on a schedule, in the drop-down list Action select Sending email and fill in the standard fields: From(your name and email address), To whom(name and address of the recipient of the letter), Topic(email header) and Text(Message text). If you need to attach files to the sent message, using the button Review specify 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, in the drop-down list Action select Message output and fill in the fields header and Message.

A very handy 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. Such a message would look something like this:

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

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

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

To modify the created task, open the Task Scheduler, select the task in the list, in the right menu Actions select Properties, edit the options you want, 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 automatically start with Windows 7. Open Control Panel (Advanced View) -> Administrative Tools -> Services. In the list of services, find, double-click on it, on the General tab, set the startup type Auto and press OK.

The systems of the Windows family have a special built-in component that allows you to plan ahead 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, when a certain event occurs, or set the frequency for this action. Windows 7 has a version of this tool called Task Scheduler 2.0. It is used not only directly by users, but also by the OS to perform various internal system procedures. Therefore, it is not recommended to disable this component, since various problems in the operation of the computer are possible later.

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 a graphical interface. There are several algorithms for this.

Method 1: Start Menu

The standard way to launch the interface "Task Scheduler" its activation through the menu is considered "Start".


Method 2: "Control Panel"

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


Method 3: Search box

Although the described two methods of opening Task Scheduler are generally intuitive, after all, not every user can immediately remember the entire algorithm of actions. There is also an easier option.


Method 4: Run window

The launch 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 malfunctions, it is not possible to launch using standard methods Task Scheduler. Then you can try this procedure with "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've figured out how to run "Scheduler", let's find out what he can do, and also determine the algorithm of user actions to achieve specific goals.

Among the main activities carried out Task Scheduler, the following should be highlighted:

  • Create a task;
  • Creating 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 in Task Scheduler a simple task.

  1. In the interface Task Scheduler on the right side of the shell is the area "Actions". Click on the position "Create a simple task...".
  2. The simple task creation shell is launched. To area "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" optional, but here, if you wish, you can describe the procedure in more detail. After the first field is filled in, the button "Further" becomes active. Click on it.
  3. The section is now open. "Trigger". In it, by moving the radio button, you can specify how often the activated procedure will be launched:
    • When Windows is activated;
    • When starting the PC;
    • When logging the selected event;
    • Every month;
    • Every day;
    • Every week;
    • Once.

    Once 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 scheduled. This can be done in the corresponding fields. Once the information has been entered, click "Further".
  5. After that, by moving the radio buttons near the corresponding items, you need to select one of the three actions that will be performed:
    • Application launch;
    • Sending a message by e-mail;
    • Message display.
  6. If you chose to launch the program at the previous stage, a subsection will open in which you should specify 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 placed in one of the folder's directories "Program Files" in the root directory of the disk C. After the object is marked, press "Open".
  8. After that, an automatic return to the interface occurs. 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 a summary of information on the generated task will be presented based on the data entered by the user in the previous stages. If something does not suit you, then click the button "Back" and edit as you wish.

    If everything is in order, then to complete the formation of the task, press "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 analog discussed above, it will be possible to set more complex conditions in it.

  1. On the right side of the interface Task Scheduler press "Create a task...".
  2. Section opens "General". 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 provide a title. But unlike the previous version, in addition to this element and the possibility of entering 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 entering which this operation will be relevant;
    • Hide procedure;
    • Specify compatibility settings for other operating systems.

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

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

    When choosing 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. It then returns to the tab. "Triggers" window "Creating a Task". The trigger settings will be displayed immediately according to the data entered in the previous step. Click on the tab name "Actions".
  6. After moving to the above section to specify the specific procedure to be performed, click the button "Create…".
  7. The Create Action window will appear. From drop down list "Action" choose one of three options:
    • Sending e-mail;
    • message output;
    • Program launch.

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

  8. window starts "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 that, the path to the selected object will be displayed in the field "Program or Script" in the window "Creating an Action". We just have to press the button OK.
  10. Now that the corresponding action is displayed in the main task creation window, go to the tab "Terms".
  11. In the section that opens, it is possible to set a number of conditions, namely:
    • Specify power settings;
    • Wake up the PC to perform the procedure;
    • Specify a network;
    • Set the process to start when idle, etc.

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

  12. In the above section, you can change a number of options:
    • Allow the procedure to be executed on demand;
    • Stop a procedure running longer than the specified time;
    • Forcibly terminate the procedure if it does not terminate on request;
    • Start the procedure immediately if scheduled activation is missed;
    • In case of failure, restart the procedure;
    • Delete the task after a certain time if no recurrence is scheduled.

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

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

  13. The task will be created and displayed 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. It is also not uncommon for the "Scheduler" execution of the procedure prescribes virus software. If this is found, the task should be deleted immediately.


Disable "Task Scheduler"

Task Scheduler it is strongly not recommended to disable it, since in Windows 7, unlike XP and earlier versions, it serves a number of system processes. Therefore, deactivation "Scheduler" 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 is temporarily required to 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 name of the section "HKEY_LOCAL_MACHINE".
  3. Go to folder "SYSTEM".
  4. Open catalog "CurrentControlSet".
  5. Then click on the title of the section. Services.
  6. Finally, in the long list of directories that opens, look for the folder Schedule and select it.
  7. Now move the attention to the right side of the interface "Editor". Here you need to find the parameter Start. Double click on it paintwork.
  8. The parameter edit shell opens. Start. In field "Meaning" instead of a number "2" put "four". And press OK.
  9. This will return you 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 triangular 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 without Task Scheduler Not recommended. Therefore, after the problems that required disabling it are eliminated, go back to the section Schedule in the window "Registry Editor" and open a parameter change shell Start. In field "Meaning" change the number "four" on the "2" and press OK.
  12. After restarting 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 the 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.

How to restore the task scheduler?

Master's response:

The purpose of the task scheduler in Windows is to organize the work of programs and the system according to the accepted schedule. You can set up auto-launch of certain applications at the required time - for example, a notepad in which a birthday greeting is written to a colleague. Task schedulers are built into operating systems, so they cannot be downloaded separately or connected.

We need to have: - administrator rights.

Let's make sure that there are system files of the "Scheduler" on the computer (for this we go to the directory C:\Windows\System32). These files include schedsvc.dll, mstask.dll and schedcli.dll, as well as the main one - schtasks.exe. If these files are missing, we will try to manually “put” them into this folder. To do this, copy them from the Windows disk. If system files are not displayed on our computer, then we will turn on the display (we use the “Folder View” tab for this).

Let's check if the system files and folders are intact. The sfc /scannow command entered at the command line will start checking the contents of system folders for integrity. If signs of file corruption are found, the system will restore them from a backup. Let's use the built-in system restore. Let's roll back its state to the time when the Scheduler was still on the computer and working. To do this, select a restore point. The recovery utility can be found in the start menu. Here you need to select the line "All Programs", in the window that opens - "Maintenance", and there find and click on "System Backup and Restore".

If the system files are seriously damaged, it is best to reinstall Windows after copying the necessary data to another partition. You can do it yourself if you have a licensed disc with the system. It is necessary to try to create backup copies of all information located on a personal computer.

There are many organizer programs that allow you to create a virtual program schedule. Let's use a search engine and download programs from the Internet. Do not neglect the messages of the anti-virus program, otherwise there is a risk of introducing viruses into the system. It is also recommended to use licensed anti-virus programs to fully protect your personal computer.

Probably, every user has come across a situation where, when turning on the computer, you have to wait for background programs and all applications that open with the system to load. Inexpensive equipment can hang from a large number of simultaneous processes. To regulate them, there is a "Task Scheduler" in Windows (it is in both version 10 and earlier). It allows:

  • configure autorun applications (for example, ICQ or other messengers, antivirus) or disable it;
  • specify a convenient time for performing resource-intensive tasks (cleaning the disk, installing updates) so that they do not interfere with your work;
  • remove irrelevant processes from launch;
  • specify which applications can be disabled to save battery power;
  • set an alarm or send an email.

Setting up the task scheduler in Windows.

"Task Scheduler" in Windows XP can be found in the "Utilities" section. In the eighth version, the utility was moved to the "Control Panel". In Windows 10, everything already looks different: the software is located in the “Computer Management” section - in the same place where other administration elements are located. In fact, the files of this application are stored on the system drive C (Windows - System 32 - Taskschd.msc), and from here they can also be launched.

How to open Task Scheduler

Now we will tell you how to start the "Task Scheduler" in different ways.

start menu

  1. In Windows XP and 7, follow the path: "Start" - "All Programs" - "Accessories" - "Utilities".
  2. In Windows 10 - "Start" - "Administrative Tools"
  3. In Windows 8, the application cannot be opened via Start.

Control Panel

Open the Task Scheduler in Windows 10 and 8 as follows:

  1. Expand the search bar and write "Control Panel".
  2. Open the section and pay attention to the inscription "View" at the top right. "Categories" should be changed to "Large Icons".
  3. Now we see the label "Administration" - when you click on it, a list of services will open, among which there will be "Scheduler".

In Windows 7 and XP, as we remember, it is moved to utilities.

Search field

The easiest way to find an application is to type its name into the Windows search bar. Immediately, as soon as you start writing down a phrase, the system will automatically find the software, and you can immediately turn it on.

Run window

  1. Press the combination Win + R.
  2. The "Run" window appears with an empty line, where we enter "taskschd.msc" (ignoring the quotes).
  3. Click "Inter" and wait for the application to open.

Command line

  1. Again we call the "Run" window and enter "cmd" (without quotes)
  2. Press Enter and wait for the "Command Prompt" to appear.
  3. Enter “C:/Windows/System32/taskschd.msc” there and click OK.

You can also specify the command by adding to it without spaces:

  • /Create - to create a new task;
  • /Delete – to delete a task;
  • /Query - to view created tasks;
  • /Change - to correct the task.

direct launch

As mentioned above, the "Task Scheduler" can be launched directly from the root folder, where all its files are stored. To do this, just go along the path: drive C - Windows - System 32 - Taskschd.msc and double-click it.

Disable "Task Scheduler"

Sometimes it happens that due to an incorrectly configured "Scheduler" some problems arise in the operation of the OS, if you have not found what exactly the reason is, you can turn it off completely (this function is not supported by some Windows builds).

  1. Look for the "This PC" shortcut. If it's not in Desktop, click File Explorer (yellow folder icon) and you'll see it in the list on the left.
  2. Click the auxiliary mouse button (it is on the right) and select "Management" - "Task Scheduler" - "Action" - "Properties".
  3. The table shows that the application is currently running. Click "Stop" and specify the startup type - "Disabled". Thus, the next time you turn on the computer, this service will not work.

Before you disable the Windows 7 Task Scheduler, please note that in this version, the correct operation of the system depends on this application. The only thing that can be done in this case is to remove some tasks so that the application does not perform them.


CATEGORIES

POPULAR ARTICLES

2022 "minomin.ru" - A site about computers and working on the Internet