Close computer shut down. Turning off the computer using the keyboard keys. Shutting Down Your Computer Using Task Scheduler

Close computer shut down.  Turning off the computer using the keyboard keys.  Shutting Down Your Computer Using Task Scheduler
Close computer shut down. Turning off the computer using the keyboard keys. Shutting Down Your Computer Using Task Scheduler

On the blog about for beginners. Hello everyone, today we will talk about shutting down the computer by non-traditional methods.that is, not
using the mouse, using the keyboard keys. And we talked about it in this article.

Ways to turn off the computer

As you know, in order to turn off the computer, they mainly use three methods, but by itself:

  1. Shutting down the computer using the "shut down" button in the Start menu.
  2. Turning off the computer by briefly pressing the Power button of the system unit (emergency or emergency shutdown of the computer).
  3. Shutdown by closing the lid of the laptop, if such settings are set.

But what to do if your “mouse” or touchpad (touchpad) suddenly failed, but you don’t want to make an emergency stop?
To do this, there is a shutdown of the computer provided by the OS manufacturers. In this case, there are several options for keyboard shortcuts.

How to turn off the computer using keyboard keys

The first combination is a simultaneous short press of the ALT + F4 keys, do not forget to add Fn (Fn + ALT + F4) on the laptop. After that, on the screen
You will see the sign TURN OFF the computer. For this it is necessary. use the Navigation Keys (arrows) to select the desired action, and press ENTER.

The second way is to press the WINDOWS button and then select an action using the navigation keys. Well
Here, as they say, there are two options.


Pressing the ENTER button at the end of the session, or Turn off the computer. In both cases, you will achieve the desired result.

The third way is the key combination CTRL+ESC, or CTRL+ALT+DEL.

The fourth way is to install a special program PSHUTDOWN. Fans of experimenting can download it from "my" Yandex disk.
https://yadi.sk/d/w0DcUbbsuETTR
The program does not require a special description, as it is understandable on an intuitive level.

Like these ones ways to turn off the computer without using the mouse know I. What are you, dear users?
methods do you use? It will be very interesting and informative to find out through the comment form.

There are three ways shutting down the computer:

  • press the computer's power button;
  • press the "Shut down" button (sometimes called the power button) in the start menu;
  • or, if it's a laptop, close its lid.

Using the Shut Down Button on the Start Menu

To turn off computer, click the Start button , and in the lower-left corner of the Start menu, click To finish work.

After pressing the button To finish work the computer closes all open programs, the Windows system itself and the computer with the screen are completely turned off. Since your work is not saved when you turn off your computer in this way, you should save your files first.

Change the options for the Shut Down button

By default, the Shut Down button shuts down the computer. However, you can change the action that is performed when the button is clicked.

  1. Open the Taskbar and Start Menu Properties dialog box by right-clicking on the menu icon Start.
  2. Click the Start Menu tab.
  3. Listed Power button action select the one you want and press the OK button.

If the computer is connected to a network domain, then through the settings set by the network administrator (Group Policy settings), it will probably not be possible to change these settings in the way described above.

In certain situations, the Shut Down button may change its appearance. If your computer is configured to automatically receive updates and they are ready to be installed, the Shut Down button will look like this:

In this case, after pressing the button "Shut down" Windows first installs updates and only then turns off the computer.

Note: It takes longer to start the computer after shutdown than it does to wake it up from sleep.

Using Windows hibernation

Instead of turning off your computer, you can put into sleep mode. When the computer goes to sleep, the display (and often the fan) turns off. When the computer is in sleep mode, the light on the computer blinks or turns amber. The process of "falling asleep" lasts only a few seconds.

Because Windows saves your work, no need to close programs and files before the computer enters sleep mode. However, it's a good idea to always save your work before putting your computer into any of the low power modes. The next time you turn on your computer (and password, if needed), the screen will look the same as it did before you turned it off.

To wake up the computer, press the power button on the case. Because you don't have to wait for Windows to start up, your computer wakes up in a matter of seconds and is ready to go right away.

Note A: When the computer is in sleep mode, it uses a small amount of power to store your work in memory. If you have a laptop, don't worry - the battery won't run out. After the computer has been in sleep mode for several hours, or when the battery is low, your work is saved to the hard drive and the computer turns off completely and consumes no power.

When to turn off your computer

