Windows.  Viruses.  Laptops.  Internet.  Office.  Utilities.  Drivers

Using the windows 7 task scheduler, you can schedule applications to run accordingly in certain time with certain conditions, or displaying a message on the screen. In this article I will tell you how to schedule the tasks you need to complete.

Windows 7 Task Scheduler is very useful program, most importantly, she needs to learn how to use it correctly, let's start setting up tasks.

Press the key combination “Win ​​+ R” and write “taskschd.msc” and click Ok. Go to the “action” menu item, and click create a simple task (for quick creation) or create a task (with a choice of additional functions).

Let's consider an option with additional settings, the Create task menu item:

1) General tab - in the name field, enter the name of the task you are creating, if you want to run the task with administrator rights, then check the box next to “run with the highest rights”. Other fields are optional.

2) Triggers tab – click on the “create” button, open the drop-down menu opposite “Assign a task” and select the one you need (by schedule, when logging in, when idle, etc.). If you selected on a schedule, then you need to set the date and time for the task to run, and the parameters: once, daily, weekly or monthly. You can also set the time when the task will be stopped. Don't forget to click Ok.

3) action tab – click “create” in the “action” drop-down menu, select:

a) Launching a program - click the “browse” button and select the program or document that we want to launch. The rest of the fields are optional.

b) Sending email - to implement this function, the SMTP server must be running Windows.

c) Message output – write the message you need, for example some kind of reminder.

4) conditions tab – you don’t have to change anything here, read the proposed conditions, everything is simple and clear, there shouldn’t be any difficulties.

5) Parameters tab – read the suggested parameters and set them at your discretion; this should not cause any difficulties either.

Completing the task creation

Click Ok, the task has been created! If you press right click click on the created task, a menu will appear where we can: change the task or configure it (item “properties”), execute it right now, end the task, disable, export or delete it.

the-komp.ru

Task Scheduler: how to speed up the loading of windows 7 / windows / Computer documentation, instructions and articles

In this article, I will try to tell you how, thanks to the built-in task scheduler in windows 7, to organize the launch of the necessary applications that are on the startup list of your OS. Postpone the launch of some applications that do not need to work in the first minutes after the system boots, achieve accelerated loading and keep the automation of all processes.

Long loading times do not always indicate errors or failures. As you know, loading speed is one of the main criteria for the operation of any OS. In Windows 7, you often observed the picture - the system has already booted, the desktop has appeared along with the taskbar, but as soon as you move the cursor over the Start or shortcut, it immediately turns into a “wheel”. You have to wait a few minutes until the arrow appears, and then carry out the intended actions. Have you often wondered: “What’s going on with my computer?” The answer is simpler than ever - programs that are in the startup list are launched. Agree, antivirus, Total Commander, Firewall and other applications are useful, and you really don’t want to run them manually every time after every system startup. This is where the task scheduler comes in handy.

In the above case, many advise “cleaning the startup list,” or, more simply, disabling the launch of unused programs. To do this, you need to use the msconfig utility. We launch the Start menu - Search or Start - Run, enter msconfig and reboot. When there is nothing useful on the list, then the advice is worth taking. But what to do when autorun programs are needed?

Let's look at a small example: Adobe Reader Speed ​​Launcher or reader_sl.exe is a small utility that is added to the startup list after Adobe installations Acrobat Reader. The purpose of the utility is to significantly speed up the launch of Adobe Reader. Or, for example, jusched.exe is a utility whose purpose is to keep Sun Java updated ( virtual machine), this is necessary for security. If you decide that autorun of these small utilities can be disabled. All the same, you will find programs that are subject to inclusion in the “league” of autoloaders. Ask yourself: “Do you need them in the first seconds of system operation?” This list is not worth continuing. Hence the conclusion - all applications from the startup list try to start at the same time and “hang” the system.

The task scheduler in Windows 7 allows you to delay the autorun of a list of programs that are tied to OS startup. Let's look at everything using a specific example.

Estimation of the number of programs needed

For example, I suggest taking a look at my startup list. As you know, autorun is performed from registry keys and the Startup folder. You can use the msconfig utility to view this startup list. It’s more convenient for me to use the AutoRuns utility; its functionality is much wider than msconfig. The Logon tab in AutoRuns performs the Autostart function, like msconfig.

When the system starts, three dozen different programs are loaded on my computer, ranging from Bluetooth utilities to QIP. Before you distribute programs according to need, you need to determine which ones you simply don’t need, and which ones can be organized using the task scheduler.

