Scheduled switching on and off. Initial actions in the task scheduler. Setting the exact time of the current date from the command line to shut down and restart the computer

Situations often arise when you need to step away from the computer, but it is not possible to turn it off, for example, because a file is being downloaded, some program is running, etc. Some programs, like Nero or Flashget, provide this function. We will mainly look at ways to turn off a computer using Windows capabilities.

Shutting down the computer using the shutdown utility

The program runs via the command line, so let’s open it first - Start – Run – cmd or P usk – All programs – Accessories – Command line. To find out all command keys shutdown, enter it with the parameter /?

Shudown command options:
-i- display GUI. When used, this key is placed in front of everyone else.
-l- Sign Out. Incompatible with key –m.
-s- turning off the computer. - canceling the reboot/shutdown.
-m A- application of the operation to remote computer With name A.
-t N- operation execution timer N seconds
-c “T” comment on the operation. When used, a comment will be displayed in the window T. On the command line, be sure to enclose it in double quotes. Must not be longer than 127 characters.
-f- Forced shutdown of applications without prior warning.
-d [u] [p]:xx:yy Reason code. u– user code. p– planned completion. xx– main reason code (1-255). yyadditional code reasons (1-65535)

The command can be entered with any of the listed parameters. For example, for automatic shutdown computer an hour later enter the command shutdown –s –t 3600, where 3600 is the number of seconds that make up one hour.


After entering the command, just press Enter and a window will appear with a warning about the completion of work and a timer with countdown time.


You can cancel the shutdown by re-entering the command shutdown with key –a .
The described method works in Windows XP and 7, but does not work in Vista.
Another option for the same command is to immediately enter the time when the computer should turn off in the format:
at time shutdown –s
In this case, a shutdown task will be added; you can see it in the list of assigned tasks: .


Using a script to shut down your computer

There is a ready-made one that allows you to assign a task to turn off the computer after a specified time. Just download it, unpack it and run it. For convenience, you can save it directly on your desktop to run the script as needed. After starting you need to enter the time in seconds and confirm. The script will appear in the list of processes and after the specified time will execute the command shutdown to turn off the computer.

Assigning a task to shut down the computer

For automatic shutdown computer, you can assign the task manually. Let us note right away that you will need an administrator password, and if you log in to the system without a password, you will have to set it in your accounts, or not use the proposed method.

Go to the menu Start – All Programs – Accessories – System Tools – Scheduled Tasks. Add a new task and specify it as an application in the folder windows/system32 file shutdown.exe. Alternatively, you can select any application, and later enter the full path to shutdown.exe in the task properties. Then we set the task execution time. And we immediately move on to additional settings, where we indicate the key parameter –s to turn off the computer.


The added task will appear in the list and when the specified time arrives, the scheduler will execute shutdown command.

Using the psshutdown utility to schedule a computer shutdown

The psshutdown utility suggested by by Microsoft, has greater capabilities compared to shutdown. It is included in the PsTools set of utilities and, in addition to turning off the computer, allows you to put it into sleep or standby mode, specify exact time shutdown or time until shutdown, and also provides many other convenient functions. The utility works in Windows versions XP, Vista and 7.

Let's run it and wait for the installation to complete. After this, it will be possible to run the psshutdown command on the command line. Viewing all keys, like its counterpart, is performed with the parameter /? When you first start, you need to confirm your consent to use by clicking the button . Here are the main options for the psshutdown command:
-k- turn off computer
-n- number of seconds before the command is executed (maximum 20 seconds)
-r- to restart a computer
-t- specify the shutdown time in hours:minutes format
-a- abort the shutdown operation

Please note that the key letters for this command differ from those discussed earlier for shutdown. To turn off the computer in certain time, for example, at two o'clock in the morning, enter
psshutdown -k -t 02:00
As a result, it will be launched countdown until turned off, displayed in a separate window on top of all windows.


Instructions

Click the "Start" button to open the main menu of the system and go to the "Control Panel" item to configure the settings for putting the computer into sleep mode.

Point to "Power Options" and select "Set up power plan."

Specify the desired time in the “Put the computer to sleep” section of the dialog box that opens and click the “OK” button to apply the selected changes.