Although putting the computer to sleep is the fastest way to turn it off and the best way to get back to work quickly, in the following cases you still need to shut down computer.

  • When you add or upgrade computer hardware, such as installing memory, a disk drive, a sound card, or a video adapter. Turn off the computer and unplug it from the power source before installing hardware.
  • When connecting a printer, monitor, external drive, or other non-USB or IEEE 1394 port to the computer. Turn off the computer before connecting the device.

Note: You do not need to turn off the computer to connect equipment with a USB cable. Most new devices use this cable.

For laptop users - close the lid

If you have a laptop, there is an even easier way. turn off the computer - close the lid. By the way, you can configure the actions that the computer will perform when the lid is closed - it will fall asleep, turn off, or go into another power saving state.

You can also turn off the laptop by pressing the power button on the case.

Such a timer can be set using standard tools in Windows 7, 8.1 and Windows 10, and, in my opinion, this option is suitable for most users. However, if you wish, you can use special programs to turn off the computer, some free options of which I will also demonstrate. There is also a video below on how to set the Windows shutdown timer. Additional Information: .

There are a lot of various free programs for Windows that implement the functions of a computer shutdown timer. Many of these programs do not have an official website. And even where it is, antiviruses issue warnings for some timer programs. I have tried to list only tested and harmless programs (and give the appropriate explanations for each), but I recommend that you also check downloaded programs on VirusTotal.com.

Wise Auto Shutdown Timer

After one of the updates to the current review, the comments drew my attention to the free computer shutdown timer Wise Auto Shutdown. I looked and I must agree that the program is really good, while in Russian and at the time of verification it is completely clean from suggestions for installing any additional software.

Turning on the timer in the program is simple:


In my opinion, a very convenient and simple version of the shutdown timer, one of the main advantages of which is the absence of anything malicious in the opinion of VirusTotal (which is rare for such programs) and a developer with a generally normal reputation.

You can download the Wise Auto Shutdown program for free from the official website http://www.wisecleaner.com/wise-auto-shutdown.html

Airytec Switch Off

The program - the timer for automatically shutting down the Airytec Switch Off computer, I, perhaps, will take the first place: this is the only one of the listed timer programs for which the working official site is clearly known, and VirusTotal and SmartScreen recognize the site and the program file itself as clean. Plus, this Windows shutdown timer is in Russian and is available for download as a portable application, that is, it definitely won’t install anything extra on your computer.

After launch, Switch Off adds its icon to the Windows notification area (while text program notifications are supported for Windows 10 and 8).

With a simple click on this icon, you can set up the "Task", i.e. set a timer, with the following options to automatically turn off the computer:

  • Countdown to shutdown, shutdown "once" at a certain time, when the user is idle.
  • In addition to shutdown, you can set other actions - reboot, logout, disconnect all network connections.
  • You can add a warning about the imminent shutdown of the computer (to be able to save data or cancel the task).

By right-clicking the program icon, you can manually launch any of the actions or go to its settings (Options or Properties). This may come in handy if the Switch Off interface was in English the first time you started it.

Additionally, the program supports remote shutdown of the computer, but I did not check this function (installation is required, and I used the portable version of Switch Off).

You can download the Switch Off timer in Russian for free from the official page http://www.airytec.com/ru/switch-off/ (at the time of this writing, everything is clean there, but just in case, still check the program before installation).

sleep timer

The program with the uncomplicated name "Shutdown Timer" has a concise design, the settings for automatic launch along with Windows (as well as the activation of the timer at startup), of course, in Russian and, in general, are not bad. Among the shortcomings - in the sources I found, the program tries to install during installation install additional software (which you can refuse) and uses forced closing of all programs (which he honestly warns about) - this means that if you are working on something at the time of shutdown, you will not have time to save it. The official website of the program was also found, but it and the downloaded timer file are mercilessly blocked by Windows SmartScreen filters and Windows Defender. At the same time, if you check the program in VirusTotal - everything is clean. So at your own risk. You can download the Shutdown Timer program from the official page http://maxlim.org/files_s109.html

power off

The PowerOff program is a kind of "combine" that has the functions of not only a timer. I do not know if you will use its other features, but turning off the computer works fine. The program does not require installation, but is an archive with the program's executable file.

