Set a shutdown timer for Windows 7. Video on how to set a timer to turn off your computer. Set a computer shutdown timer using the command line

Computer shutdown timer – useful feature computer, which can be activated both using standard Windows tools and third-party programs. Using this function in set time your computer will automatically shut down. Below we will look at several ways that will allow you to set a timer to turn off your PC.

Method 1: Through the Run window

The simplest and most accessible way. To use it, you will need to open the “Run” window by pressing the keys simultaneously Win+R and enter the following command in the window that appears:

shutdown -s -t X

Where X – time remaining before turning on the computer in seconds.

A message will appear on the screen indicating that the computer will automatically shut down after the specified time.

Please note that after the specified time has elapsed, the computer will automatically shut down, but will be prompted to save the information to running programs. If you want to force the computer to shut down, you will need to add the argument "-f" . Then the command will look like this:

shutdown -s -t -f X

If for some reason you change your mind about automatically turning off the computer, then to disable the timer, again, launch the “Run” window using the Win + R keys, and in the window that appears, enter the following command:

shutdown -a

Method 2: Using the Task Scheduler

Standard program "Task Scheduler" It is also capable of setting a timer to automatically turn off the computer.

To set a timer this way, use the search in Start (for Windows 7) or call up the search bar using the keys Win+Q (for Windows 8 and higher), enter the name of the program you are looking for and open the result.

On the right side of the window, go to "Create a simple task" .

To begin, enter the name of the task, and then click the button "Further" to move on to the second stage.

In the next tab "Trigger" set item "One time" , only if you don't want your computer to shut down at regular intervals. Click the button "Further" .

Specify the date and time at which automatic shutdown will occur.

Having reached the section "Action" , leave the option checked "Run the program" .

In the column "Program or script" you will need to enter "shutdown" (without quotes), and in the column "Add arguments" indicate "-s" .

Review your changes. If everything is correct, click the button "Ready" .

If you need to cancel a timer you have set in Scheduler, go to "Task Scheduler Library" , find your task in the list, right-click on it and click on the item "Delete" .

Method 3. Using a third-party program “Shutdown Timer”

Although standard Windows tools are completely enough to set a timer to turn off your PC, there are also solutions from third-party developers where you do not need to enter any commands.

sleep timer is a simple utility with a basic interface. After downloading the program from the link at the end of the article, you need to install the program on your PC. As a result, a miniature program window will appear on the screen.

Nowadays, almost all devices are equipped with shutdown timers via certain time. And the computer is no exception.

Computer shutdown timer a very useful function when you need to turn off the computer after a certain time, and you won’t be around. In this article I described two of the most simple ways set a timer to turn off the computer using standard using Windows 7, without any third party programs.

We set the computer shutdown timer in Windows 7 using the standard method.

You can set the time after which the computer will automatically turn off without using third-party programs, and standard means! To do this, press the combination Win+ R and in the “Run” window enter the command shutdown -s -t 3600.

(the computer will turn off in an hour).

3600 is the set timer value in seconds (3600s = 1 hour), you can set any value from 0 to 315360000 (10 years).

There are also others computer shutdown timers in the parameters of the shutdown command, which can reboot, end the session, put the computer into sleep or hibernation mode. To view the full list, press Win+R, enter cmd.exe , type in the window command line shutdown -? and press Enter:

For example:

shutdown -r -t 60— restart the computer after 60 seconds.

shutdown -s -t 600 turn off the computer after 600 seconds (5 minutes); shutdown -a— cancel the reboot/shutdown that was enabled by the previous commands.

shutdown -a put the computer into hibernation mode.

shutdown -r -t 1000 — restart the computer after 1000 seconds .

Computer shutdown timer in Windows 7 via scheduler:

1. Click the “Start” menu and enter “Scheduler” in the search bar.

2. The line “Task Scheduler” will appear, which is what we need to open.

3. In the left column of the task scheduler that opens, click on “Task Scheduler Library”, and in the right column - “Actions”, select “Create a simple task”.

4. Give a name in the “Name” column, and then click the “Next” button.

5. In the new window, you need to set the period, for example, “Daily” and click “Next” 3 times.

6. In the next window - “Program or script”, enter the “shoutdown” command, and in the “Add arguments” field write “-s -f” without quotes.