Select the “Task Scheduler” item and click the “Create task” button in the right panel of the application window.

Specify the desired task name in the General tab of the dialog box that opens and go to the Triggers tab.

Click OK to confirm the command and go to the Actions tab of the main Task Scheduler application window to specify the action you need to take to wake up from sleep mode.

Click the "Create" button and specify required action in a new dialog box.

Click the "OK" button to confirm the selected changes and go to the "Conditions" tab.

Check the "Wake the computer to run a task" checkbox under "Power" and click "OK" to save changes made.

Video on the topic

note

To schedule a wake-up schedule for your Windows XP computer, use BIOS commands.

Helpful advice

Use the Task Scheduler tool and shutdown program(console) to perform a scheduled computer shutdown task.

Sources:

  • Hibernation, Sleep and Hybrid Sleep in Windows 7
  • how to turn off a computer using the task scheduler

Scheduler tasks helps the user personal computer configure the launch of programs at your discretion. Sometimes this program blocked by file protection tools.

You will need

  • - Internet connection.

Instructions

Open the Run utility from the Start menu operating system Windows. Enter the command C:WINDOWSSystem32svchost.exe –k netsvcs. After that click Enter key, and the scheduler will open on your computer tasks Windows XP

Take advantage alternative way launch the scheduler tasks. Because this regular program, which is part of the computer administration utilities, launch it from the corresponding Control Panel menu. Find a service called " Scheduler tasks", if necessary, check the box automatic start.

Enable the service, restart your computer. Similar to the scheduler in operating systems Windows Vista And Windows Seven. In the latest OS, the scheduler can also be launched by entering the name of the utility in the search bar when opening the Start menu; this is due to the simplification of launching programs in Windows Seven. Please note that they are also available in the Computer Control Panel when you switch the icon view.

In cases where for some reason your service is lost " Scheduler tasks", create Text Document and enter into it the code of the operating system registry file, which is responsible for this utility. It is quite easy to find on the Internet, just copy it without modifications, save it on your hard drive, and then turn on displaying extensions for registered file types in the folder properties on the view settings tab.

Rename the document you recently created and change its extension from .txt to .reg. Open the file double click mouse, and then confirm making changes to the system. Wait for the registry to update and restart your computer. Also configure the scheduler to start automatically in the manner described above.

Helpful advice

Use Task Scheduler to automatically start programs on Windows.

Sources:

  • how to configure windows xp task scheduler

Turning on the computer from the keyboard is not the most used function of the operating system Microsoft systems Windows, but the solution to this problem can be found in changing BIOS settings(Basic Input-Output System), which can be changed by the user without involving additional software.

Instructions

Press repeatedly function key Delete immediately after the computer to launch the BIOS settings window. Depending on the version of the installed operating system, the F1, Esc, and Tab keys may also be used.
Standard call key BIOS programs in laptops it is considered F2. In Windows Vista, we recommend that you restart your computer from the main Start menu or use the Power On/Off button to complete shutdown computer.

Go to the APM Configuration section in the Power group to change the BIOS settings for turning on the computer from the keyboard.

Select the Power On by PS/2 Keyboard option and specify the desired action:
- Sparce Bar - to turn on the computer by pressing the “Space” key;
- Ctrl-Esc - to turn on the computer using the selected key combination;
- Power Key - to turn on the computer by pressing the Power key on the keyboard.

Specify the Restore on AC Power loss option to enable the general functionality of the selected command and select the desired action in the Power On By RTC Alarm section:
- RTC Alarm Date - to set the date automatic switching on computer;
- RTC Alarm Hour - to set the hour for automatically turning on the computer;
- RTC Alarm Minute - to set the minutes for automatically turning on the computer;
- RTC Alarm Seconds - to set the seconds for automatically turning on the computer.

Use additional features BIOS settings to assign a task when turning on the computer - startup music player, network login, etc.

Select Save and exit setup to exit the BIOS program, saving the settings changes made, and click Yes in the prompt window that opens.

Sources:

  • Turning on the computer from the keyboard
  • how to start a computer from the keyboard

Switching off is enough convenient feature in the Windows operating system. The user does not have to worry about home computer will work all night, and the worker will remain on on weekends or holidays.

