Shutdown the computer in. Automatic computer shutdown

class="eliadunit">

Although a regular laptop or computer is not equipped with a special button that allows you to set a timer to turn off the machine at a certain time, the developers of the Windows operating system have provided this opportunity for their users. In addition, amateur hackers have worked on this issue by developing additional software.

This article will discuss two ways to shut down and restart a computer on which Windows is installed:

  1. Built-in Windows tools.
  2. A special utility using PowerMan as an example.
  3. Programs with a built-in “sleep timer”.

Turn off your computer using a timer using the command line

In order to automatically shut down the system using built-in tools, you need to specify a specific command in the MS DOS window. This method is based on manipulations with the “Shutdown.exe” file, which, as you can easily guess from the name, is responsible for shutting down the system. The command line can be called, for example, by writing cmd.exe in the window that appears after pressing the keys Win+R. The MS-DOS command line looks like this:

By writing on the command line shutdown/? and pressing Enter, you can see the list of command attributes:

Thus, the most interesting are the two possible command entries:

  • shutdown /s /f /t xx- allows you to shut down the computer and force shutdown of all applications after a certain time xx (this parameter must be set in seconds).
  • shutdown /r /f /t xx- allows you to restart the computer, forcing a forced shutdown of all applications after a certain time xx.

For example, by clicking Win+R, cmd.exe, shutdown /s /f /t 600 , Enter, the machine will receive a command to turn off after a time of xx=600 seconds=10 minutes. The specified system shutdown occurs once. In addition, the command can be canceled by writing in the MS-DOS line shutdown/a and pressing Enter.

Moreover, the Windows developers were concerned about the possibility of turning off the machine at a certain time. To do this, you need to enter the following on the command line:

  • at yy:zz shutdown /s /f- allows you to shut down your computer and force shutdown of all applications at a certain time yy:zz (where yy is hours, zz is minutes).
  • at yy:zz shutdown /r /f- allows you to restart your computer by forcing all applications to shut down at a certain time yy:zz.

The last two commands can also be canceled by writing in the MS-DOS line shutdown/a and then pressing the key Enter.

The method works for all Windows systems, including Windows 7 and XP.

For those who like to fall asleep to calm music (Era or Rammstein :-), but do not want the laptop to work all night, computer hooligans have developed an interesting program PowerMan by Static’X Group. The utility is able to independently turn off or reboot the computer at a specified time or after a specified number of songs played in WinAmp. Also in this program you can assign hot keys to turn off or restart your machine.

The interface of this program is intuitive and looks like this:

class="eliadunit">

  • Arr. countdown - allows you to set hours, minutes and seconds before the specified action to turn off the machine.
  • “Alarm clock” - selecting a specific date and time to turn off or reboot the system.
  • “WinAmpOff” is an interesting function that allows you to program the laptop to turn off after a certain number of tracks have been played or after listening to the entire playlist.

Here you can select the action that the user wants to set:

After setting the settings, you need to click on the green “bird”, which is equivalent to the Enter key.

After setting the timer parameters, you need to turn it on by pressing the corresponding interface key:

Cancel the specified settings by pressing the “Turn off timer” button. Similar programs for Windows to turn off the computer: Switch Off, TimePC, WakeMeUp, WinMend Auto Shutdown, Auto-Power-on-Shut-down, Wise Auto Shutdown, OFF Timer, Auto Stop and many others.

Programs with a built-in sleep timer using the example of Aimp

Many players have an additional “sleep timer” function that allows you to turn off the computer at a certain time or when the file being played is completed. Popular players have this functionality: PotPlayer, Aimp, etc.

Open “Scheduler settings”. This can be done through the menu or directly in the player window by clicking on the corresponding button.

Then we set the settings we require and click “OK”.

After the operations have been completed, you can watch a movie or listen to music without fear of falling asleep, and also leave the computer to perform specific automatic tasks. In general, for a one-time auto shutdown, the command line shutdown method is suitable, but it is more convenient to use the player for such purposes, and if the players do not have enough settings, then it is worth using special software.

The computer is a magical object that gives us all the entertainment and knowledge in the world, but mercilessly devours our time in return. Who among us hasn’t had to sit late into the night in front of the monitor, unable to tear ourselves away from an interesting article or from fighting monsters? The result is chronic lack of sleep, troubles at work/school, and conflicts in the family. You can solve these problems by setting your computer to automatically turn off at a specified time. Moreover, it is not at all difficult to do this.

To turn off the computer at a specified time every day, we will use standard Windows tools. Let's open Task Scheduler (Control Panel\All Control Panel Items\Administrative Tools) and in the right panel select the link Create a simple task.

The task creation wizard window will appear, in which you need to enter a name, description, and then, on the Trigger tab, specify the frequency. By pressing a button Further go to the next tab and enter the task completion time. Again Further, and all that remains is to select the type of action to perform ( Run the program) and enter in the field shutdown

