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.

At any operating system find command line you can quickly through the search. For example, in Windows XP, Windows Vista or Windows 7, open the Start menu and type “cmd” in the search 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 the latter Microsoft development- 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, click right click mouse over 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 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 a more interesting option - how to delay turning off the computer for a certain 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:

    Open 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, as well as 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 in by default in all Windows systems and you can find it 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”:

    On next step Do you need to note when the scheduled 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 :)

I am very surprised why the standard Windows programs timer not included automatic shutdown PC. First of all, it would be convenient - waiting until the computer finishes loading a file or processing other information is irrational; it is better to set the auto shutdown time and go about your business. Fortunately, I was able to find how to get a similar function and today I will share this information with you.

Computer shutdown timer via command line

To enable the timer using the Windows tools itself, you need to specify the desired command in the “Command Line” or in the “Run” menu.

In the “Start” menu, you need to find “Command Prompt” from the list of “standard” programs. A dark window with white letters will appear on the screen. In it, type the command shutdown /? with the keyboard, confirm with the “Enter” key and look at all the available parameters.

To disable you only need two:

s – completion of work.
t is the number of seconds until the end.

To turn off the computer after half an hour, write shutdown -s -t 3600 on the command line.

A similar command can be entered in the “Run” line by calling it by pressing win buttons+ R or go to Start/Run.

Computer shutdown program timer

In order not to enter anything, I selected several timer programs to automatically turn off the PC.

1 PowerOff. This timer is multifunctional and has many additional features. On the “Timer” tab in the program window, check the box next to “Response time” and set exact time shutdown, or opposite “Countdown” and enter the number of minutes until shutdown. Below the start button, select the required action (disabled by default) and start the timer.

For those who like to listen to music, the WinAmp player has a function to turn off after a certain amount tracks. You can see it in the right column of the window. There are also options for shutting down after reducing the processor load and using data transfer on the Internet.

2 TimePC. The program is able to turn off and turn on the computer according to a given command. Everything is as simple as possible - set the desired date, time and click the “Apply” button.

Function automatic switching on puts the computer into a state of deep sleep, resets all information from random access memory on HDD and after starting the PC restores them, allowing you to continue working from the last point. In the settings you can find several additional options, such as launching with Windows, and on the “Scheduler” tab, set a schedule for the following days.

3 Sleep Timer 2007. The program is as simple as possible and does not require installation. She knows how to shut down, put the computer into sleep mode and restart it. In the window, select the processes that need to be completed before shutting down, set the required time and click “Start”. In order not to set the same parameters after the next launch, you can create a Shortcut using the button of the same name below. For convenience, there is also an option to reduce the sound before shutting down.

I think this information will be useful not only for me, because the function of automatically turning off the computer in many cases is truly irreplaceable. Good luck!

By learning how to use the automatic shutdown feature in Windows 10, you will get rid of the need to turn off your computer yourself, which is convenient in a number of situations.

For example, you set a file to download and went to bed, having previously configured it to turn off until the download process is expected to complete. As a result, the file was downloaded and the computer turned off in time.

Automatic shutdown is configurable standard means OS. Do the following:

open Start, type in search bar request “task scheduler” (in Windows 10, enter “Taskschd.msc”)

click “Create task”

enter any process name and check the “Run with highest rights” checkbox if the function is deactivated;

open the “Triggers” section and click the “Create” button

set the duration of the task and specify the start date for its execution. The desired automatic shutdown frequency is also set here.

open the "Actions" tab and click the "Create" button

enter the following command in the “Program” line: “C:Windows\System32\shutdown.exe” in the “Add arguments” field enter “-s” (without quotes). Thanks to this, upon completion Windows operation 10 running applications will close

Open the “Condition” section and check the “Run task when the computer is idle” checkbox. Set the desired time and activate the “Restart when downtime resumes” function;

open the “Settings” section and activate the “If execution fails, restart after” function. Here, specify the time after which the task will restart. Set it to 10 or 30 minutes.

Finally, click OK, and the computer shutdown function will be activated.

Automatically shut down your computer via the command line

The method is suitable for one-time Windows settings to automatically shut down after the desired time. Do the following:

Press the Win+R key combination and enter the command shutdown -s -t 1200. In this case, “1200” is the number of seconds after which the computer will turn off. Replace the value in seconds and click the Enter button.

