Programs for turning off the computer by time. Built-in Windows timer


Perhaps many of the users of stationary personal computers were wondering how to organize automatic switching on And turning off the computer V specified time or according to schedule. In this article we will look at one of the more accessible methods.

To implement this function personal computer we will use exclusively the built-in capabilities of the BIOS and operating system input/output systems Microsoft systems Windows 7. Use software third party manufacturer is excluded by itself.

Let us define a schedule that consists of necessary conditions, i.e. we need the personal computer to turn on every weekday at 07:00 in the morning and turn off at 17:00 in the evening. Regarding weekends, due to restrictions in the BIOS input/output system, the computer will start at 07:00 in the morning and turn off after 10 minutes as unnecessary, because there is no one at the workplace.

So, let's begin. When you turn on your computer, you need to enter the BIOS input/output system. To do this, press the key "DELETE", basically this key is used in many motherboards, but there are still other options for using keys, such as:

Esc F1 F2 F3 F10 F11 F12

After pressing the DEL key, the system BIOS menu and will look something like the image below:

We set the value of the “Resume by Alarm” parameter to , activating the computer to turn on according to a schedule. In the “x Date (of Month) Alarm” parameter, you can select daily execution or specify the desired day of the month; in our case, we will use the first – Everyday. The computer turn-on time “x Time (hh:mm:ss) Alarm” is set to 07:00 am.

Thus, automatic switching on personal computer organized according to a schedule: daily activation at 07:00 am, both on weekdays and weekends.

Automatic computer shutdown settings

Now we need to create a schedule for automatic shutdown personal computer. The built-in console file will help us with this taskschd.msc, the so-called “Task Scheduler”, which will perfectly cope with the task. You can launch Task Scheduler using the “Search programs and files” line and Windows Explorer.

Method 1 - “Find programs and files”

Method 2 - “Explorer”

After the above commands, the “Task Scheduler” will open, in which you need to go to the “Task Scheduler Library” item and perform the action to create a task - “Create a task” or “Create simple task", as you like. Detailed description We will not describe the creation of the task; everything is accessible and written in Russian.

As you can see, in the figure below, two tasks have been created that produce automatic shutdown personal computer. The first task, called “OFF PC,” organizes the PC to turn off on weekdays at 17:00, and the second task, called “OFF PC Weekend,” turns off the PC on weekends 10 minutes after turning on the PC.

A detailed description of task creation is missing, but you need to know the following: automatic shutdown computer you need to enable the program launch shutdown.exe –s in every task.

And also in the “General” tab for both tasks, rules are set for completing the task only for a registered user, see below.

The created tasks will not function unless automatic user authorization is created in the system, i.e. when the computer starts and boots, login will not be performed, since you must enter a password to log in, and this is stipulated in our created tasks.

Therefore, to enter " Accounts users" and set a password for automatic login into the system without a visible password request, you must open Explorer and specify "control userpasswords2" or "netplwiz", not for everyone.

Now we have completed the setup automatic switching on And shutdowns personal computer, using the built-in BIOS functions and Windows 7 OS. Try it YOURSELF!

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 downloading any large files, or when updates take a long time to install operating system- the fact is that it becomes necessary to automatically turn off the computer without direct user participation. 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, then the simplest and most convenient solution will use the tools built into the Windows OS. Such tools will serve us special team shutdown, as well as a task scheduler built into the system.

How to use the Shutdown command

To use this command press the key combination Win+R, and in the line that appears, enter:

shutdown -s -t 3600 /f

  • s– completion of work;
  • 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. Instructs the system to force shutdown of all active applications, that is, 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:

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 your computer through certain time, the program will do everything for you thanks to the schedule you created. Please note that this opportunity exists in the Windows OS family 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 disabling Windows" and click on "Next" below;
  • 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 in right time.