Gold in your pocket and the rest in your bag

We distribute by importance and measure speed

First, let's put things in order in startup. It's easy to do.

If you look at the event log and analyze the loading time at least once, you will see not just large, but astronomical numbers. Don't be alarmed - this is not much when converted into seconds, but sitting for 1-3 minutes and looking at a flickering logo does not bring much pleasure. This is because the startup list is full, and this serious problems when the system boots. The action that many people can advise you to take is to disable “unnecessary” programs. This advice is superficial for the following reasons:

  1. Automatic launch is convenient when you need to save time by automatically launching a certain number of programs. Disabling these programs will indeed speed up the boot time, but then you will need to spend some time launching these programs manually. So why trade a bull for a turkey?
  2. Very often, inexperienced users put programs under the knife whose functions they do not understand. Many of them can play a major role in the health of the system, for example, performing antivirus, codec or driver updates.

It is impossible to give unequivocal universal advice regarding the "cleaning" of the startup list. But in this matter, the AutoRuns utility can help you a lot.

If it is not there, then the msconfig utility present in the system will do.

This approach is very simple, let’s look at it in more detail:

  1. We leave the drivers, antivirus programs and firewall. It is clear that with disabled drivers for the mouse or multimedia keyboard, these devices will fail or malfunction. Special attention antivirus programs, because they consist of several applications. For example, they have an update module that downloads updates, which is very useful when you have an internet connection.
  2. If you do not know the purpose of the program, then do not be shy and ask on the Internet. If, nevertheless, it turns out that the application or utility does not affect the system's performance, then we safely turn it off, if it does, then it's worth considering. In these cases, the decision is up to you.
  3. We avoid the unknown. If you were unable to find a description of the application, then it is better not to touch it. You can experiment a little. Of course, there is a risk of running into trouble, but there is no need to get upset. Something didn’t turn on or didn’t work, reboot -> press F8 -> select Load last known good configuration and try again.
  4. We turn off everything unnecessary. If you know about the functions of the program, but rarely use it, then why is it needed in the startup list? For example, you use AIMP3 to listen to your favorite melodies, but you listen to them according to your mood, “when you want.” It would be wise to disable it in the startup and startup list if necessary.

Many will say: “Why are you reinventing the wheel for us? Without your advice, we have complete order in the startup list.” This means that in this case, increasing loading speed can be achieved by using the task scheduler. And when reinstalling, import tasks and not focus on further system configuration.

After reviewing all the applications and learning about their importance, we make a list.

  • explorer.exe and userinit.exe - system applications, without which work is impossible, the launch of these programs is necessary;
  • egui.exe provides protection against viruses - it's better to have it right away;
  • ekrn.exe is required for access to manage the antivirus and run updates - it is also needed;
  • specialized keyboard and mouse drivers are also needed;
  • QIP and Skype can wait a little, since until WiFi is connected, they are of little use.

We will do the same with the rest of the programs. Although they are needed, the system does not need them in the first seconds of operation. We have to distribute their loading over time - these programs will be launched by the scheduler. It should be noted that it is worth disabling your own autorun in programs, if provided, since after a reboot the settings for them will be lost by default.

Pre-testing

To check the work of the scheduler, you should measure the boot time of your Windows 7, first before and then after distributing programs. In order not to track the time and not have to worry about the clock, you can look at the time in the event log.

How to measure OS boot speed - described in the article Measuring speed windows loading 7

Create a simple task

As I noted earlier, QIP and Skype can wait a little while for the computer to catch and connect to WiFi. I need Skype to turn on after the internet is connected.

Start Task Scheduler by clicking Start - Search - taskschd.msc.

To quickly search and manage tasks, it is recommended to place tasks that are related to startup programs in one folder. Click on the "Library" node of the task scheduler and select "Create Folder" from the menu, then specify a name - in our case "Internet". The names can be different, everything is limited only by your imagination. There will be autoload tasks.

Right-click on the new folder, then select “Create a simple task” - the wizard window will immediately launch.

You must provide a name for created task and click the “Next” button. IN in this case by the name of the program - Skype.

The task trigger should be specified When you log in to windows or when you start your computer, then click “Next”.

Select "Run a program" and click "Next".

The next window is "Starting the program". Here you need to specify a valid path to the program file. To do this, you can simply enter the path to it or use the “Browse” button. If you need to run the application with command line parameters, then enter them in the required field, then click the “Next” button.

