TimePC is a program for shutting down your computer on a schedule. How to set up a scheduled computer shutdown in Windows! WinAmp - dependent timer

To ensure long lasting uninterrupted operation Any computer, be it a home desktop PC or a laptop, must be shut down correctly. Many novice users neglect this point, not knowing or forgetting that wrong actions at this stage can lead to loss work information. And over time, it threatens to require reinstalling the operating system. Not to mention the hardware failure of your PC. This happens quite rarely, but such a risk cannot be completely eliminated.

The shutdown procedure is very simple and can be done in several ways. Let's look into the details.


Do I need to turn off my computer?

You may think: why doesn’t someone turn it off? Yes, and there may be several reasons:

  • the computer is sent to sleep or hibernation mode rather than turned off;
  • the computer is simply not turned off so as not to waste time turning it on;
  • The computer is not turned off at night so that movies or other files can be downloaded at night.

However, there are plenty of objective reasons for switching off. Below are just a few of them:

  • Working modern computer A rather “gluttonous” device in terms of electricity consumption. Therefore, its aimless operation leads to a significant increase in the monthly electricity bill.
  • Light noise of coolers operating system unit, as well as illuminated system blog indicators at night can interfere with restful sleep (if the computer is in the bedroom). Therefore download large files(torrents, movies) is better not to perform at night.
  • It is undesirable to leave electrical appliances turned on in a house, apartment or office when no one is there.
  • Long-term continuous operation computer reduces the operating life of the equipment.
  • All components of the system unit located in it are installed only with the power off. These are modules random access memory, sound cards, processor, majority hard drives etc. C detailed device system unit we understood . Therefore, if you need to install it in the system unit additional module- The computer will need to be turned off.

Forced shutdown of the computer

Constantly using the methods described below to turn off the computer is extremely contraindicated for the “health” of the computer. However, many novice users due to ignorance the right ways handling computer equipment, abuse this method of turning off the computer, and then wonder why their computer does not start.

Unplug the cord from the outlet... Caution!!!

The usual action of pulling the plug of an electrical appliance from the socket is not applicable to a computer. No, of course, you can experiment...

But I can’t vouch for the continued normal functioning of the device!

The fact is that during operation, all the necessary data from operating system programs (find out what is operating system and why it is needed at all, you can in) and documents are stored in the computer’s RAM. Primarily used for permanent storage HDD, and to write data to it when turned off, you must follow the correct steps.

A sudden shutdown“from the socket” is an emergency option for shutting down the computer, in which system files may be damaged, preventing your computer from starting the next time.

Imagine that you are thinking about an important task and suddenly fall asleep! About the same effect will happen with a computer.

Similar consequences may occur when sudden shutdown uninterruptible power supply. If you are not yet “familiar” with this life-saving device, then let’s briefly understand its purpose.

An uninterruptible power supply (aka UPS) can provide continuous power to your computer in the event of a sudden power failure. electric current online. Typically, it is not intended for long work, but only allows you to correctly save all open documents, close programs and turn off the computer within a few minutes. All working data will not be lost.

By the way, often in tests on computer literacy there is a question: “When you turn off the computer, all information is erased in...”

Answer: in RAM. Everything is saved on the hard drive.

Forcing the computer to shut down using the power button

You can turn off a frozen computer (which does not respond to keyboard or mouse presses) by pressing the power button (also known as the power button) on the system unit and holding it down. Shutdown will occur after approximately 3-4 seconds of holding the button pressed.

It is also undesirable to abuse this method, since this shutdown option is an emergency and can damage system files and lead to the loss of information important to you.

I use it only when the computer is really hopelessly frozen and does not respond to any actions for 15-20 minutes.

Therefore, I once again draw your attention!

Turning off the computer by unplugging the plug power cord from a power outlet, a key on an extension cord, or a button on an uninterruptible power supply (UPS) without shutting down the operating system correctly will result in the loss of all unsaved data and, over time, the termination of normal operation operating system.