Instructions

When setting up an automatic shutdown of your computer, you can set the shutdown time and frequency of operation of this function, but there is one condition: at least one password-protected account must be created on your computer. If you are the only user of your home PC, you will have to accept the fact that you will have to log in with a password.

To create an account and password, open Control Panel from the Start menu and select the category " Accounts users." Click on the icon of the same name and select the “Computer Administrator” entry. In the window that opens, select the “Create a password” task. Enter a password that you can remember in the first field, and confirm it in the second field. The hint field is not required. Click on the “Create Password” button.

Open the Scheduled Tasks component. There are several ways to do this. Go to “Control Panels” in the “Performance and Maintenance” category and click on the corresponding icon. Or, in the “Start” menu, expand all programs, select the “Accessories” folder, the “System” subfolder and click on the “Scheduled Tasks” icon in the submenu. A new window will open.

Select the Add Job icon to bring up the Job Scheduling Wizard. The list of programs offered by the “Wizard” will not contain the application you need, so specify the path to it yourself. Click on the "Browse" button, select Windows folder, system32 subfolder and find the shutdown.exe file. On next level Give your task a name, for example, “Schedule computer shutdown.” Specify how often the computer should perform this task by checking the appropriate box (daily, weekly, once, etc.).

Specify the time at which the computer will be turned off, and determine how often it will turn off (constantly, only on weekdays, or on the day you specify). In the Start Date field, set the day, month and year using the drop-down calendar or leave the current date set by the Wizard as default. Next, enter your system password and confirm it. Before you complete the job assignment, check the Set Advanced Options box. Click the "Done" button.

In the window that opens, open the “Task” tab and add [space], [-], [s] in the “Run” field without parentheses, quotes or commas. Example entry: C:/WINDOWS/system32/shutdown.exe -s. Click on the “Apply” button, enter and confirm your actions with the system password, click on the OK button to close the window. A new task will be added and your computer will shut down on a schedule.

Sources:

  • shutdown computer on schedule in 2018

Personal computers can now be found in almost any apartment. They are used for relaxation and work, for communication and games, for watching videos and listening to music. The computer can also be easily turned into a TV with the functions of recording programs on a schedule, viewing any available channels.

You will need

  • - computer;
  • - TV tuner.

Instructions

Buy a TV tuner. They are divided into two main types: computer-dependent and stand-alone. Of course, it is much more convenient to have an independent TV tuner - you do not need to turn on the computer every time you want to watch. However, they usually cost more.

Connect the TV tuner to your computer following the included instructions. If you purchased the internal TV tuner as a board, you will need to open system unit and install the board in one of the PCI slots. If the TV is , use the connection cable (it is also included in the kit). It is also worth considering the fact that internal devices do not take up extra space, and are easily installed in the system unit of a personal computer.

Turn on your computer and install the drivers for the TV tuner from the disk. Along with the drivers, a special program will be installed into the operating system, made in the form of a virtual one. With this program you will watch television channels.

Launch the TV tuner program and enable auto-search for channels. When the search is complete, place all the programs in a convenient order and give them names. Place the transmitter for the remote control on the table and watch TV directly on computer. You can set a schedule according to which virtual TV will turn on and record the selected programs for the specified time. You can then view the recording at a time convenient for you.

In general, we can say that the TV tuner is very useful on computer, since you can watch hundreds of channels in real time, record various videos and much more. It is also worth noting that you can connect to the TV tuner a large number of various, which allow you to easily view both Russian and foreign channels.

Video on the topic

Tip 6: How to set your computer to turn on automatically

Today there are so many software products, that we can safely say “A computer can do almost everything!” If you need to regularly start your computer to perform some tasks, check out the Auto-Power-on-Shut-down program.

You will need

  • Auto-Power-on-Shut-down software.

Instructions

How often have you had to get up in the morning to turn on your computer, for example, to start downloading, and then go back to bed. Now you don’t need this, this program will do everything for you. The only condition is . To download the utility, go to the official website of the program at the Internet address http://lifsoft.com and click the Download button. Specify a save location on your hard drive and press Enter.