There are also quite a lot of third-party programs that allow you to set a timer to turn off the computer, but I believe that regular funds quite enough. They are as simple and safe as possible, unlike third-party software.

Some users need to configure the computer to turn off by time or even on scheduled days at certain times. The reasons can be different and the most banal one is that you already start watching some movie at night and don’t want the computer to work until the morning if you suddenly fall asleep :) The same function is used by some on TVs and still follows the same rules reason.

And the most interesting thing is that such a function in a computer is far from lying on the surface. It seems like a computer is such an omnipotent device, but such a banal function is hidden somewhere that a beginner will never find it!

So, from this article you will learn how, using a simple command in Windows console you can configure the computer to turn off after a certain number of seconds, as well as how to configure the computer to turn off at a certain time on certain days!

Beginners should not be intimidated by the words “Console”, “Command Line” and the like, since we are not talking about programming and other complex tasks! I will show you an example and you will understand everything...

So, now we will look at 2 ways to turn off the computer on time:

    Simple shutdown of the computer after a specified number of seconds;

    Turn off the computer on a specified day and time.

How to set a timer to turn off the computer?

To implement this task, we only need the Windows command line.

In any operating system, you can quickly find the command line through a search. For example, in Windows XP, Windows Vista or Windows 7, open the Start menu and type “cmd” in the search box at the bottom. The Command Prompt application appears in the list.

If you have Windows 8, then also open “Start”, then click on the search icon on the right:

In the field that appears, type “cmd” and the Command Prompt program will immediately appear in the search results:

And finally, if you have Microsoft's latest Windows 10, the default search icon will be located right next to the Start button. Click it, enter “cmd” and see the “Command Line” application:

To complete our task, you may need administrator rights, and therefore, in order not to later have to look for the reason why shutdown by timer may not work, let’s run the command line as an administrator. To do this, right-click on the program icon and select “Run as administrator”:

You should see a black command line window that looks like this:

Please note that if you have in this window instead of the path " C:\Windows\system32" the path to the user's folder is specified (for example, " C:\Users\Ivan"), this means you launched the command line not as an administrator, but as a regular user! In this case, it is better to close it and open it again as an administrator.

After the command line has been launched, all that remains is to enter one command correctly and you’re done!

To shut down and restart the computer in the command line Windows line The "shutdown" command is used.

Type the following on the command line:

Where 3600 is the number of seconds after which your computer will shut down. If you press the “Enter” button on your keyboard now, your computer will be turned off in 1 hour, since one hour is exactly 3600 seconds. It’s very easy to calculate :) We know that there are 60 seconds in one minute, and since there are also 60 minutes in an hour, we multiply 60 by 60 and get 3600. For example, 1 hour 20 minutes is 4800 seconds.

Now regarding these characters “/s” and “/t”.

These are the 2 parameters that I specified for the shutdown command. The “/s” parameter means that the computer should shut down, and not reboot or simply log out. For example, to reboot you need to specify “/r” instead of “/s”. The “/t” parameter allows you to set the time before the command is executed. For example, if we specified the command without “/t”, i.e. like this “shutdown /s”, then the computer would turn off instantly.

Now, I think you understand everything. Just enter your time until you turn off your computer and press “Enter”!

The command line window will close and the timing will immediately begin. You will receive a warning message, for example:

A warning of this format is issued when there are only a few minutes left before the computer turns off.

But if you have set a long timer, for example, for an hour or more, then when it starts, you will simply receive a notification in the system area:

If you suddenly decide to cancel the timer, then you need to enter the command line again and run the following command there and press “Enter”:

At the same time, you will receive a notification in the system area that the scheduled shutdown has been cancelled:

This is what it looks like simple circuit turning off the computer using a timer.

Now let's look at more interesting option– how to delay turning off the computer for a specific day and specified time.

How to configure the computer to turn off on the desired day and time?

To implement this possibility we need system utility Task Scheduler and Notepad.

Via Scheduler Windows tasks You can schedule any program to run on a specific day and time, and even set a recurring task for different periods, for example, daily, weekly.

There is only one catch: you won’t be able to open the command line through the scheduler, as was done, and enter a shutdown command there. This is because to run we need some kind of file that can be specified in the scheduler and which will contain a command to turn off the computer.

