How to make the computer turn off after a certain time. Computer shutdown timer. How to set your computer to auto shutdown via the command line

It often happens that the user needs to turn off the computer not right now, but after a certain time. For example, system updates or a very large file will not be installed.

Windows Tools

If you need to turn off the PC using a timer the best solution there will be built-in Windows tools. In particular, their use is based on the shutdown command and the task scheduler.

Using the shutdown command to shut down a computer after a specific time

To enter a command, you need to press the Win + R keys and enter the following in the input field that appears on the screen:

shutdown–s–t3600/f

Where the variables after the command are responsible for the following:

  • s – turn off the computer;
  • t – indication of the time in seconds after which the device will be turned off. In the command from above it is 3600 seconds, that is, one hour. Instead of this value, you can substitute any other value, having first calculated it in seconds;
  • f – the first letter of the word forced – forcibly. Allows the OS to terminate all running applications so that they do not interfere with the device shutdown.

After executing the command, a notification will be displayed on the screen indicating the time after which the PC will be turned off. If you suddenly need to cancel this operation, you need to enter Win+R again and type the following command there:

shutdown–a

This command disables the computer turning off at a specific time.

This program comes in Windows versions 7 and above. It allows you to quickly create a PC shutdown schedule.


C:\Windows\System32\shutdown.exe

And in the argument selection field the following is entered:

Using a bat file to shutdown a PC

You can also use a bat file to shut down your PC. To activate it, just double-click on it with the mouse.

You will need to create it. This is done in a notepad, where the following values ​​are entered:

@echo off

if %time%==01:00:00.00 goto:b

shutdown.exe/s/f/t60/c“Any text that the user deems necessary”

  • the file that was created must be saved, giving it the name shutdown.bat;
  • you need to activate it by clicking;
  • after activation, a command line will pop up, which you need to minimize and continue working;
  • At the time that was set (in the example, one in the morning is used), the system will issue a notification to turn off the device and the PC will be deactivated;
  • To change the shutdown time, you need to enter another value instead of the numbers “01:00:00.00”.

Turning off the PC at a specified time using programs

Some special programs can also help you configure the device to turn off on a schedule.

Using PC Auto Shutdown

This utility allows you to shut down your PC at a specified time. To use it you need to download installation file from the official website, run and do the following:

  • find the Timer title line, where you need to enter the name of the action, and also select the Shutdown action function;
  • indicate the time;
  • At the bottom of the window, check the Activate daily at the above time item and click the “Ok” button.

A more advanced utility, thanks to which you can configure many parameters for deferred PC management. You can also arrange for these operations to be performed on a regular basis. The program issues a warning about turning off the device 5 minutes before the computer turns off.

To begin with, in the application window you need to select a task, the frequency of its execution (daily - every day, from now - starting from this moment, on idle - when the system is idle) or activation only once (specified time).

Other programs for scheduled computer shutdown

Other utilities can help you turn off your computer on a schedule. There are quite a few of them and they all have similar functionality, so each user will be able to choose an option for themselves and easily understand it.

Share.

Turning off a computer is a fairly typical procedure that rarely causes any difficulties for anyone. However, if you need to turn off the computer not right now, but after some time, then everything is a little more complicated. Now we will tell you how to turn off your computer after a certain time.

Turn off the computer after a certain time using the command line

The easiest option is to use the shutdown command. This command can be entered in, but the easiest way is to open the “Run” window (using the combination Windows-R keys) and enter commands into it.

The shutdown command has many options. If you want to get acquainted with them all, then run the command “shutdown/?”. We will consider only a few of the most basic of them:

  • /s – shutdown:
  • /h – hibernation:
  • /f – force close all open source software without warning the user;
  • /t – setting the timer in seconds;

So, in order to turn off the computer after a certain time, we need to run the shutdown command with the /s (shutdown the computer) and /t (set a timer) parameters. Thus, the final command to shut down the computer will look something like this:

  • shutdown /s /t 60

After executing this command, the computer will turn off after 60 seconds. Naturally, you can specify not 60 seconds, but any other time you need (in seconds). If necessary, you can use the shutdown command to restart your computer or put it into hibernation. To do this, change the /s parameter to /r (reboot) or /h (hibernate).

Turn off the computer after a certain time using a scheduler

Another option is to use the Task Scheduler. To launch Task Scheduler, open the Start menu and enter the phrase “Task Scheduler” into the search. You can also start the Task Scheduler by running the taskschd.msc command.

After starting the Task Scheduler, you need to create a new task and configure it to turn off the computer after a certain time. To do this, click on the “Create a simple task” button.

After this, a window for creating tasks will appear in front of you. At the first stage, you just need to enter the name of the task and click on the “Next” button.