On last stage installation, check the box next to “Run the program” and click the “Finish” button. Double-click the desktop shortcut to launch the utility. In the main program window, click the Evaluate button, because The program is shareware. Go to the Options tab and in the drop-down list window select “Russian” and click the “Apply” button.

Using the task scheduler, you can not only activate the option to turn off, but also turn on the computer by minute, force it to turn on various programs, go online, etc. Click the “Create” button, enter a name for the task and select any option, setting absolutely any time.

To create a kind of alarm clock, you need to check the “Enable” option in the “Actions” block. Just below, check the “Open file” checkbox and specify the path to the file. As a file, you can select not only a song from your favorite artist, but also a rooster or any video clip.

Then set the time and days on which it will trigger this function. For each event, you can assign your own melody, as well as text displayed on the screen, for example, “Today is your birthday!” or “Are you talking about the exam?”

There can be quite a lot of situations when you need to automatically turn on your computer. Someone is trying to set up receiving updates for the system, someone is starting to download torrents, considering the time to turn on the PC the most suitable for minimum payment for traffic, and for some, turning on the terminal or laptop is necessary for the alarm to go off, etc. Next, we will look at several methods that allow you to set up automatic turning on of the computer on a schedule. There are at least three methods used: using the settings of the primary BIOS/UEFI systems, operating tools Windows systems And specialized programs third party developers, which, however, have much greater capabilities than standard means and tools.

Automatically turning on the computer: user misconceptions

But before moving on to the main topic, it’s worth saying a few words about the most common misconceptions that exist among ordinary users.

For some reason, many people believe that such settings can only be made if the stationary terminal or laptop is in sleep mode or in hibernation mode.

Nothing like this! In such modes, the computer is clearly not in the off state, and the process of turning it on is nothing more than waking up from sleep. But how can you configure the computer to automatically turn on at a time if it is completely turned off? For stationary PCs, the main condition is the availability of power (the terminal must not be disconnected from the power supply). With laptops, the situation is much simpler, since they are powered by an internal battery, and you can disconnect them from the network completely painlessly, but only if the battery is fully or at least partially charged.

How to set the computer to turn on automatically in the BIOS

Let's look at the installation methods first. required parameters precisely in primary systems. BIOS Settings slightly different from the parameters more modern systems UEFI.

So, the first thing when you turn on your PC or laptop is to log in using the keys or their combinations (for laptops they can vary quite a lot, but for stationary terminals the Del key is mainly used). Combination used on a short time will appear on start screen.

Typically, turning on your computer automatically can be configured in the Power Management section or in the ACPI Configuration settings. In both cases, you need to find the Power-On by Alarm parameter or something similar and set it to Enabled. Just below you need to indicate the days on which the activation will take place and the time. The Everyday value corresponds to daily activation. If you set the calendar date from the 1st to the 31st, the computer will turn on once a month on the scheduled day and time, which seems somewhat inconvenient. Settings for multiple dates in BIOS options No.

Configuring enablement in UEFI

In newer UEFI systems You can also configure the computer to turn on on a schedule. After entering the parameters when starting your PC or laptop, you need to switch to advanced mode by pressing the F7 key.

On the “Advanced” tab, select the APM item, and in the list that appears, the corresponding button activates the power-on mode via RTC, sets the time and days for power-on activation, after which the installed options are saved upon exit.

Initial steps in the Task Scheduler

In principle, in order not to rummage through the settings of the primary systems, you can use the tools of the operating system itself, which is called the task scheduler (in most cases, automatically turning on and off the computer in Windows 10 or more early systems is done with its help, although the same optimization programs can be used to shutdown, which turn off the computer on their own after completing a scheduled scan and eliminating any problems found).

First you should go to the power supply section, in the settings of the current circuit, go to additional parameters, in the displayed list, find the sleep item and check the box for allowing sleep timers. After this, you can start working with the task scheduler.

The scheduler itself can be called through a search or through the “Control Panel”. But most in a fast way access to it is considered to be using the “Run” console, in which the command taskschd.msc is written.

In the editor window on the left, the scheduler libraries section is selected, and the creation item is used on the right new task. After this, you need to come up with a name for the task being created and enter it short description.

Creating a trigger

