Auto shutdown computer command line. How to set a timer to turn off your computer? Universal timer programs for turning off a PC


Review of the simplest and most popular free programs
to turn off the computer on a schedule.
Here you can download the software you like and try it out.

The author unobtrusively reminds that Microsoft has an extremely negative attitude towards third-party software (software), since it (this software itself) can lead to destabilization of the entire operating system.

As before, the most proven and reliable way to do this is to use built-in (standard) tools Windows- And .

Programs for shutting down your computer on a schedule
(download free programs)

Additionally:
Shutting down your computer on a schedule
built-in (standard) Windows OS tools

The simplest bat files to turn off the computer

Developer: site:):):)
bat files are Windows OS executable files with the .bat extension, clicking on them leads to the execution of any action script that is written inside this bat file. In this case, the code of the attached bat files contains commands to turn off the computer, as well as commands to cancel commands already received to turn off the computer.
These bat files are extremely easy to use. All you need to do is download them and click on them. The computer will turn off, either at the specified time or after a specified period of time.
To change the value of the specified time, you need to right-click on the bat file and select the “Change” option in the drop-down context menu. After this, the text part of the bat file will open in Notepad, where you can set your time and save changes.
The advantages of this method of shutting down the computer are the complete absence of viruses and unconditional operation in any Windows OS. The disadvantages include unnecessary fiddling with the text of the bat file. However, if you configure such a file once and put it in the startup folder, the effect you get is nothing at all.

Attention! The bat files offered for downloading do not have a user interface. A simple click on the bat file leads to the immediate installation or cancellation of a ONE-TIME command to turn off the computer.

Download shutdown-timer.bat - (downloads: 3836)
To change the timer time, you need to change in the downloaded file “shutdown-timer.bat”, in the line shutdown /s /f /t 1000, the number 1000 to your value, where 1000 is the number of seconds until the computer turns off from the moment you click on the “shutdown” file -timer.bat"

Download shutdown-exact time.bat - (downloads: 1273)
To change the exact time, you need to change in the downloaded file “shutdown-exact time.bat”, in the line at 21:51 shutdown /r /f, the number 21:51 to your value, where 21:51 is the exact time the computer turns off after clicking according to the file “shutdown-timer.bat”

Download shutdown-cancel command.bat - (downloads: 821)
There is no need to change anything in the “shutdown-cancel command.bat” file. Clicking on this downloaded file will cancel all previously assigned commands to turn off the computer.

OFF Timer - the simplest computer switch

Developer: Egor Ivakhnenko, 2010
A miniature, simplest Russian-language program for one-time shutdown of the computer at a specified time. Fundamentally, OFF Timer is an analogue and continuation of the topic “The simplest bat files for turning off the computer” with the only difference being that the program has a user interface.
Does not require installation, Portable, works from any folder. The last property is very important for programs of this type - if you don’t like it, you throw it away. The program has a minimum of settings, which are very easy to understand even from a screenshot. Works great on any Windows, since it uses the same means to turn it off. It can successfully replace the standard “Turn off” button in Windows OS.

PowerOff - the most powerful timer to shut down Windows

Official website of the PowerOff program
In conclusion, the most powerful and feature-rich tool for shutting down a Windows computer is a timer. PowerOf. The program is simply crammed with all sorts of bells and whistles, which suggests the adequacy of its authors and its users. Functional PowerOf 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. The only thing missing is the function of scheduled shutdown of the computer after a specified number of beers drunk :):):):).

You've probably encountered a situation where you need to step away, but you can't turn off your computer because certain tasks are running. In such a case, you can schedule an automatic shutdown of the computer according to a schedule. Windows 10 has built-in shutdown scheduling mechanisms, although not every user will find them. Here we have collected all the ways you can set a computer shutdown timer.

How to set the Windows 10 sleep timer using the Run command

Click Win+R and enter the command shutdown -s -t 60. The number is responsible for the number of seconds after which the computer will automatically turn off.

In this case, the shutdown will occur after 1 minute. You can set any time you prefer. Just remember that it is indicated in seconds.

How to Schedule Your Computer to Automatically Shut Down Using the Command Line


How to Automatically Shut Down Your Computer Using PowerShell


Other commands for the computer shutdown timer

You definitely noticed that after the main command shutdown There is also an additional argument that indicates to the system the nature of the action being performed. Using these arguments, you can assign additional commands and not only turn off the computer using a timer, but also reboot or put it into sleep mode.