Then check the box that opens the properties of the task, and feel free to click "Finish". After that, the Task will be generated, and the properties will open.

It remains only to configure the delayed start of this task. Go to the "Triggers" tab and click "Edit" for the trigger you need.

Set the required parameters and confirm.

Here you can select parameters for your own and other user profiles. For example, if no one except you works with this application, then you should leave only your account in users, but if everyone needs it, you should select any user. Also create tasks for other programs that you want to put aside.

It is necessary to take into account - for how long it is necessary to postpone the launch of the selected program after the system is started or the user logs in. I'm happy with Skype launching after 30 seconds when the Internet is available.

When you need to run a program before delayed start, you can always do so - the scheduler will not run the program if a copy of it is already running.

Checking the functionality of the task scheduler

Turn on the stopwatch and restart your computer. If everything works much faster and more stable, everything is fine. Explorer.exe and egui.exe do not have an interface, to make sure the programs work, use the task manager. You can launch it by pressing the treasured keys CTRL+SHIFT+ESC.

Importing and Exporting Scheduler Jobs

If you are the owner of several personal computers and there is not enough time to configure all the above scheduler settings on each, you can import or export tasks. To export tasks, select Export. The task is written in an XML file - you can use it in Notepad or another text editor edit a little to optimize it for another computer. To import tasks you must select required folder and “Import task”, select the edited file and run the task.

Cloning Scheduler Jobs

Having one exported file, it can be cloned and slightly edited. It will take you a few seconds to clone. It will be relevant to change the interval between system starts and the scheduled program. It is also worth considering the path to the program and, if any, the command line arguments.

The RandomDelay parameter of the Triggers node determines the delay interval

Here PT30S is the program start delay time, and name-PC()\name is the computer name/username, respectively. Correct lines 4 and 5 as necessary.

The launch of the application is determined by the parameters in the Actions -Arguments and Command node

3 "C:\Program Files (x86)\Skype\Phone\Skype.exe"

In line 3 you need to specify the path for the working file. If there are command line parameters, you should specify them on line 4.

Conclusion

Within the framework of this article, only one of the options for accelerating the loading of Windows 7 was considered - by distributing the startup time of programs using one task scheduler. This method makes it possible to quickly start working and leave automatic download without changes.

docscom.ru

Windows Task Scheduler Secrets - Automatic Maintenance

Beginning with Windows Vista, the job scheduler plays a very important role in maintenance and optimization operating system. Today I will talk about the innovations in automatic maintenance of Windows 8 and explain what they are connected with.

At one time, I examined in detail the tasks built into the Windows Vista scheduler, focusing on whether it makes any sense to disable them. In fact, it turned out that there are very few of them. I have been asked more than once in the mail to do the same review of the Windows 7 scheduler, but I did not see any reason in this. After all, the only change was the increased number of system maintenance tasks.

However, with windows output 8, there was a reason to return to this topic, especially since elements of automatic system maintenance even appeared in the control panel.

[+] Today on the program

Control Panel

In the "Service" section of the center windows support a new component has appeared - automatic maintenance.

Enlarge picture

Do not rush to start the service manually, we will come to this later. Let's first take a look at its simple settings (they can also be found in the control panel when requesting service).

Enlarge picture

Startup time, inactivity and PC resource usage

From detailed description It can be seen that the service start time does not need to be changed. It will still happen at the appropriate moment when the system goes into idle mode. However, what the control panel description doesn't tell you is that if you start interacting with the system while it's being serviced, it will stop immediately. And this is logical, since background tasks can be accompanied by intensive load on the disk and processor, thereby interfering with your work.

Automatic windows maintenance runs at maximum performance, using all system resources to complete it as quickly as possible.

While working in Windows, you may have noticed from the sound and indicators of the PC case that an unattended system sometimes demonstrates increased processor and disk activity. But as soon as you return to work in the system, this activity immediately declines and then stops. This is background service!

Wake up PC

I'll take a closer look at the system wake-up option to clarify a few points.

Automatic windows maintenance is still carried out using the scheduler, but now it has a new group assignments for this purpose.

Scheduled Jobs

In windows 8/8.1, find the scheduler in programs and go to the Task Scheduler Library - Microsoft - windows – TaskScheduler section.

In Windows 10, these tasks are hidden from the scheduler so that people do not interfere with OS maintenance by disabling tasks. However, they are all in the registry, so particularly talented users will be able to prevent service if they wish.

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\windows NT\CurrentVersion\Schedule\TaskCache\Tree\Microsoft\windows\TaskScheduler