To cancel automatic shutdown, do the same, replacing the previously mentioned command with the following: shutdown –a.

Software timers to automatically turn off your computer

There are many applications that allow you to configure automatic shutdown of your computer through a graphical interface familiar to the user.

Power Off!

At first glance, the interface seems complex and overloaded. In reality, you just need to “make friends” with him. The utility offers several sections.

Timers. This is where you set options for shutting down, rebooting, or entering standby/sleep mode.

In the “Standard Timer” block you can configure the computer to turn off at certain time, or upon completion of the countdown (set by the user), or after specified time OS downtime.

Winamp's dependent timer. The software is tied to the popular media player Winamp. The operation of the utility can be controlled from the player.
For example, you can set the system to turn off after playing a certain number of songs or after finishing playing the last position in a playlist. The function will appeal to those who like to fall asleep to music (see).

CPU dependent timer. The application adapts to the state of the processor. For example, the utility can be configured to shut down the system if the permissible load on the processor (see) is exceeded for a certain period of time.

Internet dependent timer. The function will be useful for users who regularly download large files from the network. The software can be configured to shut down / activate sleep mode after downloading files, etc.

Other features. The utility has a customizable diary and other useful features.

Time PC

The program can be configured to put the computer into hibernation mode and then wake it up according to a schedule. The built-in scheduler is designed for weekly use. There is a function to launch the application along with Windows (see).

Hibernation can be compared to “lethargic sleep.” Unlike sleep mode, hibernation ends the main system processes(even the coolers stop making noise) and the computer looks like it is completely turned off.

Before entering hibernation mode, system state information is saved. After waking up, all processes are restored.

Before using the utility, find the power management section in the Control Panel, open the sleep mode settings and enable the use of wake timers. Otherwise, the application will not be able to wake up the system on a schedule.

Sleep Timer 2007

Modest in its functionality, the program will take up minimal space and will not require prior installation. The application can do the following:

turn off/reboot/sleep the computer at the specified time;

forcefully terminate user-selected processes;

gradually reduce the volume;

launch user program via shortcut.

OFF Timer

Another representative of the category of elementary programs from the “nothing extra” category. There is only one function: turn off the computer at a time specified by the user.

All running programs will be forcibly closed (see).

Before the system shuts down, the program will issue a corresponding notification. The user will have 10 seconds to cancel the upcoming event.


The program does not require installation.

SM Timer

A miniature utility with two main functions:

1. turning off the computer at a specified time;

2. ending the session after a certain period of time.

The time is set using sliders - the only decoration of the modest minimalist interface.

Now you know how to set Windows 10 to shut down via the command line, task scheduler, and popular third-party programs. Choose the option you like, follow the appropriate instructions and everything will work out.

The timer is a very convenient function that will allow you to use your device more intelligently, because then you will be able to control the time spent on the computer. There are several ways to set the time after which the system will shut down. You can do this using only system tools, or you can install additional software. Let's consider both options.

Many users need a timer to keep track of time and also to prevent their computer from wasting power. In this case, it is much more convenient to use additional software products, because the system’s tools will not give you so many tools to work with over time.

Method 1: Airytec Switch Off

One of best programs A similar plan is Airytec Switch Off. With its help, you can not only set a timer, but also configure the device to turn off after all downloads are completed, log out of the account after a long absence of the user, and much more.

It is very easy to use the program, because it has Russian localization. After launching, Airytec Switch Off minimizes to tray and does not interfere with you in any way while working at the computer. Find the program icon and click on it with the mouse - it will open context menu, in which you can select the required function.

Method 2: Wise Auto Shutdown

Wise Auto Shutdown is also a Russian-language program that will help you control the operating time of your device. With its help, you can set the time after which the computer will turn off, reboot, go into sleep mode, and much more. You can also even create a daily schedule according to which the system will work.

Working with Wise Auto Shutdown is quite simple. When you run the program, in the menu on the left you need to select what action the system should perform, and on the right you need to indicate the time for the selected action to be performed. You can also enable a reminder to appear 5 minutes before you turn off your computer.

Method 3: Use system tools

You can also set a timer without using additional software, and with the help system applications: dialog box "Run" or "Command line".


We looked at 3 ways in which you can set a timer on your computer. As you can see, using Windows system tools in this matter is not best idea. Using additional software? you will make your work much easier. Of course, there are many other programs for working with time, but we have selected the most popular and interesting ones.