In addition, you must add arguments to the appropriate field -s -t 60. This indicates that the computer will be turned off, not rebooted or put to sleep, and before that there will be a pause of 60 seconds. In general, the shutdown command accepts other arguments, but you can find out more about this in the Windows help system.

So, in just a few minutes we taught the computer to automatically turn off at a given time, thereby neutralizing the most dangerous killer of our free time. Instead, dedicate your free time to your loved ones, sports, and nature. After all, there is absolutely nothing left of summer!

The idea of ​​setting up a computer so that it automatically turns on at a given time comes to mind for many people. Some want to use their PC as an alarm clock, others need to start downloading torrents at the most advantageous time according to the tariff plan, others want to schedule the installation of updates, virus scanning or other similar tasks. How these desires can be realized will be discussed further.

There are several ways you can configure your computer to turn on automatically. This can be done using the tools available in the computer hardware, methods provided in the operating system, or special programs from third-party manufacturers. Let's look at these methods in more detail.

Method 1: BIOS and UEFI

Probably everyone who is at least a little familiar with the principles of computer operation has heard about the existence of BIOS (Basic Input-Output System). It is responsible for testing and regularly turning on all PC hardware components, and then transfers control of them to the operating system. The BIOS contains many different settings, including the ability to turn on the computer in automatic mode. Let’s make a reservation right away that this function is not present in all BIOS, but only in more or less modern versions of it.

To schedule your PC to start automatically via BIOS, you need to do the following:


Currently, the BIOS interface is considered outdated. In modern computers it has been replaced by UEFI (Unified Extensible Firmware Interface). Its main purpose is the same as that of the BIOS, but the possibilities are much wider. It is much easier for the user to work with UEFI thanks to mouse support and Russian language in the interface.

Configuring your computer to turn on automatically using UEFI is as follows:


Setting automatic startup using BIOS or UEFI is the only way that allows you to perform this operation on a completely turned off computer. In all other cases, we are not talking about turning on, but about waking up the PC from hibernation or sleep mode.

It goes without saying that in order for auto-on to work, the computer's power cord must remain plugged into the outlet or UPS.

Method 2: Task Scheduler

You can also configure your computer to turn on automatically using Windows system tools. A task scheduler is used for this. Let's look at how this is done using Windows 7 as an example.

First, you need to allow the system to automatically turn on/off the computer. To do this, you need to open the section in the control panel "System and safety" and in the section "Power supply" follow the link "Setting sleep mode".


Then in the window that opens, follow the link "Change advanced power settings".


After that, find in the list of additional parameters "Dream" and there set the permission for wakeup timers to the state "Turn on".

Now you can configure a schedule for automatically turning on your computer. To do this you need to do the following:

  1. Open your planner. The easiest way to do this is through the menu "Start", where there is a special field for searching for programs and files.

    Start typing the word “scheduler” in this field so that a link to open the utility appears in the top line.

    To open the scheduler, just left-click on it. It can also be launched via the menu “Start” - “Standard” - “Service”, or through the window “Run” (Win+R) by entering the taskschd.msc command there.
  2. In the scheduler window, go to the section "Task Scheduler Library".

  3. On the right side of the window, select "Create task".

  4. Come up with a name and description for the new task, for example, “Turn on your computer automatically.” In the same window, you can configure the parameters with which the computer will wake up: the user under whom you will log in and the level of his rights.

  5. Go to the tab "Triggers" and click on the button "Create".

  6. Set the frequency and time for the computer to automatically turn on, for example, every day at 7.30 am.

  7. Go to the tab "Actions" and create a new action similar to the previous paragraph. Here you can configure what should happen when the task is completed. Let's make sure that some message is displayed on the screen.

    If desired, you can configure another action, for example, playing an audio file, launching a torrent or another program.
  8. Go to the tab "Conditions" and check the checkbox "Wake up the computer to perform a task". Add other marks if necessary.


    This point is key when creating our task.
  9. Complete the process by pressing the key "OK". If the general settings specified logging in as a specific user, the scheduler will ask you to specify his name and password.

This completes setting up the computer to automatically turn on using the scheduler. Evidence of the correctness of the actions taken will be the appearance of a new task in the scheduler task list.


The result of its execution will be to wake up the computer every day at 7.30 am and display the message “Good morning!” on the screen.

Method 3: Third Party Programs

You can also create a computer operating schedule using programs created by third-party developers. To some extent, they all duplicate the functions of the system task scheduler. Some have significantly reduced functionality in comparison with it, but compensate for this with ease of setup and a more convenient interface. However, there are not many software products that can wake a computer from sleep mode. Let's look at some of them in more detail.