At the bottom of the list you see the same Regular Maintenance task, the daily launch time of which can be configured in the control panel. Please note that in the scheduler you can change the launch schedule, for example, to weekly. However, it is not at all necessary to do this, because in the end everything comes down to the inaction of the PC.

If you run the Manual Maintenance job, the system will perform the same set of maintenance tasks as when you run the scheduled job. The difference is that your interaction with the system will not interrupt the optimization process, since you started it yourself.

The disabled Idle Maintenance task is interesting because the system itself turns it on when performing manual or automatic maintenance. However, I could not find out any other details about him.

The Maintenance Configurator task, judging by several triggers, defines a list of tasks that maintain the system.

What tasks are performed to maintain the system

You can run maintenance manually from the Control Panel or by using the MSchedExe.exe Start command and see what happens. For complete happiness, first open the task manager, and at the same time the resource monitor on the “Disk” tab.

So, the first thing I saw was the processor activity of the MsMpEng.exe process. When I opened windows Defender, I made sure that a quick scan was performed by the built-in antivirus. At the same time, the indicator flashes external drive, and the resource monitor pointed to activity in the images folder. My assumption that this was the work of file history was quickly confirmed by the filter Process Monitor.

In either case, you will see the CPU consumption of the system process, because the service is running on behalf of the system. In particular, maintenance also includes the following tasks:

I deliberately did not list all the tasks, because you can figure out their list yourself! To do this, go through the scheduler folders in windows section, paying attention to the time the job was last run.

Enlarge picture

If a task was performed shortly after running Manual Maintenance, it is included in the general list of maintenance tasks. The figure above shows several scheduler jobs that the system executed immediately after running a single maintenance job.

However, all these tasks are not necessarily completed in full. If you are not participating in CEIP or there are no new problem reports, then there is nothing to submit. In the same way, if there is no need to create a restore point, it will not be created.

What is the essence of the change in automatic maintenance?

The key difference in automatic maintenance of Windows 7 and Windows 8+ is the optimization of energy consumption by the operating system!

Previously, many maintenance tasks were solely scheduled and could run while running on battery power, but now they are tied to a single task that runs during periods of inactivity only when running on AC power and runs as quickly as possible.

This does not mean that all scheduler jobs are now only executed as part of automatic maintenance, since they can have multiple triggers defined. For example, a system restore point must be created when installing updates and drivers. However, the absence of a trigger in a job indicates that it is being executed solely as part of automated maintenance.

The picture above illustrates the same task for backup registry, Dr. Watson’s story about which helped out many people who had lost hope of restoring the system.

Why does Microsoft need this?

Sales desktop computers are steadily declining, giving way to mobile systems, and all analytical agencies unanimously predict the continuation of this trend. Thus, Forester Research believes that in the next three years the already low share of desktop PC sales will further decrease due to the growing popularity of tablets, ultimately amounting to only 18%.

Obviously, in this situation, the battery life of the device comes to the fore, and the efficiency of the operating system in this aspect is very important. Microsoft has talked a lot about how the power consumption of Windows 8 is improved compared to Windows 7, and consolidating background OS maintenance tasks is one of the important steps in this direction.

At the same time, Microsoft is not limited to optimizing background windows tasks, giving developers, IT professionals and end users the opportunity to add their task to the system's automated maintenance. Next, I'll show you how you can do this without much effort.

Creating your own task to be performed as part of automatic maintenance

Do you have any Windows maintenance tasks that rely on the scheduler or logon scripts? If they are not interactive, it may make sense to put them into automatic maintenance mode in the background. Examples of such tasks include:

All automated maintenance tasks are performed in stealth mode. For example, window batch file will not appear.

Creating an XML File

IN graphical interface The Windows scheduler does not provide the ability to include your task in automatic maintenance. However, you can create an XML file that describes the task and import it into the scheduler. In the example file below, you only need to change a few settings.

Example Automatic Maintenance XML File

The file contains my brief comments, but I will describe the key points below.

MaintenanceSettings node

Starting with Windows 8, the job syntax supports the MaintenanceSettings node, which is responsible for automatic maintenance.

There are two key parameters here.

This is the frequency at which your job is performed as part of regular automated maintenance. For example, P1D means the job will run daily, while P30D means once a month.

This is the deadline for completing the task. For example, P7D means that the task must be completed at least once a week.