This issue can be resolved very simply! You need to open notepad, write “shutdown /s /t 000” there, resave Text Document to a file with the extension “.bat” (for example, “Shutdown.bat”), then point to this file in the task scheduler.

Now let’s look at it in detail, point by point:

    Opening Windows notepad. It is available by default on any Windows system and can be found in the Start menu, in the Accessories category, or by Windows search and typing “Notepad”.

    In notepad we write: shutdown /s /t 000.

    Here, using the “shutdown” command, we specified the action to shut down/restart the computer or log out of the system.

    With the “/s” parameter we specify the action - shutdown the PC!

    With the “/t” parameter we specify the timer before shutdown - 0 seconds and this means that the computer will turn off instantly without delay.

    This is how it should look:

    Resave the notepad file into a file with the extension “.bat”. To do this, in Notepad, click “File” > “Save As”.

    In the save window, indicate the location where the file with the command to turn off the computer will be stored, after which we indicate any file name, but make sure there is “.bat” at the end and not “.txt”:

    For example, like mine - “Shutdown.bat”. The name before “.bat” can be anything!

    If you saved the file correctly, it will look like this on the system:

    If it looks like a regular text document, then you most likely forgot to specify the ".bat" extension when saving, so please do this step again.

    What is this BAT file such? A file with the extension “.bat” allows you to execute one by one Windows commands one after another, and also various scripts. In our case, only one command is written - turn off the computer immediately.

    Open the task scheduler and configure the launch of the created Bat file.

    The task scheduler is also built into all Windows systems by default and can be found by searching or through the control panel: “Control Panel” > “System and Security” > “Administrative Tools”.

    This is what the task scheduler looks like:

    In it on the right, in the “Actions” window, open the “Create a simple task” item:

    The wizard for setting up the scheduled task will open, where you need to go through several steps. In the first window that appears, enter the name of the task, for example, “Turn off the computer” and click “Next”:

    At the next step, you need to note when the planned task will be executed? It depends on when you want to turn off your computer. For example, you can configure a task to run daily and then you will need to specify the execution time. You can set up a weekly shutdown and then you can select specific days and times to complete the task.

    And if you just want to set up a one-time setup to turn off the computer on a certain day and time, then select the “One time” option.

    Now, depending on which shutdown period you set in the previous step, you will need to specify the shutdown month/days/time. If you specified a one-time execution of the task (“One time”), then you only need to select the shutdown day and time.

    You can enter the date manually using numbers or select it using a calendar.

    Having configured the shutdown date and time, click on the “Next” button:

    At the next stage, we select an action for the task. Check “Run the program” and click “Next”:

    In the next window, select our created file with the extension “.bat”, which contains the shutdown command. Click on the “Browse” button and select this file on your hard drive, then click “Next”:

    In the last window, select the item marked in the image below and click “Finish”:

    This option means that after clicking “Finish”, an additional properties window for the created task will open. We need this to enable the program to run with administrator rights.

    A window will open in which, on the first “General” tab, check the “Run with highest rights” item at the bottom and click “OK”:

All! The scheduled task has been created. Now, as soon as the date and time you specified arrives, the computer will immediately turn off.

If you suddenly want to change any parameters of a scheduled task, then open the task scheduler again, select “Task Scheduler Library” on the left side of the window, right-click on the task you created in the list in the center, and select “Properties” from the menu that opens :

A window will open where, on several tabs, you can change all the parameters that you configured!

In this way, you can configure the computer to turn off by time (timer), as well as schedule the shutdown for any day and time, and even set up the task to be performed regularly. I am sure that this opportunity may be useful to someone.

See you in the next articles :)

Turning off a computer using a timer is a very typical task that many users face. However, not everyone knows how this problem can be solved. In this article we will talk about how to turn off your computer using a timer in Windows 7, 8, 10 and XP. To solve this problem we will use the command line, task scheduler and third-party programs.

Turn off the computer using a timer using the command line

The simplest and quick way To turn off the computer using a timer is to use the “shutdown” command, which works equally well in Windows 7 and in other versions of Windows. This command can be executed from the command line or using the Run menu.