It looks like this: shutdown -s -t 60. Instead of a letter - s you need to substitute one of the following:

  • r- reboot. The team will look like shutdown-r-t 60 . Stands for reboot after 60 seconds.
  • h– hibernation. Shutdown-h-t 60 . If you enter this command, the computer will go into hibernation after 60 seconds. You can set any time, as in the previous command. In both cases -t is responsible for time in seconds, followed by any amount of time you specify.

How to set an automatic shutdown timer using Task Scheduler

  1. Open the built-in operating system Task Manager. To do this, click Win+R and enter the command Taskschd.msc. Alternatively, you can press menu Start and enter into search Task Manager. There are also other launch options, but these two are the fastest.

  2. On the right side of the window, click Create a simple task.

  3. The window for creating a simple task will open. On the tab Create a simple task provide a name and description if you need the latter. Click Further.

  4. On the tab Triggers set value One time.

  5. Click Further and in the next step set the time when the computer will automatically turn off.

  6. Next, you need to tell the system the action it needs to perform. Select on the next window Run the program and press Further.

  7. Near the point Program or script click Review.

  8. An Explorer window will open in the system folder system32. Find the file in it shutdown.exe. It is he who initiates the process of shutting down the computer.

  9. Click OK.
  10. In field Add arguments enter -s. Click OK.

  11. Click Further, review the options you specified and click Ready.

For a single shutdown, this method may be too complex. But unlike scheduled shutdown using the command line, Task Scheduler allows you to make this procedure regular. For example, turn off the computer every day at 22:00. Trigger timing options can help you sort this out and set a schedule that works for you.

Setting the Windows 10 sleep timer from a shortcut

If you need to use sleep timers frequently, you can create shortcuts on the desktop or anywhere else in the operating system. Opening this shortcut will take over the task of activating the shutdown, reboot, or timed hibernation command.

  1. Right click anywhere and select Create – Shortcut.
  2. In the first step, enter the command shutdown-X-tY. Instead of X indicate the letter s to turn off, r to reboot or h for hibernation. Instead of Y– the time you need in seconds.
  3. Next, name your shortcut and save it.

You can also create a shortcut to cancel shutdown/reboot or hibernation. Everything is done exactly the same, only the command is specified shutdown-a. Once the shortcuts are created, you can move them, rename them, or change the icons as you wish.

How to stop your computer from automatically turning off in Windows 10

If you set a scheduled PC shutdown using the command Execute, Command line or PowerShell, then you can disable everything using a very simple action.

Click Win+R and enter shutdown -a. The system will then notify you that the automatic logout has been cancelled. You can run the same command in Command Prompt or PowerShell.

If a scheduled shutdown is set in the Task Scheduler, then the cancellation process will be slightly different.


There are also a large number of third-party programs that help schedule a shutdown, reboot, or sleep mode in Windows 10. Often, there is no need for such solutions due to the fact that the necessary mechanisms are already built into the system that can regulate the automatic shutdown of the computer. They work quite simply and effectively, which cannot always be said about third-party programs.

Also note that the scheduled shutdown method is not suitable if you want to use it as a parental control. To do this, Windows 10 has separate mechanisms installed that work differently, much more efficiently and reliably.

In addition, pay attention to the settings of the application that occupies your computer for a long time. Often, programs with a long period of task execution have an option to automatically shut down after completion. In this case, you won’t need system methods, not to mention third-party ones, at all.

Nowadays, almost all devices are equipped with timers to turn off after a 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 the two easiest ways to set a timer to turn off your computer using standard Windows 7 tools, 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, but using standard tools! 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 command line window 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 standard tools are quite sufficient. They are as simple and safe as possible, unlike third-party software.

If you often stay at the computer late, work, play or watch movies, then you will be interested in information about a timer for turning off the computer.

In the last article we talked about computer courses and. I recommend everyone to read this post to the end, where you will find a video lesson on a timer for turning off the computer.

Surely, to anger you who are reading this material, there are people who sit at the computer late into the night. Lately I've noticed that I don't go to bed until 2 am. I usually work until 12, then turn on one of my favorite Warface games or launch some new movie (downloaded in advance during the day or evening), which was recently released, and enjoy this kind of relaxation.

Review of programs and utilities

I remember before, when the Internet speed was not as fast and high as it is now, 3 - 4 years ago, I would come home from work, go online to one of the torrent tracker sites, find the game, program, music or movie I needed there, and set it to download and by the morning or the next evening they were downloaded.

You can shut down the computer yourself by clicking Start Menu > Shut Down or through Windows XP - Shut Down > Shut Down. Also, there is another simple and radical way to turn off the computer - you can simply press the large on/off button, after which the computer will begin to close all open programs and applications, and turn off after a while.