If the job has never been run during regular maintenance, the system will run it the first time the system is idle. If the PC is used in a mode that does not allow the system to remain idle, emergency maintenance comes into play. In this case, the user receives a message that it is running to explain the load on the disk and processor.

Emergency maintenance performs all tasks included in the automatic maintenance list. However, the missed task is always completed first.

Exec node

This node was present before, denoting the command and command line options. You can specify any executable file, incl. script.

Cmd /c echo %date% %time% >> "%windir%\temp\test.txt"

In my example, the date and time the command was executed is simply written to text file in a temporary folder, which is convenient for testing.

Importing a task into the scheduler and checking its operation

Importing a task is performed with one command:

Schtasks.exe /create /tn "Task name" /xml "Full path to the XML file"

After which the task is displayed in the scheduler library.

You can test the job by running it directly in the scheduler or from the command line:

Schtasks.exe /Run /tn "Task name"

All that remains is to make sure that the task is performed as part of automatic maintenance. If you don't want to wait for it to work according to your conditions, force automatic maintenance by running the Manual Maintenance task in the scheduler or from the console:

Schtasks.exe /Run /tn "\Microsoft\windows\TaskScheduler\Manual Maintenance"

The picture below shows my task of cleaning temporary files with a script.

Despite the absence of triggers, the task completed, successfully deleting unnecessary files. Note that the job's execution time to the second is the same as the start time of other automatic maintenance tasks.

I use the task scheduler for:

And you? Tell us in the comments what tasks you use the scheduler for!.

www.outsidethebox.ms

Troubleshooting Task Scheduler

If you are having problems scheduling or executing jobs, first ensure that the Task Scheduler service is running. To do this, from the Start menu, select Control Panel, System and Maintenance, Administrative Tools, and Maintenance, and make sure that the Task Scheduler service status is Running.

For updated troubleshooting information, visit the Task Scheduler troubleshooting website.

For information about events and error messages related to the Task Scheduler, see the Event and Error Message Center.

If the job does not start as expected, ensure that the job is enabled and that all job triggers are configured correctly. For more information, see Activating a Job. For more information about updating job triggers, see Modify an existing job. Also check the job log to determine when job triggers were activated and whether errors were logged. For more information, see View job properties and history.

The task will be launched only if all the conditions specified for it are met. The task conditions are displayed on the Conditions tab of the Task Properties dialog box. For more information, see Job Conditions.

Depending on the job security settings, some jobs will only run when a specific user is logged on. If a scheduled job does not run as expected, check that the job's security settings are correct. For more information, see Job Security Context and Modifying an Existing Job.

If a job tries to run a program, but the program starts with errors, try starting the program manually (not through the job) and make sure it runs correctly. You may need to add command line parameters to the program path. For more information, see Actions. If possible, check out background information for the program you are trying to run.

Some programs require elevated privileges to run correctly. If you run such a program using a job, make sure that the job runs with elevated privileges. You can configure a task to run with elevated privileges by changing the security settings of the task on the General tab of the Task Properties dialog box.

If the program launched by the task does not work correctly, check the task log for errors. For more information, see View job properties and history.

If a job tries to submit electronic message but the message is not sent correctly, first make sure the job action settings are correct. To do this, check the values ​​specified for the SMTP server, by and from parameters. For more information about these settings, see Actions.

Make sure that the SMTP server sending the message is configured correctly. When working with a Windows SMTP server, emails are sent using NTLM authentication, which means that Account The security software used to complete the job must also have sufficient privileges to send email messages on the SMTP server. If the SMTP server is not running Windows, the email will only be sent if the server allows anonymous access. For information about setting up an SMTP server, see Setting up an SMTP server. For information about managing SMTP server settings, see SMTP Administration.

The job trigger can fire frequently enough to cause 100% CPU utilization. If this problem occurs, you may not be able to use the system.

To resolve this issue, disable the job and then change its trigger. For more information about editing a job, see Editing an existing job.

If the system is not responding because a job is consuming all system resources, follow these steps:

  1. Restart your computer in safe mode (the Task Scheduler service does not start in safe mode).
  2. In the /windows/System32/Tasks folder, rename the task file or delete it.
  3. Reboot your computer normally, and then redefine the task.

technet.microsoft.com

Let's see how to start Scheduler Windows jobs on the computer different ways. Task Scheduler snap-in - operating room component Windows systems to complete various tasks scheduled at specific times.