Open notepad and enter:

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

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

  • Save this file called shutdown.bat (make sure it's 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

Third parties can also help with the question of how to turn off the system after 10 minutes or an hour software applications that need to be installed on your computer. These are products such as PC Auto Shutdown, Wise Auto Shutdown Software and several 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 take advantage of its functionality, do the following.

Has it ever happened that you have been assigned a long-term task to complete, but have no time to sit at the computer? It may be time to leave or go to bed, and someone needs to turn off the computer. Automatically shutting down your computer will help you.

In what cases is this necessary? Well, for example, if you:

  • enabled a full computer scan for viruses
  • started the video conversion process
  • download from the Internet large volume information
  • install a “heavy” program or game
  • copy a large amount of data, for example for backup
  • and many more options for every taste

Some programs have a checkbox, such as “Automatically shut down the computer after the process is completed” or “Auto Shutdown”, for example, in Nero after finishing recording a disc. But if the program does not provide such an option, then you will have to schedule automatic shutdown.

There's nothing complicated about it. You just need to set the time after which the computer should turn off, or turn on the timer. You need to calculate the time yourself. If the program writes the estimated execution time, then add 20-30% and get what you need. And if he doesn’t write, then estimate the time based on the speed of completing the task.

To schedule your computer to turn off on a schedule, you can use two simple methods:

  • Standard Windows XP/7/8/10 tools

Personally, I prefer to use special programs, they are simple and clear. Now we will analyze the standard method.

Automatically shutdown your computer using standard Windows tools

For this we need a standard “Task Scheduler”. So, let’s take a step-by-step look at how to configure the “Task Scheduler” to turn off the laptop after a certain time:

That's it, the task is created. To view it and change the time, you need to go to the task scheduler library and double-click on our task. Next, you need to go to the “Triggers” tab and click “Edit”. Everything is explained in detail in the figure.

IN specified time all programs will be completed and the computer will turn off. Take care in advance to save all data in open programs.

You probably already noticed that we entered the program name “shutdown” and the arguments “–s -f”. In principle, you can simply enter “shutdown –s -f” and not enter anything else in the arguments field. Then the scheduler will warn that it itself has detected the arguments and ask permission to use them.

Delayed computer shutdown via command line

You can also turn off the computer without the task scheduler through the command line in the “Run” window. And more specifically:

  • Call the “Run” window via the “Start -> Run” menu or with the hot keys “Win ​​+ R”
  • Enter “shutdown –s –f – t 1000”, where “1000” is the number of seconds after which automatic shutdown will occur
  • Press “Enter”

Those. We write it the same way, only we change “1000” to the required number of seconds (there are 3600 seconds in one hour). After the specified time has expired, there will be one more minute left, which will be indicated by a special window.

If you change your mind about turning off the computer, simply enter the command “shutdown -a” in the “Run” window.

In the video you can familiarize yourself with programs for conveniently defining schedules or events for turning off your computer/laptop:

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 enable or disable the countdown timer, 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 Windows versions and 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 the installation, correct input commands when setting the time to shut down or restart the computer are not confirmed by the corresponding pop-ups 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 turn off the computer on a schedule (for example, at a given 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 tasks Scheduled. In our case, this means systematically turning off or restarting the computer at a 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 name of the task and its description will then be displayed in middle column scheduler after creating a task. 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

Hello, friends! In this article, Program to automatically shut down your computer, let's look at several utilities that perform this function. Yesterday I had a need to turn off the computer after a certain or at a given time. Deal with third party utilities there was no time (I had no idea that there were completely simple programs), so I used the old reliable method. I launched the movie in the player and selected “Turn off after completion” in the options, setting the slider on the time scale so that approximately the required amount of time remained. The method is certainly not the simplest, but it is familiar, proven and most importantly works. In this article, we will look at special programs whose main function is to automatically turn off the computer. At the end of the article you can see an overview of several programs discussed in the article

A tiny program consisting of just one file - OFFTimer.exe. The advantage of this program, and all those discussed here, is that they do not require installation.

You can download the program below

  • OFFTimer [~300 KB]

Download the archive and unpack it. If you have any difficulties with this, please read the article - How to open a file with the *.rar extension. Run the OFFTimer.exe file. The main program window looks like this:

The program can only turn off the computer. To do this, you need to set the shutdown time and click the “Enable timer” button. Then you can Minimize the program using the button of the same name and the computer will turn off at the specified time. If you change your mind, you must click on the “Enable timer” button again. It will “spin out” and you will adjust the shutdown time. Please pay attention to the warning message and save and close all applications before leaving your computer.

10 seconds before the specified time, the program will display a warning about shutdown

You can cancel turning off the computer by pressing the corresponding button. That's all program to automatically shut down your computer. Nothing extra.

Xtime - automatic shutdown + reminder

The program is as easy to use as the one discussed earlier. You can download it below

  • xtime_1.3.0.5.zip [~110 KB]

Download and unpack the archive. Run xTime_1.3.0.5.exe. The main program window looks like this:

To automatically turn off the computer at a specified time, you need to select from the drop-down list on the left the number of minutes after which you want to turn off the computer and click on “Activate” in the center below

The maximum time for which automatic shutdown can be delayed is 360 minutes. Which corresponds to six hours. This should be enough for almost everyone. When the program is activated, the message Reset appears. Use it to cancel automatic shutdown of your computer

The xTime program can not only turn off the computer, but also provide a reminder in the form of a sound signal. You can see everything this program is capable of by opening the “Tasks” menu. For a reminder, select a sound signal and activate it. When the specified time arrives, a short melody from the movie Boomer will sound and the program will automatically close.

Unlike the previous program, xTime does not issue any warnings a few seconds before the computer turns off. You cannot cancel automatic shutdown, so you need to be careful with this program.

PowerOff - a program to automatically turn off your computer

If programs were considered before, then PowerOff - software package. You can download it from the link below

  • PowerOff64_RUS.zip [~631 KB]

Download and unpack the program. Run PowerOff64_RUS.exe. The main program window looks like this. Click on the picture to enlarge

On the Timers tab you will find the following blocks:

  • Information - where the current time, date, user and timer clock are displayed
  • Standard timer - you can set the trigger time and take into account the date. You can set a countdown, or set it to trigger when the system is inactive for a certain time
  • Action - a section where you can choose what you want to do. You can shut down the computer, restart, hibernate, lock the computer, end the current session, perform an action, shut down remotely, or send a command over the network. The picture on the left is a button, clicking on which will immediately perform the action selected in this block. Carefully
  • Additional options are specified when selecting the “Perform action” item in the Action block. It is possible to choose various actions from the dropdown list
  • Winamp dependent timer - allows you to perform the selected action after playing a certain number of tracks or after playing the last sound file
  • CPU dependent timer - allows you to assign a specific action to trigger when the processor load drops below the specified value and lasts for the time you specify
  • Internet dependent timer - allows you to watch the network load in real time and perform the required action to reduce the speed to the limit you specify and fix it for the selected time (How to check the connection speed)

To simply automatically turn off the computer, just use the Standard Timer by setting the reverse report time or setting the shutdown time. 20 seconds before triggering, a message appears for the user, where you can see what action will be performed

At the moment of operation, a window will appear in which you will be warned again that in 30 seconds the selected action will be performed

It turns out that the user is warned within 50 seconds, which is very convenient.

The program also has a built-in diary and planner, which can be customized according to your choice. The program itself can be adjusted very flexibly on the “Settings” tab. All actions that were performed are recorded in the program log, which can be viewed on the corresponding tab.

Conclusion

In this article program for automatically turning off the computer and more Three programs were reviewed that 100% cope with the task assigned to them. All utilities are convenient because they do not require installation. As a result, you won't have to clean your computer. Delete the folder with the program and that’s it.

Video “Program to turn off the computer”







2024 gtavrl.ru.