Turning your computer on and off using a timer is a useful function. Thanks to them, you can use your PC as an alarm clock or have it turn on automatically shortly before you arrive home. In the evenings you don’t have to wait for the download to finish large file. The computer will turn off on its own. Convenient, right?

Set up a timer to turn your PC on and off using Windows 7 is possible in 5 minutes. Now we will deal with it, and also consider several third party programs designed for this purpose.

Creating a timer via Task Scheduler

Setting up a power plan

Before you can create a timer, you must allow the system to wake up on a schedule. The feature is enabled in the power plan settings. By default it is disabled.

  • Launch Control Panel and click “Power Options”.

  • Select your plan and click the “Set up power plan” button.

  • Next, click “Change advanced power settings.”

  • Select “Sleep” – “Allow wake timers” from the list of options and set them to “Enable”. If you are creating a timer on a laptop, be aware that it may turn on while in the case and suffer from overheating.

Create a computer shutdown timer

  • Launch Task Scheduler through the “Start” menu – All Programs – “Accessories” and “System Tools”. Or just type the word “scheduler” into the search bar in Start.

  • In the “Actions” column of the Scheduler, click “Create a simple task.”

  • First you need to give the task a name. Let's call it “Turning off the computer.” In the “Description” field, you can write a few words about the new task, but you can leave it empty. After that, click “Next”.

  • Next, we create a task trigger – repetition frequency. Let's select “Daily”.

  • We will set a date and time for the task to begin.

  • In the “Action” section, select “Run program”.

  • In the next window, select what we will launch: write in the “Program and script” line: C:Windowssystem32shutdown.exe, and in the “Add arguments” field enter the key -s. Click “Next” and “Finish”. The task has been created, all that remains is to check how the computer turns off.

Create a computer turn-on timer

  • We launch the Task Scheduler again, but now select the “Create task” item in the “Actions” list.
  • On the “General” tab, give the task a name – let it be “Turning on the computer” and write a description (optional). In the “Configure for” drop-down list, select Windows 7.

  • On the next tab – “Triggers”, click the “Create” button. We configure the task execution schedule, mark “Enabled” and click OK.

  • Let's move on to “Actions”. Here you need to select a program, script or other action to be performed. If you are creating a timer as an alarm, select a music file. In our example, we will create a message that will be displayed on the screen when the computer turns on.

  • On the “Conditions” tab, check “Wake up the computer to perform a task.” Here it is advisable to leave active the “Start when powered from the mains” and “Stop when switching to battery power” items – this will protect the laptop from accidental overheating.

  • On the “Options” tab you can set additional conditions completing the task. That's all. Now it is advisable to check how the created task functions: send the computer to sleep or hibernate and wait for it to turn on according to the timer.

Programs for turning on and off your computer under Windows 7

For those who are lazy and do not want to bother working with the Scheduler, there are many programs with similar functions - turning the PC on and off according to a schedule. Here are some of them:

  • sleep timer(OffTimer) – simple free application, requiring installation. To set up a schedule, in a single small window you need to set the desired time and press the arrow button. There is no function to turn on the PC here.

  • TimePC- a program with the function of turning the PC on and off, has a built-in scheduler, which is not similar to the Windows 7 Task Scheduler. Using TimePC is very easy - just create the desired schedule and select a program or action that will be performed when the computer is turned on.

  • Power Off A powerful multitasking tool that works without installation. According to the schedule that can be configured in this program, the computer turns on and off.

All these applications are free, compatible with Windows 7 and in Russian.

What to do if the PC does not turn on or does not turn off on a timer

  • Make sure you remember to enable wake permission in your power plan settings.
  • Check whether the “Task Scheduler” service is running on the PC - press the “Windows” + “R” keys, enter the command in the “Open” field Services.msc. Confirm your entry by clicking OK. In the list of services window that opens, find the one you need and right-click properties to make sure it is working. If it is stopped, turn it on.

  • Make sure your Account has sufficient rights to create scheduled tasks. Create a schedule under an administrator account.
  • Check whether the created task is still there and whether the conditions for its execution have changed. Launch Task Scheduler, open Scheduler Libraries, find the task and view the data.

  • If your PC still won't turn on or off, the Scheduler log may help you determine the reason.

If it is not disabled, all information about the execution of tasks and their errors is recorded there.