Using the Task Scheduler, automatic maintenance of the operating system is performed, applications are launched deferred, etc. Some tasks are scheduled in the Windows Scheduler itself, other tasks are automatically added by programs or scheduled by the user after adding the task manually to the system tool.

Do the following:

  1. Run Command Prompt as Administrator.
  2. In the command line interpreter window, enter the command: “taskschd.msc” (without quotes), and then press the “Enter” key.

After this, the “Task Scheduler” window will open on the computer.

How to Open Task Scheduler in Windows PowerShell

Another way to launch the scheduler on your computer: using the tool Windows PowerShell.

On Windows 10, do the following:

  1. Right-click on the Start menu, select "Windows PowerShell (Admin)".
  2. In the “Administrator: Windows PowerShell” window, enter the command: “taskschd.msc” (without quotes), and then press the “Enter” keyboard key.

As a result, the Task Scheduler will be opened on the PC.

Opening Task Scheduler in Computer Management

The Task Scheduler is built into the Computer Management console and can be opened from there.

To launch the Computer Management console, you can use dialog box“Run” by entering the command: “compmgmt.msc” (without quotes).

Another way to log into the Computer Management console:

  1. Click on the “My Computer” (“This Computer”) icon on the Desktop. Read how to return the “My Computer” icon to the Desktop.
  2. IN context menu select "Management".

In the Computer Management window, under Computer Management (Local), Task Scheduler appears in the list of utilities.

Open Task Scheduler from the Start menu

Task Scheduler is present in the list of applications in the Start menu. To launch the application, you need to go to the Start menu, find the Administrative Tools folder in the list of programs, and then launch Task Scheduler.

How to open Windows Task Scheduler from Control Panel

Finally, we will run systemic remedy from the Control Panel. First you need to open the Control Panel of your operating system.

We'll launch the Control Panel in a way that works in all versions of Windows:

  1. Press the "Win" + "R" keys.
  2. In the Run dialog box, type "control" (without the quotes) and then click OK.
  3. After launching the Control Panel, you must select “Small icons” in the viewing settings.
  4. In the All Control Panel Items window, click on Administrative Tools.
  5. In the Administration window, select Task Scheduler.

Conclusions of the article

If necessary, the user can open the Task Scheduler in Windows different ways: by entering a command from the Run dialog box, from the command line, from Windows PowerShell, launching the application from the Start menu, from the Computer Management snap-in, from the Control Panel, using search.

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, in search bar enter 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 something is coming in 5 minutes. New Year 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.

Published: 10/05/2014

The Windows 7 task scheduler, also known as the Windows task scheduler, is located in the computer's control menu and serves both as a reminder built into the system and as a scheduler of future tasks for their subsequent execution.

The execution of tasks in the scheduler can be repeated according to a schedule and depend on certain conditions under which the task will either be executed or not. The condition and frequency of performing a certain task are set by the user when planning it. Okay, now let's take a closer look at how all this is done.

Where can I find a task scheduler?

As I already wrote, in the computer control menu. To do this, simply right-click on the “Computer” icon on your desktop. If you don’t have such an icon on your desktop, open the “Start” menu and right-click on “Computer”.

In the drop-down menu that opens, click on the “Manage” item.


And in the computer management window that opens, go to the “Task Scheduler” that appears in the left menu.

Active tasks in Task Scheduler

In the task scheduler that opens after the transition, we see that it already has some active tasks. These tasks were added there using built-in Windows tools and various third party programs. Such as Adobe and Google in my case.


If you want, you can edit these tasks or delete them altogether. To do this, just double-click on the task you are interested in.

Create your own task

Now let's try to create our own task. You can do this in two ways. Either by clicking on the “Create a simple task” item, or by clicking on the “Create task” item. All these items are located in the right menu called “Actions”, shown in the picture above.

The differences between a simple and a regular task are that the former does not have the ability to configure additional parameters and conditions under which the task will or will not be executed. Setting additional parameters and conditions is rarely used, so the task scheduler provides 2 options.

I will consider creating a new task in the task scheduler based on the usual one, in order to most fully reveal this topic to you. Do not be afraid! Once you have mastered creating a regular task, creating a simple task will not raise many questions for you. For this reason, I will omit the process of creating a simple task.

General tab

So, click on the “Create task” item and get into the “Create task” window. Let's start looking at the capabilities of this window from the "General" tab.


In the "Name" field, enter the name of the new task; in the "Description" field, enter a description for the new task. Then we determine on behalf of which user the task will be executed and whether it will be executed for all users (even for guests) or only for specifically specified ones.