After starting, in the main window in the "Standard timer" section, you can set the shutdown time:

  • Triggered at the specified time on the system clock
  • Countdown
  • Shutdown after a period of system inactivity

In addition to shutting down, you can set another action, such as launching a program, entering sleep mode, or locking the computer.

And everything would be fine in this program, but when you close it, it does not notify you in any way that you should not close it, and the timer stops working (that is, it needs to be minimized). Update: I was informed here that there is no problem - it is enough to check the box Minimize the program to the system ponel when closing in the program settings. The official site of the program could not be found, only on sites - collections of various software. Apparently, a clean copy is here www.softportal.com/get-1036-poweroff.html(but check anyway).

Auto power off

The Auto PowerOFF timer program from Alexey Erofeev is also a great option for turning off a laptop or Windows computer. I could not find the official website of the program, however, on all popular torrent trackers there is an author's distribution of this program, and the downloaded file is clean when checked (but still be careful).

After starting the program, all you need to do is set the timer by time and date (you can also make the shutdown weekly) or after some time interval, set a system action (to turn off the computer, this is “Shutdown”) and click the “ Start".

SM Timer

SM Timer is another simple free program with which you can turn off your computer (or log out) either at a specified time or after a certain period of time.

The program even has an official website http://ru.smartturnoff.com/download.html, however, still be careful when downloading on it: some of the download options seem to be equipped with Adware (download the SM Timer installer, not Smart TurnOff). The program website is blocked by Dr. Web, judging by the information of other antiviruses - everything is clean.

Additional Information

In my opinion, using the free programs described in the previous section is not very useful: if you just need to turn off the computer at a certain time, the shutdown command in Windows is fine, and if you want to limit the time someone can use the computer, these programs are not the best solution. (because they stop working after simply closing them) and more serious products should be used.

And the last thing: many programs that involve a long period of operations (converters, archivers, and others) have the ability to configure automatic shutdown of the computer after the procedure is completed. So, if the shutdown timer interests you in this context, take a look at the program settings: perhaps there is what you need.

operating system developer Windows scheduling is available. As such, there is no shutdown button with 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 developer of the operating system. Tested on Windows XP, Windows 7, Windows 8.1

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

Scheduled shutdown or restart of the computer
(at a given time) by standard (built-in) Windows tools

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

Since time immemorial, all operating systems of the MS Windows family have been supplied with 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 by the method of keyboard entry of a set of 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 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 the key combination Win+R, enter cmd.exe, press OK
  • "Start Menu > Run", type cmd.exe, press 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. enable and disable the countdown to
    shutdown or restart your computer
    (i.e. indicate how long to take action)
  2. assign and cancel exact FOR
    shutdown or restart your computer
    (i.e. indicate exactly when to perform the action)

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

Options and syntax for the shutdown command
(to refer to the shutdown.exe file)

File shutdown.exe responsible for shutting down the operating system Windows, reloading it, etc. To get a list of file launch options 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 issue a complete list of command parameters shutdown:

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

  1. shutdown /s /f /t 2000 is tantamount to shutdown -s -f -t 2000
  2. at 23:15 shutdown /r /f is tantamount to 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 the arrangement of spaces (space). Because, in the understanding of the operating system, slash is equal to a hyphen with a space , then without a space - may not work.

For example, in the screenshot above, I took turns entering the commands " shutdown-?" And " shutdown-?", and " shutdown/?" And " shutdown /?". The answer of the system is obvious.

Simplified entry of the shutdown command
(Run window)

