It's no secret that nowadays a computer makes life a lot easier. It's easy to use and really helps save a lot of time searching for information. It is also often used for entertainment. Many people watch TV series, movies or play games. It often happens like this: you watch a movie on your computer, and after the final credits roll, you don’t want to get up and turn it off. Knowing special teams, you can avoid these operations. The computer can be set to auto-shutdown. through command line will make watching movies more comfortable. This will explain the procedure, as well as a shortcut that acts as a shutdown button.

Shutting down the computer via the command line

Absolutely any user can do this. The shutdown computer command will help you with this. First, you need to enter the control line itself. To do this, click "Start", hover over "All Programs" and try to find "Accessories" there. When you click on it, the Windows menu will open in front of you, which can make your work easier. One of these programs - Open it, a black window will appear in front of you. This is what we are looking for. You can use it to control your computer. You can also turn off your PC or set it on a timer. In order to put it on certain time, just enter the command “Turn off the computer” through the command line. You need to write the text shutdown in English letters. In English this translates as “close”. However, entering just this command is not enough. You need to additionally put "-" and the English letter "s". The entire code looks like this: "shutdown-s". Once you press Enter, the computer's shutdown button will work.

How to set your computer to auto shutdown via the command line?

Now we will talk about how to make your PC more convenient. It would be nice to do it yourself after some period of time. This can also be done via the command line. You need to enter it through “Start” / “All Programs” / “Accessories” / “Command Prompt”. Next, in the open black window, you enter the same command as for shutdown - “shutdown-s”. But you need to add an entry to it that the computer should be turned off not now, but after some time, that is, add “-t” separated by a space. This will let the computer know that it should turn off after a certain time. Next, you should specify the time in seconds after which your computer should shut down. Let's say that by writing "shutdown -s -t 10", wait for it to shut down in ten seconds. If you write shutdown -s -t 6000, the computer will be turned off after 100 minutes. We would like to remind you that 10 minutes before the end of work, a window with the remaining time will appear on the screen. If you wish to cancel the shutdown, you can do so. You can see how to carry out this action below in the article.

How to cancel turning off your computer?

If you needed to put your PC on a timer, but then you changed your mind and do not need this action, you need to enter the code “shutdown -a” at the command line. After this, the previous operation will be canceled and you can continue working.

Computer shutdown shortcut

Agree, it is convenient if you can turn off the computer from the icon on the desktop. You don't need to go into "start-up-shutdown" every time. Simply clicking on the icon will trigger shutdown. You can do this yourself and it won't take much of your time.

How to create a shutdown shortcut?

If you decide to create a shortcut to turn off your computer, there are a few steps you need to follow. You will succeed if you follow the instructions. To do this, click on an empty space on the desktop right click mouse to call it, select “Create”. Next, click on “shortcut”. A simple icon will be created on your desktop. After its formation, a window will pop up with the question “For which element do you need to create a shortcut?” It will have an input line called “specify the location of the object.” In it you need to write text similar to the control words for turning off the computer via the command line. But it will be a little different. The command will look like this: Shutdown.exe -s -t 00. After entering the command, press Enter. Next you have to name the folder. You can call it “turning off the computer” or something else - whatever is convenient or whatever you like. Click the "Finish" button and the folder is created. You can also change the icon for this shortcut. Right-click on it, then select "Properties". Go to the "Shortcut" section and at the bottom you will see "Change Icon". Click, select the one you like, click “Save” and “Done”. Place this symbol separately from the others so that you don’t accidentally turn off your PC later. We hope this article helped you understand what the shutdown command is and how to create a shortcut for it.

Greetings, blog readers! In this lesson, we will look at the situation of using a computer as an alarm clock, or more precisely, turning on or.

I think every novice user has faced the question of how to turn off the computer on a schedule? After all, there are situations when a computer performs a certain task, for example, downloading information that is important for us from the Internet, or it can be recording data, or some other significant tasks that must be brought to their logical conclusion from the moment they are placed in the execution queue .In this case, the completion of the task can be expected at a fairly late hour, for example, only by 5 o’clock in the morning. Of course, in this case you can take advantage of the additional functions of the program, which include setting the computer to turn off after successful implementation operations. But what if some programs do not have such functions to turn off the computer after completing a task?

In this case, it is advisable to use the program automatic shutdown computer, which is called “Task Scheduler”.

In the Windows 7 operating system, the task scheduler is present from the moment the system itself is installed. Using the task scheduler, you can manage the power of your computer by specifying a specific command. In order to open the task scheduler, you need to click on the “Start” button and type “Scheduler” in the search bar. To enlarge the pictures, click on the pictures.

After that, left-click on it and as a result the main window of the task scheduler will open. Then we will need to open the “Create a simple task” section.

In the new window that opens, we will need to set necessary settings. First, specify a name, for example, “Turn off the computer.”

In the next item “Description” you can specify the task being performed by the computer, for example, “Switching off the computer at 05-00”.

After that, click “Next” and in the next window indicate the startup type. Here you can pin the task you are creating so that, for example, it is executed daily. I select the startup type “One-time” and in the next paragraph I indicate the time to turn off the computer, namely at 05-00.

After you have set the time to turn off the computer, you will need to click “Next”. IN next step we will need to select a computer shutdown program. Click “Browse” and select Shutdown.exe, located at: local disk C - Windows - System32 - Shutdown.exe.

In the “Argument” line we will need to enter the “-s” command, which is responsible for turning off the computer. At the final stage, click “Next” and then “Finish” and minimize the task scheduler window.

When the time comes when the computer needs to shut down, a notification will appear indicating that the computer will shut down in one minute.

Thus, using the task scheduler, it will be possible to turn off the computer at a time we have previously set.

Let's consider another example when the computer needs to be turned on specified time(set up the alarm function for your computer). To do this, we use the same task scheduler. Open the main scheduler window and click “Create task”.

In the new window that opens, on the “General” tab, enter the name of the alarm clock, for example, turning on the computer or. In the “Description” item you can write the computer to turn on, for example at 07-00. In the “Configure for” drop-down tab, I recommend selecting Windows 7 (if you have Windows 7 installed).

Then go to the next tab - this is “Triggers”, and click “Create”. As a result, the “Create a trigger” window will open, in which you will need to set the time for the alarm to turn on; in addition, in the “Options” item you can set the frequency of the alarm clock: daily, weekly, monthly. After you have set all the necessary settings, click “OK”.

Thus, the scheduled task of turning on the computer will appear in the field in the “Triggers” tab. Next, you will need to go to the “Actions” tab and click on the “Create” button. In the window that opens, click on the “Browse” button and select for yourself, for example, your favorite music file that will be played when the alarm clock turns on. Once you have selected the music file, click OK.

In the next tab “Conditions” you will need to check the box “Wake up the computer to complete the task” and then click “OK”.

Thus, we set up an alarm clock for the computer. Finally, you will need to put the computer into hibernation or sleep mode. To do this, click on the “Start” button and click on extra menu Shut down and select Sleep or Hibernate. Within 30 seconds, the computer will go into sleep mode and turn on at the time you set. In my example, the player was used Windows Media Player. Oh, by the way, do not forget to adjust the volume of your player, otherwise it may turn out that the computer turns on, but the volume of the player is turned off.

It should be noted that there are quite a lot of programs that include not only the functions of turning the computer on and off, but also contain various reminders, diaries, I would like to introduce you to one of these programs. The program is called . This program is distributed absolutely free and has quite wide functionality in terms of computer power management, you can download it by clicking the link below.

After you download this program, unpack the archive and run the file PowerOff63_RUS.exe, which will open the main program window, which, as you can see, contains various computer power management tabs.

By default, the first tab “Timers” opens, which contains: information, additional features, CPU load. In the additional features section of the “Schedule” tab, you can set the time to turn off the computer, select all days or a specific day and set the time accordingly.

The following tabs allow you to customize the diary to your liking, I think everything is clear here. In the “Hot Keys” tab you can assign system control to various commands. Let's say, to set some system control command, you will first need to check the box and then press and, while holding the Ctrl key, additionally click on any Latin letter.

The next tab, “Scheduler,” allows you to set a specific task and display it at a specified point in time. For example, you can tell the program to open text file at a given point in time.

In the next tab “Program Settings”, to ensure automatic start Poweroff, you need to check the boxes as shown in the figure. At the same time, at your discretion, you can edit the “Texts” that will be displayed when the computer goes into sleep mode, when you shut down, or reboot. I left the rest of the settings at default.

In general, there is nothing difficult to manage; you just need to work with this program a few times and you will already acquire the necessary skills in managing the system.
That's all for today. I hope that after reading this material, you will know how to enable and! See you in the next lesson!

If you are faced with a problem such as an involuntary computer shutdown, then you need to know the reasons for what is happening, which will tell you what to do next in order to get rid of such sudden PC shutdowns. We would like to immediately note that both a computer and a laptop can turn off on their own, and most importantly, there are not always hidden reasons behind this. serious problems with hardware, perhaps it’s just the effect of a virus. But let's talk about everything in order.

6 reasons why your computer turns off on its own


  1. Virus. One of the most common causes is a virus that causes the computer to shut down on its own without your instructions. To do this, you should scan your entire PC for viruses.

  2. Overheating of computer components. Carry this out, as a layer of dust can cause overheating, and also pay attention to the coolers, they should all spin quickly.

  3. There is a fault in the power supply. Another common cause is a breakdown of the power supply; it can burn out due to voltage surges and excessive load from components.

  4. Fault in random access memory. This type of malfunction is characterized by the fact that before turning off the computer begins to freeze and all functions slow down. To exclude RAM from the list of reasons for turning off the computer, we recommend inserting another one in its place, and also contacting specialists at a service center.

  5. Motherboard failure. Spontaneous shutdown of the PC will be caused either by a crack or chip on the motherboard, or by a burnt-out capacitor. In general, this occurs due to impacts on the system unit or its fall, or because motherboard has already “outlived its usefulness.” Of course, we cannot rule out marriage, but it is quite rare. Again, you won’t be able to independently determine whether the motherboard is to blame for this without using special equipment.

  6. Poor contact. It is quite simple to identify and correct this breakdown - check the tightness of all cords, starting with the outlet, because there may be a problem with the surge protector. All plugs must be inserted tightly, both outside system unit, and in himself.

Has it ever happened that you fell asleep listening to a movie running on your laptop, or ran away from work, forgetting to turn off your desktop? If in the case of a movie session this is only a problem of a low battery, then in the case of work it is also a question of security and compliance with the “Non-Disclosure Agreement” (remember, you signed such a piece of paper without even looking at it when moving to a new position). How can you make your computer turn off after a certain time, save yourself from pangs of conscience and sleep peacefully?

Task Scheduler

If you need to automatically shut down your computer on a schedule, but you don’t have admin access and you can’t install a third-party program, we use this method.

  1. Go to “Start” and type “Task Scheduler” in the search bar;
  2. Launch the “Task Scheduler” application, go to the “Actions” menu and select the “Create a simple task” option;
  3. A new window for creating a task has appeared in front of you. Give it a name, for example “Timer”. Click “Next”;
  4. On the “Trigger” tab we indicate the frequency of repetition of the task. For a work desktop, the “Daily” option would be optimal. Click “Next”;
  5. We indicate the date from which the task needs to be performed and the shutdown time (let's say 19:30). Opposite “repeat every” we set it to 1 day. Go to “Next”;
  6. On the “Action” tab, check the box next to “Run the program” and “Next”. In the program search window, click “browse” and enter search bar"shutdown.exe".
  7. On the “Finish” tab, check the settings. Click “Finish” - a new task has been added to the schedule.

Advantage this method– the ability to configure it, link shutdown to a specific event in the Windows log. But for “one-time” use, you can choose a simpler method.

Create TimeON.bat. A quick way before bed

Are you starting a new movie, but aren't sure you'll make it to the end credits? It is worth taking care of your computer in advance. We make preparations.

  1. Calling context menu right-click on the desktop - “Create” - “Text document”;
  2. Paste into a text document

shutdown /s /t X

Where X is the number of seconds before automatic shutdown. For an average film, 5400 (90 minutes) is enough;

  1. In the “File” menu, select the “Save As” action. In the save window, set the file type to “All files” and assign the name “TimeON.bat”. Extension.bat – required condition. A new icon has appeared on the desktop.
  2. Double-click the file and see the notification “Your session will end in 90 minutes.” Now you can safely fall asleep to an uninteresting movie.

How to cancel the shutdown timer for Windows?

  1. To cancel the shutdown timer for Windows, create another text file on the desktop and paste it into

shutdown/a

  1. We save it as “TimeOFF.bat” and for convenience we place new icon next to "TimeON.bat".

Install Switch Off

If you don't want to create batch files and are confident in your antivirus, you can install one of free programs. For example, the popular Switch Off. It takes at most 20 seconds to figure it out: after installation, the Switch Off icon will appear on the desktop. You can set the period: daily, weekly or countdown. And also select a list of actions: turn off, reboot, block, send to sleep mode.

To ensure long-term uninterrupted operation of any computer, be it a home desktop PC or laptop, it is necessary to shut it down correctly. Many novice users neglect this point, not knowing or forgetting that incorrect actions at this stage can lead to the loss of working 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.
  • The slight noise of the coolers of a working system unit, as well as the burning indicators of the system blog at night can interfere with restful sleep (if the computer is in the bedroom). Therefore, it is better not to download large files (torrents, movies) 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 RAM modules, sound cards, processor, majority hard drives etc. C detailed device system unit we understood . Therefore, if you need to install an additional module in the system unit, 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 of the correct ways to handle 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 (you can find out what an operating system is and why it is needed at all) 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.

And suddenly turning off “from the socket” is an emergency option for stopping 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 can occur if the source suddenly turns off 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. Usually, it is not intended for long-term 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, computer literacy tests often include the following 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 power cord from the outlet, pressing the button on the extension cord, or uninterruptible power supply (UPS) button without shutting down the operating system correctly will result in the loss of all unsaved data, and over time, the normal operation of the operating system will cease.

Modern OS will warn you about open 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 in the upper right corner of the window.

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

We wait for the system unit to turn off and turn off the power by unplugging it from the outlet or using the surge protector button 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 the case of open programs are similar to the steps 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 defragmenting hard drive, or processing the 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 set the shutdown automatically according to 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” Windows systems to organize daily shutdown of the computer at a certain time of day. 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 a 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 determine the required 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.

We are very sorry that you did not like the article!

Help us improve it!

Send reply

Thanks for your feedback!