If you don’t want to wait that long, then there is a radical method, which I advise you to use only in emergency cases, for example, the computer has frozen or you are simply too lazy to wait for it to turn off normally. To do this, press the large on/off button, hold it pressed and wait until your computer turns off (for me this process takes no more than 3 seconds).

Want to learn more about power plans for your computer or laptop, look here. There are many programs, utilities, applications and timers in order to turn off the computer without problems and unnecessary movements, without straining. Most of them have approximately the same interface and functionality. Let's look at some of them in order.

Free timer to turn off your computer

I'll start our review with a free timer for turning off your computer version 3.1. This is a small dark gray window with a simple and intuitive interface. Its installation is simple, which probably everyone can handle.

Recently I noticed that when installing new programs on a computer, we are always offered to install a Yandex bar, Yandex browser or other similar elements that few people use.

So, this program is no exception; it also has similar bells and whistles. When installing a free timer by default, all these add-ons will be installed automatically, if you do not want this, then select Customize settings and disable all unnecessary ones.

We choose the right time, set the alarm and calmly do the necessary things or go to bed. By the way, if you can’t sleep, I recommend listening to pleasant sleep music, it helps me.

Shutdown Utility

The creator and developer of this utility is Grigory Filatov, it is available in 6 languages, including Russian.

We select the desired action: turn off the computer at the specified time, after a delay, turn off the computer's power, quickly end the programs, what should I do and click Start!!!.

Off timer or OFFTimer

There is a nice light gray interface, everything is in Russian. The current time is displayed on the left, on the right we select “Turn off the computer at:” and “Turn on the timer”, you can also minimize it to the tray so that it does not become an eyesore.

The word Attention! is written in red. We are warned in advance that this timer will forcefully close all applications and all unsaved data will be lost.

Automatic computer shutdown SM Timer

After downloading and installing the SM Timer - Smart Turn Off program, a small gray window with a clear and accessible interface appears in front of us.

You can choose to turn off your computer or log off at certain times or after a certain amount of time. Set the hours, minutes and click OK. You can also visit the official website of the program, enable autoloading of this software when you turn on the computer, or simply exit.

Turning off the computer - sleep timer 2007

Sleep timer - nice name, agree with me. This is a timer with button navigation and a small photo of a double bed with dim floor lamp lighting.

Select the desired action upon completion:

  • Put your computer into standby mode
  • Turn off computer
  • To restart a computer
  • Or do nothing

You can set the operating time, smoothly mute the sound, end the process, create a shortcut on the desktop, click Start or exit the program.

Power Off timer to turn off the computer

This timer has a lot of settings that you can view and click on. There are seven main tabs:

  • Timers
  • Diary
  • Setting up a diary
  • Hotkeys
  • Scheduler
  • Setting up the program
  • Program log

In this article we will consider only the Timers tab of interest. In order to turn off our computer, you can use a standard timer. We set the response time, take into account the date, countdown or system inactivity, you can select everything at once.

If you are a fan of listening to music through the Winamp player, then you can set up a Winamp-dependent timer. Information about CPU load is displayed. You can also see what network card you have, look at the settings and find out what network IP address, outgoing and incoming traffic, current speed and others.

We select the most important actions after the timer or certain commands are triggered:

  • Turn off computer
  • End current session
  • To restart a computer
  • Perform an action
  • Go to sleep mode
  • Remotely shut down
  • Lock your computer
  • Send a command over the network

I prefer to use the first tab, timers, but if you are a business person and keep a diary, you can customize that too. We select the desired date, set a specific time for the event, write this event and then you will definitely not miss it or forget it. For example, someone’s birthday, pay taxes, make a work call, and so on.

In general, this multifunctional timer for turning off your computer has a lot of useful and interesting things, go through the tabs and choose what you need.

Time PC - turn on and off the computer

This is a fairly simple and convenient program for turning off and turning on the computer on a schedule, at a time convenient for you, with six tabs:

  • Settings
  • Turn off/on your personal computer
  • Task Scheduler
  • Launching programs
  • About the program

In the first Settings tab, you can check the boxes next to: Run the program along with Windows, minimize to tray, close open programs when you turn off the computer, sounds at startup, and check for updates.

I think everything is clear with the language, choose the one you need and use it. On the PC Off/On tab, you can set the date and time of both turning off and turning on the computer, and you can also select hibernation or shutdown.

There are times when the computer does not want to turn on as scheduled, to fix this you need to do the following.