To enable or disable the countdown timer - open the "Run" window ( Win+R OK.

The time until the computer shuts down (reboots) must be entered in seconds.

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

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

10 minutes before the task is completed, the system starts to remind you of the imminent end of the countdown. 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 you of the imminent end of the countdown

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

Setting the exact time of the current date from allows you to set the exact time of the current date for shutting down or restarting the computer. Such a task will be executed only ONE time, after which the task assignment procedure will need to be repeated. If you need the computer to systematically turn 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 turn off or restart the computer - open the "Run" window ( Win+R), enter the desired command and click OK.

The time to turn off (restart) the computer must be entered in the specified format.
Values ​​of time, naturally - at everyone the.

Unlike installation, the correct command entry when scheduling a shutdown or restart of the computer is not confirmed by the corresponding pop-up windows in the tray

From the command line it is convenient to create DISPOSABLE task to shut down or restart the computer. If you want to systematically turn off the computer on a schedule (for example, at a specified time, at the end of the working day), then you need to set the shutdown time after or after

Shutting down and restarting the computer
using an executable (batch) file

Executive (batch) files with the extension .bat() make it much easier to work with the command line. Once you have created such a bat-file with the text of the desired command, you can execute it by simply clicking on the batch file, without tediously calling the command line window and entering the command text into it.

Let's recall 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
    (restart computer today at 23:15)
  5. shutdown /a or shutdown -a
    (cancel the command to shutdown/restart the computer)

To create an executive (batch) batch file - open a notepad, copy (write) the desired command line into it and save the file with the .bat extension. For example, let's create two files - the Shutdown.bat file and the Cancel.bat file. In the first file, write the line " shutdown /s /f /t 2000" (without quotes), in the second - the string " 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 33min = 2000 seconds. Thus, we will get two files, clicking on which will have the same effect as in the case of a call with entering the desired command into it.

Everything is very simple, and - it's much more convenient than the command line. In addition, this method gives room for a flight of fancy and creative thought. For example, you can set the timeout to 28800 seconds. (28800 sec = 8 hours = the length of the 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 up, it will receive a command to turn itself off after 8 hours = 28800 seconds. The same effect will give the executive.bat file in autoload, 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 a timeout of 180 seconds in the bat-file, in the startup folder, then the computer will turn off 3 minutes after it starts.

Shutting down and restarting the computer
at a given time through the task scheduler

Task Scheduler is a special feature Windows. Task Scheduler allows you to create and execute various scheduled tasks. In our case, this is to systematically turn off or restart the computer at a specified time. Unlike and , the task scheduler allows you to more flexibly set the exact time and frequency of turning off 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 name of the task and its description will then be displayed in the middle column of the scheduler after the task has been 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 the task and the time of its execution. By default, the current date and time values ​​are highlighted. You can leave the date unchanged (start today), but you need to set your own time. This will be the required time to turn off the computer. I set 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) against the words "Run the program". "Further"...

In the next window that opens, in the line "program or script" 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"...

We press the "Finish" button. Task on daily computer shutdown at 17:00- created and launched. You can check the job or delete the job as follows. We launch the scheduler, click on the “Task Scheduler Library” and in the middle column we find the desired task (by name). Right-click on it and select the one you want from the drop-down menu.

To test, I clicked on Run. The computer reacted instantly. It works, cheers!

Turning off the computer
Shutting down the computer from the command line

Turning off the computer on a timer is quite a 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 the computer by timer in Windows 7, 8, 10 and XP. To solve this problem, we will use the command line, task scheduler and third-party programs.

Turn off the computer on a timer using the command line

The easiest and fastest way to turn off the computer on a timer is to use the "shutdown" command, which works equally well in Windows 7 and other versions of Windows. This command can be run from the command line or using the Run menu.

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

  • /s - Turn off the computer;
  • / h - Switch to hibernation mode;
  • /f - Forced termination of all open programs without warning the user;
  • /t - Set the timer in seconds.

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

  • Shutdown /s /t 60

After executing such a command through the command line or the Run menu, the computer will turn off after 60 seconds.

If you want to restart the computer on a timer, then you need to use the /r option instead of the /s option. The same goes for hibernation mode. We use /h instead of /s and the computer will go into hibernation mode instead of turning it on. You can also add the /f option. In this case, the 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 once. If you need to turn off the computer on a timer daily, then you need to use the Task Scheduler or third-party programs.

Use the scheduler to turn off the computer on a timer

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

After starting the Task Scheduler, click on the "Create a simple task" button. This button is located on the right side of the window.

Next, we are prompted to indicate when we want to perform this task. You can select "Once" if you want to turn off the computer by timer only once. If you need to turn off the computer on a timer daily or in another mode, then you can choose another option that suits you better.

The next step is to specify the triggers for this task.

After that, we need to enter the shutdown command as well as the startup 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 by timer has been created. You can view it in the Job Library.

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

You can run, end, disable, delete, or open job properties.

Programs to turn off the computer on a timer

If the described methods of turning off the computer by timer do not suit you or seem too complicated, then you can turn off the computer using third-party programs. We'll look at a few of these programs below.

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

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

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