Check the box next to "Run with highest rights" if the future task requires administrator rights to run. And in Windows 7/8 OS this is almost always the case. There you cannot even copy a file to drive C without administrator rights, so I sincerely advise you to check this box.

You can also check the box next to the "Hidden task" field. This is necessary if you do not want your task not to appear in the list of active tasks.

Well, of course, opposite the “Configure for” field, select your system from the drop-down list. In my case, this is Windows 8.1 with an interface configured from Windows 7. Do not be surprised. In one of the future articles I will definitely tell you how I set it all up.

Triggers tab

The "Triggers" tab is responsible for setting the conditions for starting a task. That is, in this tab we define under what condition our task should be launched.

To add a new condition for triggering a task, you need to click on the “Create” button in the lower left corner of the “Triggers” tab


As a result, we will get to this window for creating a new trigger (conditions for starting a task). As we can see from the top drop-down list of conditions for launching a new task, there can be a great variety. And they all have their own additional, but intuitive, settings. So don't be afraid.

I think most of the launch conditions are clear to you, but I will still explain some:

Upon event

This is when in one of the magazines windows events there is a recording of some event that just happened. The task scheduler reacts to this entry and performs some predetermined task.

Windows event logs are also located in the management tab, right under the windows task scheduler. You can open one of these magazines and look at some event.

You will see that each event has its own source and code. It is on the source and event code that you can configure the launch of a task in the task scheduler.

When creating or editing a task

This refers to the current task that you are currently creating. As soon as you create it, some action will be performed. Or if you suddenly decide to change this task over time, some action will also be performed.

When connecting or disconnecting from a user session

This is when you use the built-in windows tools 7/8 install remote connection to another computer running Windows 7/8. The task will be executed on the computer to which you are connected. (if the task is written on it to do something when connected.)

This works roughly the same way for local computer. That is, when you log into the computer under one user, and then log in under another, some event will be executed if you defined it in advance.

When locking/unlocking a workstation

This is when you go to the shutdown menu and select “Lock”.

Accordingly, when the computer is locked, you can perform one task, and when unlocked, another. It depends on your imagination.

Actions Tab

This tab is responsible for the action itself, which will be executed when the condition we set in the trigger is triggered. As in the "Trigger" window, in the "Action" tab, first of all, you need to add a new action using the "Create" button in the lower left corner.


As you can see, there are only 3 possible actions, so I’ll try to show you with examples how they are configured.

Starting the program

Here we just need to specify the path to the executable file of the application that we want to run


You can also specify the working folder (the path to the folder in which the executable file is located) and arguments for the application to be launched, if you want the application to start in a certain mode.

I warn you that the arguments for each application are different, but there are some common ones among them. You can torture the search engine if you are interested.

Sending emails

As the name implies, you need to send a letter from one mailbox another. For example, you ordered the system to send you a letter from the office to your home PC if 1C accounting crashes with an error. Here's an example:

Display a message

Everything here is completely elementary. Fill in the title of the window, the text of the message and save.



Conditions tab

This tab is needed to check additional conditions. If they are completed, the task will run. If additional conditions will not be executed, the task will not run.


Using this tab, we can determine how our task will react to computer downtime, its connection to a power source and network type. In general, there is nothing complicated here, you will understand everything yourself.

Options tab

We need this tab to configure additional parameters for performing our tasks. It allows us to determine what needs to be done if our task suddenly does not work at the right time, how often it should be repeated, whether it is worth waiting for the completion of the previous task before creating a new one, and other similar things.


Here I think you will figure out for yourself, based on your interests, what and how you need to display. Everything is as always simple and clear.

In custody

After you fill out all the necessary tabs in the task scheduler, feel free to save the new task and check its functionality. Just check to be sure that at the right time everything will work as it should. And with that, let me take my leave and wish you good luck. Your,

Today, few users know that there is a program called Task Scheduler for Windows 7 and 8.

In fact, this is a very useful thing, the meaning of which is to launch certain programs under certain conditions and at a certain time.

In addition to launching programs, you can also perform other tasks - sending emails via e-mail, displaying a message with some text (reminder) and more.

Such functions are very helpful when you need to complete many tasks, but you can’t remember all of them, and writing everything down on pieces of paper and hanging them in all places in the room is ineffective, because they will simply get lost.

The task scheduler is also convenient because it is very easy to use. Let's consider all operations with this program.

Launch