Modern operating systems will warn you about unclosed programs before shutting down your computer.

Properly shutting down your computer

Preparation before shutdown

To ensure safety open documents and files that you directly worked with, before turning off the computer you need to perform a number of actions:

  • save the results of your work in open source software Oh;
  • remove the disk from the drive, if it is there;
  • close running applications/programs;
  • give a command to turn off the computer using one of the methods that we will discuss below.

How to turn off your computer in Windows 7 via the Start menu.

Click on the button. It's located in the Start menu:

If there are open programs and unsaved documents, after clicking the button, the system will issue a warning asking you to close the programs.

If unsaved documents are not important to you, then you can speed up the shutdown process by clicking on the “ Force termination work."

If the documents are important, click the “Cancel” button, save the documents and close the programs and again click on “Shut down” in the “Start” menu

Next, wait until the system unit turns off (the screen will go dark, the system unit will stop buzzing, and the system unit’s power indicator will go out). After which you can turn off the UPS (uninterruptible power supply), if available, or the power strip key.
By the way, to protect your computer, another useful acquisition can be a surge protector (), just don’t confuse it with a simple extension cord!

How to turn off your computer in Windows 8 via the Start menu

To turn off your computer in Windows 8, just click on the start button (usually in the lower left corner of the Desktop). And then click on the computer shutdown icon on the right top corner window.

From the menu that opens, select “Shut down.”

We wait for the system unit to turn off and turn it off by unplugging it from the outlet or using the button surge protector or on the UPS.

Alternative options

Method 1 - start shutdown by briefly pressing the shutdown button

Switch off desktop computer You can do this by briefly pressing the power button on the system unit. Further actions in case of open programs, the steps are similar to those described above.

If there are none, the computer will turn off automatically.

A short press on the computer's power button will begin the shutdown process (equivalent to selecting the Shutdown option in Windows, as described above).

Method 2 - How to turn off your computer using the keyboard

While on the Desktop, press the key combination “Alt+F4”. A shutdown window appears.

Click the “Ok” button. We wait for the system unit to turn off and turn it off

Turn off the laptop

When turning off the laptop, the methods discussed above are available, but there is an easier way. You simply close its lid. It automatically goes into “sleep” mode, and in case of further prolonged “rest” it will automatically turn off, saving everything stored in RAM to the hard drive. When you turn on the computer again, all data will be restored to the state it was when you closed the laptop lid. This is the default behavior of the laptop, however, it can be changed.

Be careful, your laptop may behave differently when closing the lid!

The behavior of the laptop when the lid is closed can be customized and we will talk about this in a separate article.

Automatic computer shutdown according to schedule (timer)

In your daily interactions with your computer, you may need to turn it off while you are away. For example, the process of copying a CD or hard defragmentation disk, or processing a video file takes a long time, and you need to leave or just go to bed. How to optimally organize the computer shutdown in this case?

There are several options:

  • Some programs have a designed function to automatically turn off the computer after completing assigned tasks (for example, uTorrent, Download Master);
  • standard Windows tools allow you to configure shutdown automatically by time;
  • exist third party programs to automatically turn off the computer.

If you are still wondering what is computer programs, read .

As part of our “dialogue”, we will only consider using the standard “Task Scheduler” of the Windows system to organize the daily shutdown of the computer in certain time days. This is convenient, for example, for turning off the computer in the evening or at the end of the working day without your participation.

To start working with this program, go to the “Start” menu -> “Accessories” -> “Utilities”, select “Task Scheduler”.

We left-click on it and in the window that appears, select “Create” simple task…»

We call it arbitrarily, but it is clear to us, the planned action. Click the “Next” button...

We define the task trigger, that is, we set the mode of its execution.

Let's specify the time parameters.

In the next window we define necessary action. We are interested in “Running programs”.

We indicate the command to be executed and its additional parameters.