Go to the Start menu >>> Control Panel >>> Hardware and Sound >>> Power Options >>> Set up a power plan >>> Change advanced power settings.

In the window that appears, go to Sleep >>> Allow wake timers and select Enable if it was Disabled. Don't forget to click Apply and OK afterwards.

In the Scheduler, you can schedule the day of the week, the time to turn off and turn on the computer, do not forget to click the Run button.

On the Startup Programs tab, you can add programs that will start when you turn on the computer, alternative startup programs, or startup.

If you are interested and want to learn more about this program and its developer D.A. Kuzmin, then go to the About the program tab and visit the author’s website or write by email.

AutoShutdown desktop gadget for Windows 7

The Windows 7 operating system has convenient and functional desktop gadgets; if you don’t use them yet, I advise you to try them. I recently found a gadget called AutoShutdown on the Internet that helps you turn off your computer without much difficulty.

This is a small icon with a Russian interface and settings. Go to the gadget settings, select the desired action, set the timer and time, and you can check the Repeat box.

You can go to Additional options, enable Forced Sleep, add its shortcut to the desktop, and also enable or disable hibernation.

It is possible to Add shortcuts, select the design (background image) of the gadget and configure the button configuration.

This gadget works in Windows 7 operating systems; if you have another one, such as Windows XP, then this auto-shutdown gadget is not available to you.

Turn off the computer with the task scheduler

If you do not want to download and install various utilities, programs and gadgets to shut down your computer, then you can use standard Windows 7 tools: the task scheduler and the command line (which I will discuss below).

Go to the Start Menu, go to the search bar (Search programs and files) and type the text “Task Scheduler”.

You can also get here through the Control Panel >>> System and Security >>> Administration >>> Task Schedule.

Then in the window that appears on the right, find and go to Create a simple task. Then create a simple task, write a Name, Description and click Next.

Then in the triggers we need to select when to launch our new task, go to Once and Next.

We enter the required date and time to run our task. You can click the Synchronize by zones checkbox.

We select the action for our task - Run the program.

In the program or script column, write the word “shutdown”, then add the arguments “-s -f”. Where the “-s” character means shutdown, and the “-f” character forces the termination of all running tasks (the second character is optional, but I recommend that everyone set it).

We complete the creation of our task, a summary opens where we check everything and if we are satisfied, we click Finish.

To view our recently created task, you need to return to the Task Scheduler, go to the Task Scheduler Library and in the upper middle window go down to the very bottom of the list, our task should be displayed there Shut down the computer.

In order to change a task, double-click on it with the mouse and change what is needed. To delete a task, just right-click on it and select the word Delete.

Shutting down the computer via the command line

As I said above, you can turn off the computer without special programs using Windows tools, and more specifically through the command line in two ways, read below about how to do this.

First way

Open the “Run” window, go through the Start Menu >>> Run (for Windows XP) or use and press the “Win ​​+ R” button combination.

In the Run window that opens, type the following characters “shutdown -s -f -t 999”, where “-s” is to shut down the computer, “-f” is to force shutdown of programs and applications, and “-t 999” is a period of time in seconds, how long after the computer turns off.

You can write your own numbers, different from mine. Finally, press Enter or OK.

Before the time runs out and two or one minutes remain, the following warning window should appear.

Let's say you change your mind about turning off the computer, in order to cancel this action, go back to the Run window and type the command “shutdown -a”.

After this, a notification will appear - Logout cancelled. The scheduled system shutdown has been cancelled.

Second way

Call the Run window again by pressing the “Win ​​+ R” keys on the keyboard and enter the “cmd” command.

Or simply type the same command “cmd” in the Start Menu search bar and press Enter.

Here we also enter, slightly modified, the command “shutdown /s /f /t 888”, which was used in the first method.

To cancel shutting down your computer, type the following command “shutdown /a”, only here there is no longer a dash before the letter “a”, but a slash “/”.

This is how you can turn off your computer through the command line without third-party programs and utilities.

The most important! Before you set timers to turn off your computers, do not forget to save your data in open and running programs so that you will not be left without it later.

A few words in conclusion

In this article, we introduced you to a dozen ways to install different utilities, programs and timers to turn off your computer. I hope everything worked out for you and you can now safely go to bed with your computer on, knowing that it will turn off at the right time.

And now, as I promised at the beginning of the post, I’m posting a video lesson about computer timers.

Timer to turn off the computer | website

You may have questions related to utilities, programs and timers for automatically shutting down your computer. You can ask them below in the comments to this article, and also use the form with me.

Thank you for reading me on

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!







2024 gtavrl.ru.