The shutdown command has many parameters that allow you to fine-tune the process of shutting down your computer. Below we will look at the most basic of them:

  • /s – Shut down the computer;
  • /h – Switch to hibernation mode;
  • /f – Force termination of all open source software without warning the user;
  • /t – Set the timer in seconds.

In order to shut down the computer using a timer using the shutdown command, we need to use the /s (shutdown the computer) and /t (set the timer) parameters. Thus, the command to turn off the computer will look like this:

  • Shutdown /s /t 60

After executing such a command through the Command Prompt or Run menu, the computer will shut down after 60 seconds.

If you want to reboot the computer using a timer, then instead of the /s parameter, you need to use the /r parameter. The same thing with hibernation mode. We use /h instead of /s and the computer, instead of turning on, will go into hibernation mode. You can also add the /f option. In this case, shutdown (reboot, hibernation) will begin immediately, and all running programs will be closed without warning the user.

The disadvantage of this method of shutting down the computer is that the shutdown task is created only for one time. If you need to turn off your computer on a timer daily, then you need to use Task Scheduler or third-party programs.

We use the scheduler to turn off the computer using a timer

In operating rooms Windows systems 7, 8, 10 and XP there is a very powerful tool available called Task Scheduler. You can use it to turn off your computer using a timer. To open Task Scheduler, launch the Start menu (or Start screen tiles if you're using Windows 8) and search for "Task Scheduler." You can also launch the Task Scheduler using the “taskschd.msc” command.

After starting the task scheduler, click on the “Create a simple task” button. This button is on the right side of the window.

Next we are asked to indicate when we want to complete this task. You can select "Once" if you want to timer off your computer only once. If you need to turn off your computer using a timer daily or in another mode, then you can choose another option that is more suitable for you.

At the next stage, you need to specify the triggering of this task.

After this, we need to enter the shutdown command as well as startup parameters. How the launch parameters of this command are used has already been discussed above.

That's it, the task to turn off the computer using a timer has been created. You can view it in the Assignment Library.

From the context menu (right mouse click) you can manage the created task.

You can run, complete, disable, delete, or open the job properties.

Programs for turning off the computer using a timer

If the described methods for turning off a computer using a timer do not suit you or seem too complicated, then you can turn off the computer using programs from third-party developers. Below we will look at several such programs.

Powerful free program to turn off the computer using a timer. Using the PowerOff program you can configure almost any little thing. On the other hand, due to the huge number of functions, the interface of this program is too overloaded. Which can be very difficult to figure out.

A small program to turn off your computer. The Switch Off program is equipped with a small number of functions and has an easy and intuitive interface. The program is equipped with a built-in web server that allows you to turn off your computer by local network or via the Internet.

The developer of this program for turning off the computer using a timer claims to support only Windows 7, 8 and XP. Although it should work on Windows 10 without problems.

Often, especially in the evening, after work, many users personal computer They like to watch a movie before going to bed. But it often happens that while watching this movie we can fall asleep, but our computer continues to work. How to make the computer turn off on its own (set a timer) will be discussed further.

Actually from Windows versions 7 and above this is very easy and quick to do. You need to run the command line in the “Run” window; you can do this by pressing the key combination “Win ​​+ R” or go to the “Start” menu - “Run”.


Here shutdown / s is a command to shut down the computer, -t starts a timer, and 3000 in in this example timer time in seconds after counting down, our computer will turn off on its own.

After we click "OK" on the screen we will see a message that the computer will turn off after a certain period of time, we need to click "OK" again to confirm this operation. Now you can safely leave the computer after the specified time, it will turn off.

1.
OFF Timer
A small, lightweight Russian program for one-time shutdown of the computer at a specified time.
Pros: no need to install, the software is Portable, launched and works. This quality is quite common for programs of this type - I didn’t like it, I deleted it. The program has a minimum of settings, which are very easy to understand even for a child. Works great for any Windows, because it uses the same means of shutdown. It can successfully replace the standard “Shut Down” button of Windows OS. In general, a simple and reliable solution for minimalists and people who like minimal settings

2.
uSleepTimer
Sleep timer is a program for those who like to fall asleep to a certain background. To turn off a “meowing-snoring” computer, just run the program and indicate to it the time interval and the action after the specified time interval has elapsed (switch to standby mode, turn off the computer, reboot, etc.). The computer shutdown timer comes in a portable version and does not require installation and is compatible with all versions of the OS Windows family.
Download uSleepTimer (downloads: 18)

3.
SHUTDOWN
The program is an analogue of the usual button to turn off Windows, with the only difference being that an item for selecting a shutdown timer is added to the drop-down menu, with a certain range. After installing the program on the desktop and in the panel quick launch A red button will appear, after pressing which this very menu will appear. In this review specified program is present solely for its objectivity. For those wishing to experiment, both a setup file and a portable version are offered for download. So to speak, try it first, because how.

4.
AutoShutdown
A wonderful, solid and easy-to-use gadget to control operating system. It is easy to install, like all gadgets - by simply clicking on the file. You can always turn it off or off, and it will “sit” quietly in the store Windows gadgets waiting in the wings. The computer shutdown timer takes up very little disk space and desktop space. The AutoShutdown interface in a minimized form is actually an alternative replacement for the standard menu button for Windows shutdown. The requested action is performed immediately after clicking the button and confirming. The AutoShutdown settings window is a timer setup window in which you can specify a task and set a timeout before it is completed, or specify the exact time to complete the task. The gadget has the ability to change the background background. The AutoShutdown functionality allows you to configure automatic shutdown, reboot, sleep mode, standby mode, hibernation, logout.)