In the next window, after checking the entered data and clicking the “Finish” button, we will create a new task for the system.

Double-clicking with the left mouse button on it will open the task properties for editing.

The task will be completed at the appointed time. A minute before shutdown, the system will display a message on the screen about the upcoming shutdown of the computer. You can cancel the shutdown if you have time to perform a number of actions:

  • Press the key combination “Win+R” to open the “Run” command line window;
  • Type the command “shutdown –s” and press the “OK” button or just the “Enter” key.

The task will be cancelled. You can continue working further.

I hope that this information will help your computer to be “healthy” and efficient.

Operating system developer Windows Scheduled options are available. As such, there is no shutdown button indicating parameters. To do this, you need to use the command line and other standard (built-in) tools Windows. This method is especially good because it works always and everywhere, since it was developed and provided directly by the operating system developer himself. Tested on Windows XP, Windows 7, Windows 8.1

Those who are not interested in theory can go straight to the sections:
-
-

Shut down or restart your computer on a schedule
(at a specified time) with standard (built-in) Windows tools

Scheduled
(at a specified time) from the command line (MS DOS)

Since time immemorial, all operating systems in the MS Windows family have included a disk operating system (abbreviated as MS DOS), which does not have the usual user interface for “batting” on it with the mouse. MS DOS is controlled using the keyboard input method. text commands in a special window, in the so-called command line . The command line works on any computer running any modification of the MS Windows operating system.

In the operating system MS Windows, from the command line you can do absolutely everything that this system is capable of.

TO command line can be called in one of the following ways:

  • press a key combination Win+R, enter cmd.exe, click OK
  • “Start Menu > Run”, enter cmd.exe, click OK
  • “Start Menu > All Programs > Accessories > Command Prompt”

Either way, a window will open MS DOS
(command line to enter a text command)
It is in it (on the command line) that we will:

  1. turn countdown on and off
    shutting down or restarting the computer
    (i.e. indicate after how long to perform the action)
  2. assign and cancel exact FOR
    shutting down or restarting the computer
    (i.e. indicate exactly when to perform an action)

All manipulations come down to accessing the file shutdown.exe
and specifying the required parameters

shutdown command options and syntax
(to access the shutdown.exe file)

File shutdown.exe is responsible for shutting down the operating system Windows, rebooting it, etc. To get a list of file launch parameters shutdown.exe from the command line - press the keyboard shortcut Win+R, in the window that opens, enter cmd.exe(go to MS DOS) and already in the DOS window (manually) enter “ shutdown/?"(without quotes). Click "OK" ("Enter" key). In response, the system will display a complete list of command parameters shutdown:

Regarding the parameter syntax for the command shutdown, That MS DOS understands both recording options - and with a hyphen (minus sign " - " on numeric keypad) and through a slash (slash on the numeric keypad):

  1. shutdown /s /f /t 2000 equivalent shutdown -s -f -t 2000
  2. at 23:15 shutdown /r /f equivalent at 23:15 shutdown -r -f

In our case, there is no fundamental difference between a slash and a hyphen. It is much more important to remember about spacing. Because, in the understanding of the operating system, slash equals hyphen followed by space , then without a space - it may not work.

For example, in the screenshot above, I entered the commands “ shutdown-?" And " shutdown -?", and " shutdown/?" And " shutdown/?" The system's answer is obvious.

Simplified entry of the shutdown command
(Run window)