Next step will go to the triggers tab, where you need to click the create trigger button (as a rule, the main field will be empty).

After setting the necessary options, you should move to the actions tab and select from the list, say, display a message that will appear when you turn on the computer.

In the header and text fields of the message, enter what you think is necessary (for example, “With Good morning!”) and save the changes.

Note: You can select other playback options from the Actions list. music file, start downloading a torrent, installing an update, etc.

Setting conditions

Finally, the most important option. In the conditions tab window, you need to deactivate all items if they are active, leaving only the line to wake up the computer to complete the task.

If you do not use it, there can be no talk of any automatic turning on of the computer.

When saving installed options, if the configuration was made for a specific user registered in the system, a confirmation window may be displayed for entering the login and password that were initially used to log into the system.

Upon completion of all actions, make sure that automatic setting active, you can see the created task appear in the main scheduler window, for which the status column will indicate “Ready”.

Third party utilities

You can also use third-party utilities to set automated power-on parameters. One of the simplest, but very interesting, is a program for automatically turning on or off the computer called Time PC.

Quick setup for daily modes is made by activating the “Off/On” item. PC", and to set the days of the week on which it will be activated this action, you should use the scheduler section. After installing the necessary options, all that remains is to press the start button, after which the task will be completed with established frequency at the selected time.

The Auto Power-on & Shut-down utility is just as simple. It also uses a setting in the scheduler section, but the application has much more possibilities, since it allows you to automate some other modes (hibernation, reboot, shutdown, launching programs, stopping processes, opening files or links on the Internet, etc.).

Another app is Wake Me Up. It can be called a kind of lightweight version of the scheduler Windows jobs. But the settings made by creating a new task here are simpler and more understandable.

Disabling the installed mode

Finally, a few words about how to disable automatic computer startup. IN general case it all comes down to deactivation established mode. On primary systems, this mode is set to Disabled. In the scheduler, the created task is deleted. To shutdown without deleting the task, simply change the settings of the sleep timers, which were described above for the power section.

What to give preference to?

The only question that remains unresolved is which of everything described is best used from a practical point of view. As many have already understood, the easiest way is to use special programs, since they are distinguished by maximum ease of setup and the ability to set the computer to be turned on/off by day of the week during the month. The parameters of the primary systems also do not look particularly complicated. And actions with the planner, according to by and large, duplicate BIOS/UEFI settings, adding only the ability to create a task description, display a message, or configure other actions.

But, based purely on practical considerations, it seems that the most the best option will be the use of the Auto Power-on & Shut-down program, since it is the one that has the most expanded tools for all occasions. Some users may object that the use third party utilities will lead to the fact that they will constantly work in and “hang” in the system tray as a dead weight. One may not agree with this, since initially in such applications resource consumption is minimized as much as possible, and they are activated only according to the schedule established for the execution of the created tasks. Actually, if you look at it, it triggers once a day, unless several tasks are planned in the settings.

Perhaps many of the users of stationary personal computers were wondering how to organize automatic switching on And turning off the computer V specified time or according to schedule. In this article we will look at one of the more accessible methods.

To implement this function of a personal computer, we will use exclusively the built-in capabilities of the BIOS input/output system and operating system Microsoft Windows 7. Use of the software third party manufacturer is excluded by itself.

Let us define a schedule that consists of necessary conditions, i.e. we need the personal computer to turn on every weekday at 07:00 in the morning and turn off at 17:00 in the evening. Regarding weekends, due to restrictions in the BIOS input/output system, the computer will start at 07:00 in the morning and turn off after 10 minutes as unnecessary, because there is no one at the workplace.

So, let's begin. When you turn on your computer, you need to enter the BIOS input/output system. To do this, press the key "DELETE", basically this key is used in many motherboards, but there are still other options for using keys, such as:

Esc F1 F2 F3 F10 F11 F12

After pressing the "DEL" key, the system BIOS menu and will look something like the image below:

Set the value of the “Resume by Alarm” parameter to , activating the computer to turn on according to a schedule. In the “x Date (of Month) Alarm” parameter, you can select daily execution or specify the desired day of the month; in our case, we will use the first – Everyday. The computer turn-on time “x Time (hh:mm:ss) Alarm” is set to 07:00 am.