SM Timer management is very simple, the program is free, I think these are the main advantages of any software. All you have to do is set the time and click OK. The timer immediately minimizes to the tray where the clock is and will perform the selected action at a certain time. You can control SM Timer through the same icon, by double-clicking on it, or through a menu called up by right-clicking on the tray icon. In general, convenient, easy and most importantly free!

On this moment Switch Off is the best program of its kind, distributed free of charge. This is exactly what a standard menu button to turn off Windows should look like. The program is displayed in the tray as a regular shortcut and allows you to turn off or reboot the system in one motion (either immediately or after a specified time). Minimum settings, maximum simplicity and convenience. Using the Switch Off program is very simple - you just need to select the desired task and time to complete it (if necessary) from the drop-down menu. The program has virtually no settings. Just a drop-down menu for selecting a task and time

Switch Off is an English-language program. To enable the Russian language, after installing the program, go to the “Options” menu and select the “Russian” language

7.
PowerOff
In conclusion, the most powerful and feature-rich tool to shut down your computer under Windows control– PowerOff timer. The program is simply crammed with all sorts of bells and whistles, which suggests the adequacy of its authors and its users. PowerOff's functionality is incredibly extensive and allows you to accomplish such feats as scheduling your computer to shut down at a different time each day or shutting down your computer after listening to a specified number of music tracks.

8. Program Off timer 2.5. - is designed to automatically turn off the computer at a certain point in time, regardless of any other conditions.

The shutdown timer will automatically close all programs running on the computer before shutting down the computer. 10 seconds before triggering, a countdown window will open, in which you can, if desired, cancel the computer shutdown.

The program does not require installation, has a very simple interface in Russian, and is distributed free of charge.

Shutdown One method to shut down a computer after a certain time is the shutdown command. To start the timer, open “Start” - “Run” and enter shutdown –s –t 600

As a result, a window will appear. It is worth noting that this method of automatically turning off the computer works in Windows 7 and higher. To disable the timer, run the command shutdown –a and as a result the following notification will appear. Not everyone will be able to use the command line to specify the time to shut down the computer using a timer.

Therefore, it is necessary to improve the process. This can be done in 2 ways: by creating a bat file; creating a shortcut on the desktop. To automate using a bat file, create a text document and specify the following commands in it: echo off cls set /p timer_off="Vvedite vremya v sekundah: " shutdown -s -t %timer_off%

After that, click “File” - “Save As” and enter 1.bat The next stage of automation is to configure the autorun of this executive file when booting Windows. To do this, drag it to “Start” - “All Programs” - “Startup”.

As a result, every time you turn on the computer, you will see the following window. Specify the time (in seconds) after which you need to save the data and turn it off. But automatically shutting down your computer using the command line is a difficult task because a lot can go wrong. It is much easier to create a shortcut on the desktop, after launching which the countdown would begin.