Next we need to select the trigger frequency for our task. If you want to turn off the computer only once, then select the “Once” option. If necessary, you can select the “Daily” or any other option.

The next step is to select the action that will be performed when the task is triggered. Here you need to select the “Run a program” option.

After this, you need to enter the shutdown command and parameters for it. For example, let's enter the /s parameter (shutdown the computer) and the /t parameter (60-second timer).

At this point, the creation of the task is completed; at the last stage, simply click on the “Finish” button.

After this, the task you created will appear in the Scheduler Library.

Turn off the computer after a certain time using programs

You can also use it to turn off the computer after a certain time. specialized programs. For example, we will look at two popular programs of this kind.

Airytec Switch Off is a small system program, which allows you to automatically turn off your computer at a certain time. This program has a small number of functions and a fairly simple interface. Thanks to this, anyone can handle it. It should also be noted that this program has a wb interface. This allows you to turn off your computer local network or even via the Internet.

A powerful program to turn off your computer. This program has many settings, which allows you to adapt it to any task. Among the shortcomings of this program, one can highlight the very confusing interface, which can scare off inexperienced users.

Turning off the computer after a certain time set by a person can be very convenient in many cases. For example, with this feature, you no longer have to wait for your computer to finish running processes, such as downloading or processing videos, before turning it off. Instead, you can set a timer and leave work or go to bed. There are many ways to set a timer:

  • through command line;
  • using the task scheduler;
  • with third party utilities.

The command line is available in most operating systems Windows systems. It is used to execute human-entered commands. Most of them are used to automate tasks using scripts and batch files, performing advanced administrative functions, troubleshooting, and solving specific problems in Windows.

Step 1. Launch Command Prompt. Click on the "Start" button and enter "Command Prompt" or "cmd" in the search bar. Run it as administrator by clicking on the application right click mouse and selecting this mode.

Step 2. Type "shutdown -s" at the command prompt. This command will shut down your computer within a minute of issuing the command.

Enter “shutdown -s”

Task clarification:

  1. If you want to shut down your computer immediately, type "shutdown -s -t 00" instead.
  2. To shut down your computer after a certain amount of time, type "shutdown -s -t ##", where "##" is the number of seconds (for example, "06" after six seconds, "60" after a minute, etc.) .

Step 3. Press "Enter", this will start the task.

Press “Enter” to start the task

You will now see a task confirmation on the screen. It will no longer be possible to cancel the action. You also won't see the time countdown on your screen.

This method is suitable for one-time use, but may be inconvenient for regular use. In this case, the task scheduler will come to the rescue.

Shut down your computer using Task Scheduler

The task scheduler is standard Windows component, which allows you to automatically perform predefined actions whenever a certain set of conditions are met. For example, you can schedule a task to run backup every night or turn off the computer after a certain time.

Step 1. Through the search bar in the Start menu, find “Task Scheduler”.

In the Start menu, find “Task Scheduler”

Step 2. Launch the program. A window with many sections will open in front of you.

Launch the program and click “Create task”

Step 3. From the menu on the right, select “Create a task.” Give it a name and describe the action. Then move on to the next step. The Triggers section can be skipped without affecting the completion of the task.

The “Triggers” section can be skipped without affecting the task completion

Step 3. Go to the "Actions" section. Create an action by entering "C:windowssystem32shutdown.exe" into the script line. Click on the "OK" button.

Create the required action and click “OK”

Step 4. Now let's move on to the conditions that are necessary to perform the action. For example, let's set a condition - computer inactivity for 1 hour. This means that if the computer is not used in any way for 60 minutes, it will turn off automatically.

After you click "OK", the task creation window will close, new task will be active. You can find it in the task library. It contains absolutely all tasks that are created by the user or programs installed on the computer.

Video - How to turn off your computer at a specified time

Disabling using third party programs

The methods discussed above perform disabling using built-in utilities. Using them is not as easy as we would like. For those who would like to simplify their task, many simple programs which are very convenient.

Turn off timer

Shutdown Timer is an easy-to-use software that allows users to set a time for their computer to turn off. The main advantage of this program is that there is no need to download the entire software package. Moreover, in addition to shutting down, you can set a timer to reboot. Of course, it also has disadvantages, such as limited functionality in free version and the interface is in English.

This program runs entirely through the cloud. Everything is configured through the browser, on the official developer page. The user simply goes to the official page and then sets the desired time. It currently runs on Windows XP, although newer versions are also compatible with the service.

Step 1. Download the program and install it on your computer.

Note! The program may require Java installation, if it is not on your computer. Follow the recommendations that you see on your screen.

Step 2. Once the installation is complete, a small window will appear on your screen with a few clear elements.

Set the time and click “Start”