A small free program with nothing superfluous. After installation, it minimizes to tray. By calling it from there, you can set up a schedule for turning on/off your computer.


Thus, turning on/off the computer will be scheduled regardless of the date.

Auto Power-on & Shut-down

Another program with which you can turn on your computer automatically. The program does not have a Russian-language interface by default, but you can find a localizer for it on the Internet. The program is paid, a 30-day trial version is offered for review.


WakeMeUp!

The interface of this program has functionality typical of all alarm clocks and reminders. The program is paid, the trial version is provided for 15 days. Its disadvantages include the long absence of updates. In Windows 7 it was possible to run it only in Windows 2000 compatibility mode with administrative rights.


This concludes our consideration of ways to automatically turn on a computer on a schedule. The information provided is sufficient to orient the reader to the possibilities for solving this problem. And which method to choose is up to him to decide.

Good day, dear friends, blog visitors and acquaintances. Function automatic turning off the computer is very convenient when you need check the time children are at the computer, or to turn off the computer if you are downloading a file late at night and do not want to sit at the computer until it is completely downloaded.

There are two ways:

First way— set a timer, after which the computer will automatically turn off. To do this, follow simple instructions:

1 . Open Start → All Programs → Run (or use , Win(checkbox key ) , that is, Win+R.
2. Type “shutdown /s /t 600” (without quotes. Instead of 600, you can enter any other number of seconds)
3. Click OK
After clicking the OK button, the computer will begin counting down the time and after the number of seconds you specified has passed, it will turn off.

For comfort: 1800 seconds = 30 minutes, 3600 seconds = 1 hour, 7200 seconds = 2 hours

Second way— set the time at which the computer will turn off, for example at 23:15.

1 . Open Start → All Programs → Run (or use , Win ( picture keycheckbox), that is, Win+R.
2. Type “at 23:15 shutdown /s /f” (without quotes. Instead of 23:15 you can specify any other time)
3. Click OK

How to cancel automatic shutdown:

In both cases, if you need to cancel the automatic shutdown of the computer, then open the Run utility or Win + R and enter the command “shutdown /a” (without quotes). Click OK.

We set commands through the file:

You can also give the computer these commands through a . When you run this file, the command that is written in it will be included. To do this, open Notepad, enter the command we need there and save it, having first changed .txt to .bat (look at the screenshot).

After you have renamed and clicked the save button, a gear icon will appear on your desktop.

Well, now when you double-click on it, a window like this will open, which informs us that the system will be turned off at the time we set.

This method is suitable for those who need to frequently use one of these commands, so as not to constantly waste time entering it. Well, something like this, in a nutshell, short and understandable. Subscribe to blog updates, good luck to everyone, bye!!!

Sincerely,

In various cases, it becomes possible to turn off the computer at a specified time. For example, in the evening before going to bed while watching a movie, turning off your computer automatically will help you not to worry about it if you fall asleep.

Setting up automatic computer shutdown is very simple, and everything can be done using standard Windows tools, using the Task Scheduler, or some other methods that we will discuss below.

“Task Scheduler” is located in the “Administration” section of the Control Panel. Launch it and create a simple task. Following the instructions in the task creation wizard, specify the name of the task and select the frequency of the task to run, for example, daily. Next, you should specify the time and day from which our task of turning off the computer will begin. In the “Action” section, select the action for the “Run program” task. In the next step, you will need to specify the program to be launched, or rather the script (command) to turn off the computer. In the "Program or Script" line, enter SHUTDOWN, and in the "Add arguments (optional)" line: -s –f. At the last stage, the wizard will offer to check all the parameters of the created task and if everything is correct, then finish the creation by clicking the “Finish” button. The images below show the steps in order.

You can also configure the computer to automatically shut down using the command line. This method is of course much simpler, although if you have ever worked with the command line. To do this, go to the menu (Start - All Programs - Accessories - Command Prompt) and write the command "shutdown /?" and press the Enter key.

After which the parameters of our utility will appear in the command line window. In this window we are interested in the main three parameters that are shown in the image.

What do we have and how can we use these commands?

To, for example, turn off the computer after 2 hours, we need to write the command like this (shutdown -s -t 7200), and then press the Enter key. To set the desired time, we need to convert hours and minutes to seconds. 7200 seconds equals 2 hours.

To cancel the specified shutdown of the computer, we need to enter the command “shutdown with the -a parameter”. That is, we enter “shutdown -a”.

This action can also be done through the “Run” command. The image shows where this item is located.

To cancel the task, write the same as on the command line “shutdown -a”

Now you know how to create an automatic computer shutdown. In conclusion, I would like to say that some programs have the ability to automatically turn off the computer upon completion of a certain action. These are antivirus scanners, torrent clients, defragmentation programs and others.



Random articles

Up