To turn the countdown timer on or off, open the “Run” window ( Win+R OK.

The time before turning off (rebooting) the computer must be entered in seconds.

Correct command entry is confirmed by corresponding pop-up windows in the tray. Pop-ups should appear after each correct command entry. They look something like this:

System response to a command to turn off or restart the computer after 33 minutes = 2000 seconds
System response to a command to cancel a command to shut down or restart the computer

10 minutes before the task is completed, the system begins to remind you that the countdown is about to end. The reminder form can have several options. Probably depends on the version of Windows and the design style.

A few minutes before the task is completed, the system notifies that the countdown is about to end.

Command line installation
exact time of the current date
to shut down and restart the computer

Setting the exact time current date from allows you to assign exact time current date to shut down or restart your computer. This task will only be executed ONCE, after which the task assignment procedure will need to be repeated. If you need the computer to be systematically turned off according to a schedule (at the same time), then you need to use or

To set the exact time of the current date to shut down or restart the computer, open the “Run” window ( Win+R), enter the desired command and click OK.

The computer shutdown (reboot) time must be entered in the specified format.
Time values, of course, are different for everyone.

Unlike installation, correct command input when setting the time to shut down or restart the computer is not confirmed by the corresponding pop-up windows in the tray

It is convenient to create from the command line DISPOSABLE task to shut down or restart the computer. If you need to systematically shut down your computer according to a schedule (for example, in specified time, at the end of the working day), then you need to set the shutdown time after or after

Shutdown and restart your computer
using an executive (batch) file

Executive (batch) files with the extension .bat() make working with the command line much easier. Once you create such a bat file with the text the required command, you can perform it by simply clicking on the body file, without tediously calling the command line window and entering the command text into it.

Let's remember the list of our commands and create the corresponding batch files:

  1. shutdown /s /f /t 2000 or shutdown -s -f -t 2000
    (turn off computer after 33min = 2000 seconds)
  2. shutdown /r /f /t 2000 or shutdown -r -f -t 2000
    (restart computer after 33min = 2000 seconds)
  3. at 23:15 shutdown /s /f or at 23:15 shutdown -s -f
    (turn off the computer today at 23:15)
  4. at 23:15 shutdown /r /f or at 23:15 shutdown -r -f
    (reboot your computer today at 11:15 pm)
  5. shutdown/a or shutdown -a
    (cancel the command to shutdown/restart the computer)

To create an executive (batch) batch file - open notepad, copy (write) into it the desired line commands and save the file with the extension .bat. For example, let's create two files - the “Shutdown.bat” file and the “Cancel.bat” file. In the first file we write the line “ shutdown /s /f /t 2000" (without quotes), in the second - the line " shutdown/a"(without quotes). Clicking on the first file will give a command to turn off the computer after 33 minutes = 2000 seconds. Clicking on the second file will cancel the command to turn off the computer after 33 minutes = 2000 seconds. Thus, we will receive two files, clicking on which will have the same effect as in the case of a call and entering the desired command into it.

Everything is very simple, and it is much more convenient than the command line. In addition, this method gives room for flight of imagination and creative thought. For example, you can set the timeout to 28800 seconds. (28800 seconds = 8 hours = length of a working day), put the “Shutdown.bat” file in the computer’s startup folder and no longer worry about turning it off at the end of the working day. Because, every time the system boots, it will receive a command to shut down after 8 hours = 28800 seconds. The same effect will be achieved by the executable.bat file in startup, with the content “ at 17:00 shutdown /s /f"(without quotes). Moreover, this command is even preferable, since it sets the exact time to turn off the computer and does not depend on the number of reboots during the working day.

Funny. If you set the timeout to 180 seconds in the bat file in the startup folder, then the computer will turn off 3 minutes after it starts.

Shutdown and restart your computer
at a specified time via the task scheduler

The task scheduler is a special feature Windows. The Task Scheduler allows you to create and execute various scheduled tasks. In our case, this is to systematically turn off or restart the computer specified time. Unlike and, the task scheduler allows you to more flexibly assign the exact time and frequency of shutting down the computer.

To configure the computer to shut down or restart at a specified time through the task scheduler, open the task scheduler. It is located in “Start Menu > All Programs > Accessories > System Tools > Task Scheduler”

Then, in the window that opens, write the name of the task and its description. Here you can write whatever you want. The task name and description will then be displayed in the middle column of the scheduler after the task is created. I wrote the name - “Shutdown”, the description - “Turn off the computer” and clicked the “Next” button...

In the next window that opens, you need to select the frequency of the task. I chose “Daily”. "Further"...

In the next window that opens, you need to specify the date from which to start executing the task and the time it will be completed. By default, the current date and time are displayed. The date can be left unchanged (start today), but you need to set your own time. This will be the required time to shut down the computer. I set it to 17:00:00, which corresponds to the end of my working day. The line “Repeat every 1 day.” - left unchanged. "Further"...

In the next window that opens, you need to set the switch (checkbox) next to the words “Run the program”. "Further"...

In the next window that opens, in the “program or script” line, enter the command “ shutdown" (without quotes), and in the "add arguments" field " -s -f" (without quotes) - to turn off. If you need to restart the computer, then in the “add arguments” field enter “ -r -f"(without quotes). "Further"...

Click the “Done” button. Problem on daily computer shutdown at 17:00- created and launched. You can check your work or delete a task as follows. We launch the scheduler, click on “Task Scheduler Library” and in the middle column we find the desired task (by name). Right click Click on it with your mouse and select the one you need from the drop-down menu.

To check, I clicked on “Run”. The computer responded instantly. It works, yay!

Turning off the computer
Shut down your computer from the command line

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 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 others Windows versions. 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 – Forces termination of all open programs 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 programs from third party developers.

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

In operating rooms Windows systems 7, 8, 10 and XP are very affordable powerful tool 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 with 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.

Then 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 shutdown command as well as launch options. 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 context menu(right click with the mouse) 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. By using PowerOff programs You can customize almost any little thing. On the other hand, due to huge amount 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. Switch program Off 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.

Remember how, as a child, our parents made sure that we got enough sleep? Ten minutes with your favorite book or TV program - and go to bed. Now not only children, but also computers have to be sent “under the covers.”

Why do you need to turn off your computer using a timer? Isn't it easier to do this when you get up because of him? There can be many reasons:

  • You leave a large download overnight and roughly calculate how long it can last
  • You get into bed to watch a movie, for example, and set a timer almost immediately after finishing it
  • You leave home, but the computer must be open for remote access for some time
  • You regularly leave in a hurry and may simply forget to turn off the computer, especially if the monitor goes dark after inactivity

Even one of these reasons is enough to use delayed shutdown. Moreover (as we will see below) you don’t have to dig deep into how to set a computer timer.

Built-in Windows timer

Very often we use Windows without noticing the full power of this operating system. But among its functions there are a lot of non-obvious ones - such, for example, as setting the computer on a shutdown timer. Let's assume you have Windows current version- from 7 to 10.

We hope the concept of “command line” doesn’t scare you? If you grew up in the MS-DOS era or are interested in administration, then you shouldn't. But even if you are far from this, there is nothing wrong with using the command line. This is a powerful tool Windows management, and extensive command help will allow you to achieve your goals with just one press of Enter.

To open the command line, you can simultaneously press the R and Win keys on your keyboard (with Windows logo). Another way is to go to the Start menu, and there, in the “All Programs/Accessories” section, find the “Run” line. The result will be the same: a window will open in front of you with an input field, meager and containing nothing more.

Let's say you need to turn off your computer after 5 minutes. Now you need to enter a command that looks like a formula:

As you know from your English course, shutdown means “turning off”. The -s (suspend) option is needed to delay the execution of the command and requires us to specify the time before shutdown. Time (which is logical) is denoted by the letter t (from the word time) and is indicated in seconds. In our case, 300 seconds corresponds to 5 minutes. If you are watching a two-hour movie and want to set the computer shutdown timer with a five-minute margin, then you need to multiply 2 hours 5 minutes (or 125 minutes) by 60 seconds. It turns out 7500 - this is the number that will need to be substituted into a simple expression.

If you have any programs running while your computer is running that interfere with closing, you should add the -f (forced) parameter at the end of the command. When using it, all running programs will be closed forcibly.

What if for some reason you change your mind about turning off your computer? No, you don't have to think about whether to cut the red or blue wires. Just launch the command prompt again and enter the command

shutdown -a

"a" in in this case means “abort” - interruption. The pending command to turn off the computer is thus canceled.

So you (may) have to spend some time learning basic capabilities team Windows strings(more precisely, there is now a more powerful tool - PowerShell, but for us it is still the command line). No problem, it will pay off: your electricity bills will be lower, and your computer will last you longer.

Delayed shutdown in one click

If you constantly use the delayed shutdown of your computer, then it makes sense for you to automate the process and create a shortcut for quick launch teams. This is done standard means Windows:


  • Click “Next”

  • Enter a name for the shortcut (for example, “Turn off later”)
  • Click “Finish”

This method has only one inconvenience: to change the time before shutdown, you will have to edit the properties of the shortcut. This is done again by right-clicking, after which you select the “Properties” item and in the “Object” line change the time to the desired one.

Scheduler

Windows has another powerful tool for scheduling tasks: Scheduler. How to turn off your computer using a timer via Planner? First you need to call it:


In the window that opens, select the “Create a simple task” option, name it, for example, “Timer” and specify the frequency. If you may not have time to turn off the computer before leaving for work or need access to it at a certain time, select “Daily”; otherwise, “Once”.

In the next window, set the shutdown time. Click “Next”, in the next window select “Run a program”.

And then old friends are waiting for us. In the line “Command or script” you need to enter the command already known to us “ shutdown -s" We won’t need the remaining parameters: after all, we have already set the time at the previous stage.

This method is good if you regularly face the task of turning off your computer. In addition, the Planner is worth exploring for other purposes.

Additional tools for delayed computer shutdown

There's a reason we started by listing the times when we might need a delayed shutdown! We can either watch a movie, or listen to music, or download torrents or just files from the network, and so on. In this case, it is more convenient to set not the exact shutdown time, but an event in the program (end of download/movie/playlist, etc.). Let's consider programs that will do all the work for us:

µTorrent

This popular torrent client can, after finishing downloading, turn off the computer or put it into standby mode. Open the main µTorrent window, go to the “Settings” menu and select “Completion” Windows operation"(it's at the very bottom of the menu).

Here you will find a huge selection of options, but in essence they come down to a simple set. The application can, after all downloads are completed (or after all downloads and distributions are completed, but, as you know, distributions can be endless) perform one of the following actions: turn off the computer, go into sleep mode, go into standby mode, restart Windows, or close only itself. We are, of course, interested in the first point. This means you should select the first line last section- “Shutdown when downloads are complete.”

Download Master

When you leave a large download overnight, you can configure the most popular download manager to automatically turn off your computer afterwards. To do this, open the “Settings” menu, select “Automation” and in the “When all downloads are complete” menu, select the “Turn off PC” option.

The same program allows you to turn off the computer at a strictly specified time. Open the “Tools” section, the “Schedule” item, activate the “Shut down on schedule” and “Turn off the computer” options, then set the shutdown time and click “Apply”.

AIMP

The most popular player in the post-Soviet space, which inherited the glory of Winamp, also allows you to turn off the computer after playing a playlist. To do this, go to the menu, open the “Scheduler” item and select “Turn off computer”. In the menu window you will have a huge selection of options: turn off after playing a playlist, queue, after one track or file, and also (what is most interesting for us) at a given time.

However, all the options are interesting in their own way. If you decide to listen to music before bed, you can set it to turn off after a playlist or queue.

Media Player Classic

One of the most popular video players is also capable of turning off the computer after finishing playback. You don’t even need any tricks for this (as, for example, with its competitor VLC). Just launch the player, select the “Playing” section, then “When finished” and select the “Turn off computer” option. This way, you don't even have to get out of bed to turn off your PC just after watching a movie. Especially if you fall asleep in the process.

So have a good viewing, successful downloads and sweet dreams!

Automatic shutdown of the computer is extremely useful option, which will help you out more than once. It comes in handy in cases where your PC or laptop is busy with a long process and you need to leave. In this case, you can configure the computer to turn off - when the desired operation is completed, it will turn off on its own. And you can calmly go to bed, go to work or do your other things.

Most often, configuration is required if you:

  • check your PC for viruses;
  • convert video files;
  • install a computer game;
  • download large files;
  • copy important data, etc.

There are many options here, but the point should be clear.

The first is using built-in Windows tools. The second is using additional software. ABOUT the latter method read here: . And this article describes everything possible ways configure the computer to turn off at a specified time using built-in Windows tools.

All the methods below are universal and work on Windows 7, 8 and 10. Therefore, no matter what operating system you have, you can schedule your computer to shut down in any convenient way.

The first method is how to enable automatic shutdown computer or laptop - use the “Run” section. For this:

The following window will appear confirming that everything was done correctly.

The number 3600 is the number of seconds. It can be anything. This particular command activates the automatic shutdown of the PC after 1 hour. The procedure is one-time only. If you need to turn it off again, you must do it again.

Instead of the number 3600, you can write any other number:

  • 600 – shutdown after 10 minutes;
  • 1800 – after 30 minutes;
  • 5400 – in an hour and a half.

I think the principle is clear and desired value you can do the math yourself.

If you have already activated the computer to shut down and for some reason changed your mind, then call this window again and write the line shutdown -a . As a result, the scheduled automatic shutdown will be cancelled. If everything is done correctly, the following message will appear.

Shutting down the computer via the command line

Another very similar method is through the command line. To enable this option:


If you suddenly change your mind this operation, then open this window again and enter – shutdown -a .

This command only works when you have already set the time to turn off the computer, but it has not yet arrived.

By the way, if this procedure needs to be performed regularly, then there is an easier way. To avoid opening the Run window or Command Prompt, create a shortcut (for example, on your desktop). And in the “Object location” field write next line C:\Windows\System32\shutdown.exe -s -t 5400(the number can be any). Click Next, then enter a name for the shortcut and click Finish.

Now, when you need to set your computer to shut down, just click on this shortcut. AND this option will be activated immediately (you will see a confirmation message).

For convenience, you can create another shortcut to remove turning off the computer (in case you need it). But here you need to write down the following: C:\Windows\System32\shutdown.exe -a(no period at the end).

Turn off the computer according to schedule

AND last method– turn off the computer by time using the “Scheduler”. Suitable when this procedure you need to do it regularly: daily, weekly, etc. In order not to constantly launch the command line, you just need to set the time to turn off your computer or laptop once and that’s it.

To do this:


This is how you can set the computer shutdown time. Daily or monthly settings are carried out in approximately the same way. Some fields will be different, but there is nothing complicated there - you'll figure it out.

What should I do if I need to edit or delete this task? In this case, go back to the “Scheduler” and open the “Library” tab. Find your task in the list here (by name) and double-click with the left button.

In the window that opens, go to the “Triggers” section and click on the “Edit” button.

If you no longer need to shut down your PC on a schedule, then go to the “Library”, select your task, right-click, and then click “Delete”.

A few words in conclusion

In many modern programs There is a checkbox “Turn off the PC after the procedure is completed.” Most often, it is available in those utilities that take a long time to complete their work - for example, disk defragmentation, scanning a laptop or computer for viruses, etc.

Be sure to check that each program has this checkbox. If it is, then you will not need to configure the PC to turn off at a time. It's much easier and more convenient. If it is not there, then you will have to configure it manually.

By the way, how to correctly calculate the time when you need to turn off your PC? Usually programs show an approximate value when a specific procedure (virus scan or defragmentation) will be completed. Look at it and add another 20-30% (or more) on top. In any case, your PC will be turned off before you wake up in the morning or come home from work in the evening.