Create an empty shortcut on your desktop and specify C:WindowsSystem32shutdown.exe -s -t 3600 in the object location. This way you can set your computer to automatically shut down an hour after you launch the shortcut. Using the task scheduler You can turn off the computer at a specified time using the task scheduler. . To do this, enter taskschd.msc in Run.

As a result, the program interface will open. In the “Actions” menu located on the right, select “Create a simple task” and enter its name (for example, auto shutdown of the PC). After this, you need to specify the start time of the task. In order to configure the computer to turn off and on according to a schedule, select the “At startup” option. At the next stage, you must select the action - “Run the program”.

Then specify shutdown as the script to be executed, and –s in the list of arguments (as in the screenshot) Before clicking “Run Program,” specify the execution time. Using programs There are many programs for automatically turning off the computer, but in this article we will consider the capabilities of only the most popular: PowerOFF; Sleep timer; SM Timer. Power OFF Functionality This utility goes beyond the usual computer shutdown timer. As a result, you will be able to configure: countdown; shutdown after inactivity Windows; triggered by the system clock.

It is worth noting that this computer shutdown program can turn off, lock or put the PC into sleep mode. Please note that when you close PowerOFF, the timer to turn off the PC stops working - to avoid this, minimize the program. Shutdown Timer This program will help simplify the setup of auto-shutdown of your PC. It has a beautiful design and auto-start along with the operating system. The disadvantages of a simple timer for a computer include: installing additional software when installing an application and shutting down all open programs. SM Timer You can set the computer to auto-shutdown using SM Tuner.

There are 2 modes for this: turning off the PC at a specified time or after an interval. Let's summarize. To automatically turn off the laptop, you can use: the shutdown computer shutdown command; task Manager; special programs turning off the computer. It is worth noting that installing a timer on a computer is very simple - and some of them do not require installation. To deeply customize your PC's operating time, use PowerOFF.

If you need to set a one-time shutdown timer on your computer, use shutdown command or task scheduler. By the way, the latter can replace most specialized timers. A significant disadvantage of timer programs is that they are very easy to disable, which means that you won’t be able to control the operating time in this way. Therefore, use Windows Task Scheduler or software for parental controls. Programs of this class include: + Child Control; Kids PC Time Administrator; ChildWebGuardian Pro

I liked the OFFTimer program the most.
After downloading the archive, you should unpack it to any place convenient for you. After unpacking, run the OFFTimer.exe file and set the computer shutdown time

Computer shutdown timer 1After setting the shutdown time, click the “Enable timer” button, that’s all! Now just minimize the window by clicking on the corresponding button. The program will be minimized to the system tray; when you hover over it, you will see information about the time the computer was turned off

Computer shutdown timer 2 As you can see, this is the most simple program to turn off the computer at a specified time. I doubt there is anything simpler.

But, if this functionality is still not enough for you and you want to use a computer shutdown scheduler by day, for example, then I’ll tell you about another program.

Computer shutdown timer PowerOff

The PowerOff program, unlike the one described above, can do much more. At the same time, it has a more customizable interface.

After downloading the archive, you need to unzip it; I suggest doing this in a separate folder, since the program will create settings files and event logs during use. I unzipped it into the C:temppoweroff folder. After unzipping the program, run it

Computer shutdown timer PowerOff 1 As you can see, the abundance of settings is impressive! But there is nothing complicated, in principle everything is simple.

The program is divided into tabs; when you start the program, the “Timers” tab opens in which, in fact, you will need to specify the shutdown time or use a countdown timer to turn off the computer after a certain period of time.

In the same window, you can specify what to do after the timer expires; shutdown, reboot, sleep mode, hibernation, end of session, etc. are suggested. For every taste, as they say.

In the “Diary” tab you will be shown all scheduled tasks that can be specified in the “Daily Settings” tab.

The “Diary Settings” window provides a multifunctional planning tool

In the “Hot Keys” tab, you can configure hot keys for various system control actions
In the “Scheduler” tab you can schedule certain actions to be executed automatically

In the “Program Settings” tab, as you may have guessed, the program settings are presented))

In the “Program Log” tab, a log of the execution of scheduled tasks is recorded