To open the scheduler, there are two ways: one is to use the Start menu (Windows menu if it is Windows 8) and the second is to use the command line.

To use the first method, you must do the following:

  • Open the Start menu (Windows menu) and launch Control Panel there.

  • Next, you need to click on the “System and Security” item (in some systems “System and its maintenance”) and in the window that opens, click on “Administration”.

  • Next, a list of programs available within the capabilities will open. Windows administration. Actually, among them will be the “Task Scheduler” we need. You need to double-click it, just like any other regular program.

The second method is done as follows:

  1. In the Start menu, click on All Programs, then in the Accessories folder, find Command Prompt. You can also press the “Win” and “R” keys simultaneously, enter “cmd.exe” in the input line and press Enter or the “OK” button in the same window (Fig. 4).
  2. IN command line you just need to write “Taskschd.msc” and press Enter (Fig. 5).

Now you can start adding a task.

Create a task

From the very beginning, you should select the folder in which the created task will be located. To do this, you just need to click on it in the scheduler library tree on the left.

You can create a new folder by clicking New Folder under Action in the top menu.

In the selected folder there are two options for creating a task - in light mode and in normal mode.

To use the first option, you need to click on the “Create a simple task” button in the menu on the right. And then you need to do the following:

  • In the window that appears, enter the name and description of the task. The second is optional. After that, click on the “Next” button to move to the next step.

  • Then you just need to select when the selected action will be performed and click “Next” again.

  • Next you need to choose what to do. We work in a simplified mode and there are only three options available here - launching a program, sending email and display a message.

  • For example, you can choose to display a message on the screen. In this case, you will need to set its title and the message itself.

  • Further in the scheduler window we will once again see all the conditions of the task being created. If everything is correct, click “Finish” and wait for the task to begin.

Actually, here is our created message.

And to create a task in normal rather than simplified mode, in the “Actions” menu you need to select the “Create task” command.

In principle, there are practically the same tabs and steps for creating a task, but there are many more parameters.

For example, already in the first window you can specify not only the name and description of the task, but also for whom it will be performed.

This can be done for registered or unregistered users. Also, the task can only be performed by those with the highest rights.

Creating a trigger

  • Create a trigger. In the simplified mode, the user simply indicated how the task would be performed - once, every month, and so on. Here you can select some additional parameters, such as repetition, stopping after a certain period of time, expiration date and much more.

As an example, let's create the same message output with the same text. To do this, select “once” and set the output time, and repeat every 5 minutes.

After setting all these parameters, click the “OK” button and the trigger will appear in the list.

  • We create an action in the same way - go to the “Action” tab, click “Create”. In the window that opens, next to the “Action” inscription, select “Output message”, enter its title, text and click “OK”. A new one appears in the list of actions.

  • Go to the "Conditions" tab and set the ones we need. Here you can specify that the task should only be performed when the computer is idle for a certain period of time, only if there is power or network access.

  • In the “Parameters” tab, you can make sure that a task stops executing if it runs for more than a certain time, cannot be stopped on demand, and much more.

Managing created jobs

All actions on already created tasks are performed in the scheduler window, in its very central part. Specifically, you can do the following with them:

  • delete– just left-click on the task and press the Delete button on the keyboard, or right-click on the task and select “Delete” from the drop-down list;

  • export, and then import– in the same way, right-click on the desired task and in the drop-down menu click on “Export” (a dialog box for saving the file in .xml format will appear), and then in the menu on the right click “Import” (a menu for selecting the desired file will appear);

  • edit an existing job– just click on the required task left-click twice, after which the same wizard in which the task was created will open (you can also click once and a miniature wizard window will appear in the bottom panel);

Note: You can change all settings except name and location folder.

  • execute or terminate execution on demand - there are commands for this in the lower right corner of the scheduler window.

Display of all running tasks

To see everything, even hidden tasks that are running in this moment, you need to select the “Display all running tasks” item in the scheduler window in the “Action” tab, which is located at the top of the program.

By the way, in this window you can also cancel the execution of a task, that is, stop it.

To do this, simply left-click on it and click the “End task” button, which will become available.

View properties and log

To view the properties, you need to left-click on the desired task once and select the appropriate item in the action menu (bottom right).

It has a “Log” tab, which will display all the information about how this task was performed.

Read more about managing your PC in our material:

Visual instructions for using the scheduler to optimize system load are shown in the video below:

If you notice an error, select a piece of text and press Ctrl+Enter
SHARE: