Turn off windows 7 after a certain time. Turning off the computer by time

When working with a computer, you may always need to turn it off after a certain period of time. This problem can be solved in two ways - create a task for the operating system or use one of the many programs that have the corresponding functionality. Because The last method is simpler, so let's start with it.

Programs to turn off your computer

Let's look at working with several popular applications created specifically for managing computer power. All of them are free and translated into Russian.

Wise Auto Shutdown

The app is completely free and can be downloaded from the developer's website at wisecleaner.com. The program is extremely easy to use:

  • Launch the application.
  • In the left part of the window, select the desired task (for example, "Shutdown").
  • Next, all that remains is to configure the command execution parameters in the “Time” section.
  • The program can turn off the computer at exactly the specified time or after a certain time; other settings are also available.
  • Select the job options you want, then click Run.
  • The program will be minimized to the tray (the area near the clock).
  • Do not exit the application, otherwise the command will not be executed.

This program is even simpler than the previous one. To configure a task to turn off the computer, follow the instructions:

  • Select the required task from the top drop-down menu.
  • In the next menu, select the condition for triggering the task.
  • Enter the time in the appropriate field, then click on the button with the green "Play" button. A countdown to the execution of the specified command will be displayed at the top of the window.

Download managers

The need to automatically turn off the computer most often arises when downloading large amounts of data. For example, you are downloading a game or movie, which requires about 10 hours of continuous PC operation. It is unwise to set the time to turn off the computer using a timer, because... The download speed may decrease, which will increase the overall duration. It is for such cases that downloading programs (download managers, torrent/hub/FTP clients, etc.) provide a special function that allows you to turn off the computer when the download is actually completed.

For example, in a popular torrent client this is done as follows:

  • Select the "Settings" section in the main menu.
  • In the drop-down menu, hover over the "Shut down Windows" item.
  • Select the desired task, for example, “Shut down when downloads complete.”

Some download managers (for example, Download Master) have broader functionality for creating conditions for shutting down the computer, including the ability to shut down the PC using an independent timer or at a specified time.

Turning off your computer using Windows

In all versions of Windows operating systems, there are at least two ways to turn off the computer after a certain time:

  1. Running the shutdown command from the Windows command line (console).
  2. Creating a task through the "Task Scheduler" system utility.

Let's consider both methods.

Command line

Launching the computer shutdown function using the command line is the easiest. All you need to do:

  • Press "Win + R" on your keyboard, enter the command "cmd" (without quotes) into the window that opens, then click "OK". The Windows console will launch.
  • To shut down the computer, use the system utility "shutdown.exe". It can be launched in such a way that the PC ends its work after a certain time. To do this, you need to enter the following command in the console:

  • The "-s" parameter gives the program a command to turn off the computer, and the "-t" parameter is the shutdown time in seconds (in this case, 7200 seconds, i.e. 2 hours).
  • Copy the command to the console, setting the required amount of time by replacing "7200" with your own value.
  • You can close the console.
  • 5 minutes, and then one minute before shutdown, the following message will appear on the computer screen:

The task to turn off the computer can be canceled. To do this, simply open the command line again, then run the command “shutdown /a”. The procedure for turning off the PC can be interrupted at any time.

  • If the need to shut down the computer occurs frequently, running the "shutdown" command can be made more convenient and simpler:
  • Create a shortcut on your desktop or other location.
  • The shortcut settings window will open.
  • In the "Specify object location" field, enter the following:

  • Instead of 7200, enter your value.
  • Click "Next", then specify a name for the shortcut (for example, "Shutdown PC") and click "Done".
  • Now, to start the computer shutdown timer, you just need to double-click on the shortcut on the desktop.

If you need to change the PC shutdown time, right-click on the created shortcut, then select “Properties”.

In a similar way, you can create a shortcut to cancel turning off the computer. To do this, in the "Specify the location of the object" field when creating a shortcut, enter:

Task Scheduler

The "Task Scheduler" system utility allows you to automate the execution of a large number of tasks by the operating system according to a given schedule, including shutting down the computer:

  • To launch the "Task Scheduler" press "Win + R", then run the command "taskschd.msc".
  • On the left side of the window, find and go to the "Task Scheduler Library" section.
  • A list of active or completed Windows tasks will be displayed in the center of the window. Our task is to create a new task to turn off the computer.
  • Select the “Action” section in the main program menu, then click “Create a simple task”:

  • In the new window, enter a name for the task, for example, “Shutting down the PC,” then click “Next.”

  • In the "Trigger" section, select exactly when to perform the task (for example, "One time"), and click "Next" again.
  • In the next section you need to set the task execution time, click "Next".
  • Select the action "Run a program", then - "Next".
  • In the "Program or script" field, enter the command "shutdown" without quotes, and in the "Add arguments" field, enter "-s".

  • Click "Next" and in the next section click "Finish".
  • The computer will turn off at the specified time.

In fact, using the “Task Scheduler”, the “shutdown.exe” utility was configured to automatically launch, as is the case with the command line. Only here the utility works immediately, without keeping track of the time until the computer turns off.

There are situations when we need to leave our computer turned on for a long time. This may be due to the PC operating at night, when large files are downloaded, or when there is a long installation of operating system updates - the fact is that it becomes necessary to automatically turn off the computer without direct user intervention. In this material, I will tell you how to turn off your computer after a certain time, and also introduce the reader to tools that can help us with the planned shutdown of our PC using a timer.

Turn off the computer automatically at a specified time

How to turn off your computer after a certain time using Windows tools

If you need to turn off your computer using a timer, the simplest and most convenient solution is to use the tools built into the Windows OS. The special shutdown command, as well as the task scheduler built into the system, will serve as such tools.

How to use the Shutdown command

To use this command, press the Win+R key combination, and in the line that appears, enter (instructions for opening the command line in and ):

shutdown -s -t 3600 /f

  • s – shutdown;
  • t – indicates the time in seconds after which our PC will be turned off. That is, 3600 is 60 minutes (1 hour). Instead of this number, you can enter your own, after first calculating how long the time you need will take in seconds;
  • f - from English. "forced" - forcibly. Tells the system to forcefully shut down all active applications, meaning no program can prevent your PC from shutting down.

After you click on “Ok”, you will receive a system notification that your computer will shut down after a specified time. If you suddenly change your mind, then press Win+R again and in the line that appears, type:

shutdown -a

and this function will be deactivated.

How to use the task scheduler

Using this scheduler, you no longer need to think about how to turn off the computer after a certain time, the program will do everything for you thanks to the schedule you created. Please note that this feature exists in Windows operating systems starting from version 7.

So do this:

  • Click on the "Start" button;
  • Enter taskschd.msc in the search bar and click OK. The task scheduler window will open in front of you;
  • Click on "Action" in the top left;
  • Select the “Create Basic Task” option;
  • In the window that appears, enter the appropriate name, for example, “Automatic shutdown of Windows” and click on “Next” at the bottom;
  • Next, you will need to select the shutdown frequency. If you want to do this every day, for example, at 3 am, then select “Daily”, otherwise select another option and click on “Next”;
  • In the next window, determine the shutdown time and click on “Next”;
  • In the “Action” option, select “Run the program” and click “Next” again.
  • In the line under the inscription “Program and script” we write:

C:\Windows\System32\shutdown.exe

In the argument field we type:

How to use a bat file to shut down your PC automatically at a given time

An effective answer to the question of how to turn off a PC after a certain time is to use a bat file. When you click on such a file, your computer will shut down after the required time.

Open notepad and enter:

@echo off

if %time%==01:00:00.00 goto:b

goto:a

shutdown.exe /s /f /t 60 /c “Good night, your computer is shutting down”

  • Save this file called shutdown.bat (make sure it is shutdown.bat and not shutdown.bat.txt) on your desktop.
  • If necessary, activate it by clicking on it.
  • You'll see a blank Command Prompt screen, then simply minimize it and continue with your business.
  • At the right time (in this text it is one in the morning) you will see a message about turning off the computer and your PC will turn off.
  • You can change the shutdown time by specifying other numbers instead of “01:00:00.00”.

We turn off the computer at a time determined by us using programs

In the question of how to turn off the system after 10 minutes or after an hour, third-party software applications that need to be installed on your computer can also help. These are products such as PC Auto Shutdown, Wise Auto Shutdown Software and a number of others.

PC Auto Shutdown - shutdown the PC using a timer

This PC Auto Shutdown application for Windows OS will allow you to shut down your computer after the desired time. To use its functionality, do the following:


Wise Auto Shutdown - turn off the computer at a specified time

Another application with functionality that will help you answer the question “how to turn off your computer after a while.” Wise Auto Shutdown allows you to set up a schedule to shut down, restart, log out of your account, and sleep your PC for the desired time and date, and you can also set up regular execution of these actions. The system will notify you of the planned shutdown 5 minutes before action.

In the working window, select the task and its frequency (daily - daily, from now - starting from this moment, on idle - when the system is not involved) or one-time activation exactly at a certain time (specified time).

Other applications for deactivating your computer at a specific time

In solving the problem of turning off the computer after the right time, in addition to the above applications, others can help. I would note such products as Aquarius Soft, Winmend Auto Shut Down, Fastimizer, Free Auto Shutdown, PCmate Free Auto Shutdown, Timed Shutdown and a number of others. They all have similar functionality, allowing you to set the time and frequency of shutting down your PC.

Conclusion

In the task of how to turn off the computer after a certain time, the user can be helped by both standard Windows OS tools and a variety of software products that need to be downloaded and installed on your PC. In most cases, the Windows toolkit is quite sufficient, which allows you to easily and quickly turn off the computer at the time the user needs.

I will give a few examples; they will be relevant for all versions of Windows.

I don’t know about you, but I like to fall asleep with the TV on, music on the player and “Preparing to set up Windows, do not turn off the computer.” I was joking with the last one :)

Automatic computer shutdown- a function that will always come in handy sooner or later, and you need to know about it. Fortunately, this can be done very quickly, without resorting to installing additional software. Well, first things first...

Automatic computer shutdown

Consider the following options:

  • using the command line
  • using the task scheduler
  • shortcut
  • creating a *.bat file
  • by installing a special program

Command line

Using the +R hotkey, in the Run window, enter the following Windows command shutdown -s -f -t 320.

Where 320 (5 minutes 20 seconds) is the time in seconds before shutdown.

All. All that remains is to click the “Ok” button. A small reminder will appear when completed.

To cancel, use the shutdown -a command. If you entered everything correctly, a corresponding notification will appear in the tray.

Task Scheduler

Open the “Start” menu, at the bottom, in the search bar, just enter the first three letters “pla” so that the scheduler is displayed at the top, which you actually need to click on with the left mouse button.

In the window that opens, create a simple task.

Enter any name, for example “ Shutdown Windows 10«.

The “Description” section can be left blank.

We note when the procedure needs to be performed. In our case, - Once.

Set the date and time.


Check "Run program".

We enter the shutdown command we are already familiar with in the “Program or script” field, and in the “Add arguments” field the value s -f.

Finally, click “Done”.

We have created the task, now it will be completed automatically at the specified time.

To change or disable, enter the scheduler library, find the created task and right-click to make changes or delete.

Using a shortcut

Using the right mouse button on the desktop, create a shortcut. In the “Object Location” enter the following - C:\Windows\System32\shutdown.exe -s -t 320.

Jan 28

How to configure automatic shutdown of the computer on Windows 7?!

Hello, friends! After reading this article to the end, you will learn how to configure automatic computer shutdown, after a specified time. I think something has happened to everyone when they needed to leave their workplace, but some task was being performed on the computer. In this case, the computer had to be turned off after it was completed. It’s good if the program itself allows you to turn off the computer. Well, what if, for example, you are downloading a file, and you know how long it will take for the download to complete, but you urgently need to go somewhere? What can be done in this case? The answer is simple, you need to use the shutdown utility.

Setting up automatic computer shutdown

1) First, let's run it in command line mode to see all the functions of this utility. I will show using Windows 7 as an example, but don’t be alarmed, in XP the process is almost the same. Go to the menu "Start" --> "All programs" 2) Next, select "Standard" --> "Command Line" 3) The command line appears in front of us. Enter the command shutdown/? and press Enter. 4) Now we see all the parameters of this utility. But we don’t need all of them, but only 3, I highlighted them in the screenshot:
  • /s – shutdown the computer;
  • /t – time after which the work will be completed, in seconds ;
  • /a – cancels system shutdown.
5) Therefore, in order for the computer to automatically shut down after an hour, you need to enter the command shutdown -s -t 3600.

If you want to cancel this process for some reason, then enter the command shutdown -a

Conclusion

Well, that’s basically all I wanted to tell you in this article. Now you know how to configure automatic shutdown of your computer running Windows 7. As you can see, this is not so difficult. In order not to forget the necessary commands, I advise you to add this page to your browser bookmarks (asterisk in url input line) Sincerely, Alexander Sidorenko!

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 additional program functions that allow you to configure the computer to turn off after a successful operation. 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 a program to automatically shut down the computer, 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 the 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 the next step, we will need to select a computer shutdown program. Click “Browse” and select Shutdown.exe, located at: local drive 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 you need to turn on the computer at a given time (set up the alarm clock function for the 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 the additional shutdown menu and select “Sleep” or “Hibernation”. Within 30 seconds, the computer will go into sleep mode and turn on at the time you set. My example 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 of charge and has quite a wide range of functionality in terms of managing the computer's power supply; 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 window of the program, which, as you can see, contains various tabs for managing the computer’s power.

By default, the first tab “Timers” opens, which contains: information, additional features, processor 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 a program to open a text file at a specified point in time.

In the next tab “Program Settings”, in order to ensure automatic launch of 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!