The first field is for hours, the second for minutes, and the third, respectively, for seconds. This is the time after which the program will perform one of two available actions:

  • shutdown when selecting Shutdown;

Now all that remains is to click on the “Start” button to start the timer.

Good day. 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.

How to set your computer to turn off automatically

There are two ways:

The first way is to 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 (key with a flag)), 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 convenience: 1800 seconds = 30 minutes, 3600 seconds = 1 hour, 7200 seconds = 2 hours

The second way is to set the time at which the computer will turn off, for example at 23:15.

  1. Open Start → All Programs → You fill up(or use Win (flag key)), 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 disable 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 a 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 previously changed .txt to .bat (see screenshot).

In today's article we will look in detail at several ways to set the timer to turn off. Windows computer 7, 10, 8.1. Quite often in everyday life Something like this may arise: you started installing some program or game on your computer, and then you urgently needed to leave on business. Clear all day. There is a way out of this situation. Not all users know, but the computer can be configured so that it turns itself off after certain period time. How to turn off your computer after a certain time Windows time 7 (10, 8.1) via the command line, using the Windows Scheduler and special programs you will learn from this article.

There are several ways to turn off your computer via certain time:

  1. Using the Windows scheduler program.
  2. Via the command line.
  3. Using special software.

Each of these options has its pros and cons. Next, we will discuss each of them in detail, and you will not only learn how to turn off your computer after a certain time, but you will also be able to choose the method that suits you more than others.

How to turn off your computer after a certain time using the command line

The easiest way to turn off your computer after a certain time is to use the command line. You can launch it in several ways:

  1. Through the “Start” menu, finding the “System” folder in the “All Programs” section.
  2. Find the “cmd” file, which is stored on the “C” drive, in the “Windows” folder, in the “System32” folder.
  3. You can also right-click on the desktop and select the desired option from the menu that opens, but this does not work on all versions of Windows.

You can also use the Run window instead of the command line. There are two ways to open it:

  1. Using the key combination “Win ​​+ R”.
  2. By launching the “Run” shortcut, which is located in the same “System” folder.

The first option is easier, but on some PCs the key combinations may differ or be completely absent.

After you launch this window or command line, you will need to enter the “shutdown” command. This command for the computer is a sign that you want to schedule something. And what exactly you want to plan you must indicate as follows:

  1. The first step is to specify what exactly your computer will need to do. You can schedule "/r" to restart, "/h" to hibernate, "/f" to close all programs, and of course "/s" to shut down.
  2. Then you need to enter the “/t” argument. This command specifies the timer setting in seconds.
  3. And at the end, indicate after what time you want to carry out the planned action (in seconds).

All these commands are entered separated by a space, without quotes. That is, for example, in order for your PC to turn off after one minute, you will need to enter the command “shutdown /s /t 60”.

At first, this method may seem a little difficult, but once you figure it out at least once, it will surely become your favorite.

How to use the task scheduler

Before you start understanding how the scheduler works Windows jobs, it should be noted that this program appeared in this system only with Windows release 7. Therefore, if the version of yours system support below - will not suit you this method how to turn off your computer after a certain time (Windows 10 and Windows 8 are also suitable).

The task scheduler is extremely useful program, which will help you create a real schedule for your PC. To run it, you need to do the following:


After this, you can leave your PC and calmly go about your business.

If you ever want to re-run.

How to turn off your computer after a certain time using a program

On at the moment There are many third-party software for performing a planned system shutdown. We will not consider all of them, and will only analyze the process of working with one of them, PC Auto Shutdown. Of course, you can choose any other program and use it. You can understand their work on your own, only by fully studying this article and the instructions, if any.

For now, let's return to our program. Unfortunately, it does not have a Russian version, but the simple and clear interface allows you to use it on an intuitive level, and as a result, working with it turns out to be easier than with some Russian-language applications. You can download it on the Internet absolutely free. After downloading, install and run the program, and then follow these steps:

  1. To begin, click the “Edit” button in the “General” tab.
  2. In the “Timer title” line, enter the name of your option (any).
  3. Then, just below, select the “Shutdown” command from the suggested commands.
  4. Next, specify how long after you want your computer to turn off.
  5. The last setting item is to select the startup interval for the option; in order to turn off the PC once, select “Activate once only at the above time”.

All you have to do is click “OK” and the setup is complete.

How to set a timer to turn off your computer Windows 7, 10, 8.1: video

This was the last option on how to turn off the computer after a certain time. This procedure may seem a little complicated due to the abundance of various incomprehensible commands and arguments, but in reality everything is much simpler than in words.

If you found the article “How to set a timer to turn off your computer Windows 7, 10” useful, share it with your friends on social networks and add to bookmarks