Thus, automatic switching on personal computer organized according to a schedule: daily activation at 07:00 am, both on weekdays and weekends.

Automatic computer shutdown settings

Now we need to create a schedule for automatic shutdown personal computer. The built-in console file will help us with this taskschd.msc, the so-called “Task Scheduler”, which will perfectly cope with the task. You can launch Task Scheduler using the “Search programs and files” line and Windows Explorer.

Method 1 - “Find programs and files”

Method 2 - “Explorer”

After the above commands, the “Task Scheduler” will open, in which you need to go to the “Task Scheduler Library” item and perform the action to create a task - “Create a task” or “Create simple task", as you like. Detailed description We will not describe the creation of the task; everything is accessible and written in Russian.

As you can see, in the figure below, two tasks have been created that produce automatic shutdown personal computer. The first task, called “OFF PC,” organizes the PC to turn off on weekdays at 17:00, and the second task, called “OFF PC Weekend,” turns off the PC on weekends 10 minutes after turning on the PC.

A detailed description of task creation is missing, but you need to know the following: automatic computer shutdown you need to enable the program launch shutdown.exe –s in every task.

And also in the “General” tab for both tasks, rules are set for completing the task only for a registered user, see below.

The created tasks will not function unless automatic user authorization is created in the system, i.e. when the computer starts and boots, login will not be performed, since you need to enter a password to log in, and this is stipulated in our created tasks.

Therefore, to log into “User Accounts” and set a password for automatic login into the system without a visible password request, you must open Explorer and specify "control userpasswords2" or "netplwiz", not for everybody.

Now we've finished setting up automatic switching on And shutdowns personal computer, using the built-in BIOS functions and Windows 7 OS. Try it YOURSELF!

To automatically turn off the computer at a time specified by the user, software developers have created many utilities that differ from each other in both the level of functionality and external design.

However, do not rush to install similar programs– it has its own and very good Task Scheduler. With it, you can not only turn off, restart or put your computer into hibernation mode, but also perform a lot of other useful actions.

To launch the built-in, use the search. Switching to the “Options” tab, enter search bar request “Schedule” and click on the “Task execution schedule” block that appears on the left side of the screen.

The built-in Task Scheduler has a fairly impressive set of functions. It was created primarily for experienced users, but can also be useful for beginners. Most the best option For a novice user, use the Wizard. Click “Create a simple task” and in the window that opens, enter a custom name for the task and a brief description.

Next, you will need to specify under what conditions the task should be performed, and also set the exact time for its completion. In our case, this will be a one-time action. Whatever the task in Windows, it always involves running a program or executing some command.

Therefore, in the next Wizard window, select “Run program”. But at this stage we will need the ability to use the command line, or rather, knowledge of certain commands. To turn off the computer using shutdown.exe with parameters.

Get details You can find out about the available keys by launching the console and executing “ shutdown.exe /?" For example, the parameter "s" used to turn off the PC, parameter "r" leads to reboot, key "h" used for translation local computer into hibernation mode.

The shutdown.exe command can be run with multiple keys at the same time. For example, with “s” and “t xxx”, where xxx is the number of seconds until the computer shuts down. And this is how it will look in the Task Scheduler.

Timer shutdown

Program or script: shutdown.exe Arguments: /s /t 00 /f

Brief explanation: /s indicates the shutdown of the computer, /t 00 for the time until completion (without waiting), the /f switch causes force termination all open applications.

And this is how a reboot is performed.

Program or script: shutdown.exe Arguments: /r

To put your PC into hibernation mode, you can use already known parameters command line or the following sets of commands:

Hibernation

Program or script: rundll32.exe Arguments: powrprof.dll, SetSuspendState 0,1,0

Dream

Program or script: rundll32.exe Arguments: powrprof.dll, SetSuspendState

Bottom line

The example given is only small part what the built-in Task Scheduler is capable of. This one is inconspicuous at first glance, but very useful tool will simplify your work at the computer and allow you to free up some free time.

If you often use the same programs during your work, there is no need to launch them manually every time you start the operating system.

Entrust these, as well as many other routine daily operations, to the Task Scheduler.