Program to turn off the computer with a microphone. How to turn off the computer after a certain time. Shutdown Utility

Some users need to configure the computer to turn off according to time or even on scheduled days at certain hours. The reasons can be different, and the most banal one is that you are already watching some movie at night and you don’t want the computer to work until the morning if you suddenly fall asleep :) The same function is used by some on TVs and all for the same reason.

And the most interesting thing is that such a function in a computer is far from being on the surface. It seems that a computer is such an omnipotent device, but such a banal function is somewhere tucked away that a beginner will not find it!

So, from this article you will learn how, using a simple command in the Windows console, you can configure the computer to turn off after a certain number of seconds, and also how to set the computer to turn off at a certain time on certain days!

Beginners should not be afraid of the words "Console", "Command Line" and the like, since we are not talking about programming and other complex tasks! I'll show you an example and you'll understand...

So, now we will consider 2 ways to turn off the computer in time:

    Simple shutdown of the computer after a specified number of seconds;

    Turn off the computer on the specified day and time.

How to set a timer to turn off the computer?

To accomplish this task, we only need the Windows command line.

On any operating system find command line can be quickly through the search. For example, in Windows XP, Windows Vista or Windows 7, open the Start menu and type "cmd" in the search box at the bottom. The Command Prompt application appears in the list.

If you have Windows 8, then also open "Start", then click on the search icon on the right:

In the field that appears, type "cmd", and the Command Prompt program will immediately appear in the search results:

And finally, if you have the latest development from Microsoft - Windows 10, then the default search icon will be located right next to the Start button. Click on it, enter "cmd" and you will see the "Command Prompt" application:

To complete our task, administrator rights may be required, and therefore, in order not to look for the reason why the timer shutdown may not work, we will run the command line as an administrator. To do this, right-click on the program icon and select "Run as administrator":

You should have a black command prompt window that looks like this:

Please note that if you have in this window instead of the path " C:\Windows\system32' specifies the path to the user's folder (for example, ' C:\Users\John”), then you did not run the command line as an administrator, but as a regular user! In this case, it is better to close it and open it again as an administrator.

After the command line has been launched, it remains to correctly register one command and you're done!

To shutdown and restart the computer in the command Windows line the "shutdown" command is used.

We type the following on the command line:

Where 3600 is the number of seconds after which your computer will shut down. If you now press the "Enter" button on your keyboard, your computer will be turned off after 1 hour, because one hour is exactly 3600 seconds. It's very easy to calculate :) We know that there are 60 seconds in one minute, and since these minutes are also 60 in an hour, we multiply 60 by 60 and get 3600. For example, 1 hour 20 minutes is 4800 seconds.

Now with regard to these characters "/s" and "/t".

These are the 2 options I specified for the shutdown command. The "/s" parameter means that the computer should just shut down, and not restart or simply log out. For example, to reboot, you need to specify “/ r” instead of “/ s”. Parameter "/t" - allows you to set the time before the command is triggered. For example, if we specified a command without "/t", i.e. like this "shutdown / s", then the computer would turn off instantly.

Now, I think you understand everything. Just specify your time before turning off the computer and press the "Enter" key!

The command line window will close and the countdown will start immediately. This will give you a warning message, for example:

A warning of this format is issued when only a few minutes are left before the computer is turned off.

But if you set a long timer, for example, for an hour or more, then when you start it, you will simply receive a notification in the system area:

If you suddenly decide to cancel the action of the timer, then you need to enter the command line again and execute the following command there and press "Enter":

At the same time, you will receive a notification in the system area that the scheduled shutdown has been canceled:

This is how a simple scheme for turning off a computer on a timer looks like.

And now let's consider a more interesting option - how to postpone turning off the computer for a certain day and a specified time.

How to set the computer to turn off at the right day and time?

To realize this possibility, we need system utility Task Scheduler and Notepad.

Through the scheduler Windows tasks you can schedule the execution of any program on a specific day and time, and even set a recurring task for different periods, for example, daily, weekly.

There is only one catch: through the scheduler, it will not be possible to open the command line, as it was done, and write a shutdown command there. This is because we need some kind of file to run, which can be specified in the scheduler and which will contain the command to turn off the computer.

This issue is very easy to solve! You need to open a notepad, write “shutdown / s / t 000” there, re-save the text document to a file with the “.bat” extension (for example, “Shutdown.bat”), and then point to given file in the task scheduler.

Now let's take a closer look, point by point:

    Open Windows notepad. It is available by default in any Windows system and can be found in the Start menu, in the Accessories category, or by Windows search and typing "Notepad".

    In notepad write: shutdown /s /t 000.

    Here, using the “shutdown” command, we indicated the action to shutdown / restart the computer or log off the system.

    With the “/s” parameter, we specify the action - to perform exactly shutting down the PC!

    With the “/t” parameter, we specify a timer before shutdown - 0 seconds, which means that the computer will turn off instantly without delay.

    Here's how it should turn out:

    Resave the notepad file to a file with the “.bat” extension. To do this, in Notepad, click File > Save As.

    In the save window, specify the location where the file with the command to turn off the computer will be stored, after which we specify any file name, but so that it must be “.bat” at the end, and not “.txt”:

    For example, like mine - "Shutdown.bat". The name before ".bat" can be anything!

    If you saved the file correctly, it will look like this in the system:

    If it looks like a regular text document, then most likely you forgot to specify the ".bat" extension when saving, and therefore do this step again.

    What is this BAT file such? A file with the extension ".bat" allows you to execute one by one windows commands one after another, as well as various scripts. In our case, only one command is registered - turn off the computer immediately.

    Open the task scheduler and set up the launch of the created Bat-file.

    The task scheduler is also built into everything by default. Windows systems and you can find it by searching, or through the control panel: "Control Panel"\u003e "System and Security"\u003e "Administrative Tools".

    This is what the task scheduler looks like:

    In it on the right, in the "Actions" window, open the item "Create a simple task":

    The scheduled task setup wizard will open, where you need to go through several steps. In the first window that appears, enter the name of the task, for example, "Turn off the computer" and click "Next":

    In the next step, you need to mark when the scheduled task will be performed? It depends on when you want to turn off your computer. For example, you can set the task to run daily, and then you will need to specify the execution time. You can set up a weekly shutdown and then you can select specific days and times to complete the task.

    And if you just want to set up a one-time shutdown of the computer on a specific day and time, then select the “Once” item.

    Now, depending on which shutdown period you set in the previous step, you will need to specify the month/days/time to turn off. If you specified a one-time execution of the task ("Once"), then you need to select only the day and time to turn off.

    You can specify the date manually with numbers or select using the calendar.

    After setting the date and time of shutdown, click on the "Next" button:

    In the next step, select an action for the task. We mark "Run the program" and click "Next":

    In the next window, select our created file with the “.bat” extension, where the shutdown command is laid. Click on the "Browse" button and select this file on your hard drive, then click "Next":

    In the last window, mark the item marked in the image below and click "Finish":

    This option means that after clicking "Finish", an additional window of properties for the created task will open. We need this to enable the execution of the program with administrator rights.

    A window will open in which on the first tab "General" we mark the item "Run with highest rights" below and click "OK":

Everything! The scheduled task has been created. Now, as soon as the date and time you specified arrive, the computer will immediately turn off.

If you suddenly want to change any parameters of the scheduled task, then open the task scheduler again, select "Task Scheduler Library" in the left part of the window, right-click on the task you created in the list in the center, and select "Properties" from the menu that opens :

A window will open where on several tabs you can change all the settings that you configured!

In this way, you can set the computer to turn off by time (timer), as well as schedule a shutdown for any day and time, and even set up a regular task execution. I'm sure this feature will be useful to someone.

See you in the next posts :)

Turning the computer on and off by timer is a useful function. Thanks to them, you can use your PC as an alarm clock or make it turn on automatically shortly before you arrive home. In the evenings, you can not wait until the download is over big file. The computer will turn itself off. Convenient, right?

You can set the timer to turn on and off your PC using Windows 7 in 5 minutes. Now we will deal with it, and also consider several third party programs intended for this.

Creating a timer through Task Scheduler

Setting up a power plan

Before you can create a timer, you must allow the system to wake up on a schedule. The feature is enabled in the power plan settings. It is disabled by default.

  • Launch Control Panel and click on Power Options.

  • Select your plan and click the "Set up power plan" button.

  • Then click "Change advanced power settings".

  • Select "Sleep" - "Allow wake timers" from the list of options and set them to "Enable". If you're creating a timer on a laptop, be aware that it can turn on when it's in a case and suffer from overheating.

Create a computer shutdown timer

  • Launch the Task Scheduler through the menu "Start" - All Programs - "Accessories" and "System Tools". Or just type the word "scheduler" into the search bar in "Start".

  • In the "Actions" column of the Scheduler, click "Create a simple task".

  • First, the task must be given a name. Let's call it "Turn off the computer." In the Description field, you can write a few words about the new task, but you can leave it empty. After that click "Next".

  • Next, we create a task trigger - the frequency of repetition. Let's choose "Daily".

  • Set a date and time for the start of the task.

  • In the "Action" section, select "Run a program".

  • In the next window, select what we will run: we write in the line “Program and script”: C:Windowssystem32shutdown.exe, and in the field “Add arguments” enter the key -s. Click "Next" and "Finish". The task has been created, it remains to check how the computer turns off.

Create a timer to turn on the computer

  • We start the Task Scheduler again, but now select the “Create task” item in the “Actions” list.
  • On the “General” tab, give the task a name - let it be “Turning on the computer” and write a description (optional). Select Windows 7 from the "Configure for" drop-down list.

  • On the next tab - "Triggers", click the "Create" button. Set up the task execution schedule, mark “Enabled” and click OK.

  • Let's move on to Actions. Here you need to select a program, script or other action to be performed. If you are creating a timer as an alarm, select a music file. In our example, we will create a message that will be displayed on the screen when the computer is turned on.

  • On the "Conditions" tab, check "Wake the computer to complete the task". Here, it is also advisable to leave the active items “Start on mains power”, as well as “Stop when switching to battery power” - this will protect the laptop from accidental overheating.

  • On the “Parameters” tab, you can set additional conditions for the task execution. That's all. Now it is desirable to check how the created task functions: send the computer to sleep or hibernation and wait until it turns on by the timer.

Programs to turn on and off a computer under Windows 7

For those who are lazy and do not want to bother with the Scheduler, there are many programs with similar functions - turn on and off the PC on a schedule. Here is some of them:

  • sleep timer(OffTimer) - simple free app that needs to be installed. To set the schedule in a single small window, you need to set right time and press the arrow button. The option to turn on the PC is not here.

  • TimePC- a program with the function of turning the PC on and off, has a built-in scheduler, not like the Scheduler Windows tasks 7. Using TimePC is very easy - just create the desired schedule and select a program or action that will be performed when the computer is turned on.

  • power off- powerful multi-tasking tool that works without installation. According to the schedule, which can be configured in this program, the computer turns on and off.

All these applications are free, compatible with Windows 7 and in Russian.

What to do if the PC does not turn on or turn off by timer

  • Make sure you don't forget to turn on wake-up permission in your power plan settings.
  • Check if the “Task Scheduler” service is running on the PC - press the “Windows” + “R” keys, type the command in the “Open” field Services.msc. Confirm your entry with OK. In the list of services window that opens, find the one you need and, by right-clicking on the properties, make sure that it works. If it's stopped, turn it on.

  • Make sure your account has sufficient permissions to create scheduled tasks. Create a schedule under an administrator account.
  • See if the created task is still in place and if the conditions for its execution have changed. Launch Task Scheduler, open Scheduler Libraries, find the task and view the data.

  • If the PC still won't turn on or off, the Scheduler log may help you determine the cause.

If it is not disabled, all information about the execution of tasks and their errors is recorded there.

Surely you have come across a situation where you need to move away, and there is no way to turn off the computer due to running certain tasks. In such a case, you can schedule an automatic shutdown of the computer according to a schedule. Windows 10 has built-in shutdown scheduling mechanisms, although not every user will find them. Here we have collected all the ways by which you can set a computer shutdown timer.

How to set the Windows 10 sleep timer through the Run command

Click Win+R and enter the command shutdown -s -t 60. The number is responsible for the number of seconds after which the computer will automatically turn off.

In this case, the shutdown will occur after 1 minute. You can set any time you prefer. Just remember that it is in seconds.

How to schedule automatic shutdown of the computer through the Command line


How to Automatically Shut Down a Computer Using PowerShell


Other Commands for Computer Shutdown Timer

You definitely noticed that after the main command shutdown there is an additional argument that tells the system the nature of the action to be performed. Using these arguments, you can assign additional commands and not only turn off the computer on a timer, but also restart or put it to sleep.

It looks like this: shutdown -s -t 60. Instead of a letter - s you need to substitute one of the following:

  • r- reboot. The command will look like shutdown-r-t 60 . Stands for Reboot in 60 Seconds.
  • h- hibernation. shutdown-h-t 60 . If you enter this command, the computer will hibernate after 60 seconds. You can set any time, as in the previous command. In both cases -t is responsible for the time in seconds, followed by any amount of time you specify.

How to set an automatic shutdown timer through the Task Scheduler

  1. Open built-in operating system Task Manager. To do this, click Win+R and enter the command Taskschd.msc. Alternatively, you can click the menu Start and enter into search Task Manager. There are also other launch options, but these two are the fastest.

  2. On the right side of the window, click Create a simple task.

  3. A window for creating a simple task will open. On the tab Create a simple task provide a name and description if you need the latter. Click Further.

  4. On the tab triggers set value once.

  5. Click Further and in the next step, set the time when the computer will be automatically turned off.

  6. Next, you need to tell the system what action to perform. Select on the next window Run the program and press Further.

  7. near point Program or script click Review.

  8. An Explorer window will open in the system folder system32. Find the file in it shutdown.exe. It is he who initiates the process of shutting down the computer.

  9. Click OK.
  10. In field Add Arguments enter -s. Click OK.

  11. Click Further, review the options you specified, and click Ready.

For a single shutdown, this method may be too complicated. But unlike a scheduled shutdown using the command line, the Task Scheduler allows you to make this procedure regular. For example, turn off the computer every day at 22:00. The trigger time options will help you deal with this issue and set a schedule that works for you.

Setting the Windows 10 sleep timer from a shortcut

If you need to use sleep timers frequently, you can create shortcuts on your desktop or anywhere else operating system. Opening this shortcut will take over the task of activating the shutdown, reboot, or timed hibernation command.

  1. Right click anywhere and select Create - Shortcut.
  2. In the first step, enter the command shutdown-X-tY. Instead of X enter a letter s to disable, r to reboot or h for hibernation. Instead of Y- the time you want in seconds.
  3. Next, name your shortcut and save it.

You can also create a shortcut to cancel shutdown / reboot or hibernation. Everything is done in the same way, only the command is indicated shutdown-a. Once the shortcuts are created, you can move them, rename them, or change the icons as you see fit.

How to cancel automatic computer shutdown in Windows 10

If you set a scheduled PC shutdown through the command Run, command line or PowerShell, then you can disable everything with a very simple action.

Click Win+R and type shutdown -a. The system will then notify you that automatic logout has been cancelled. The same command can be run from Command Prompt or PowerShell.

If the scheduled shutdown is set in the Task Scheduler, then the cancellation process will be slightly different.


There is also a large number of third-party programs that help schedule a shutdown, restart or hibernation in Windows 10. Often, the need for such solutions is no longer necessary due to the fact that the necessary mechanisms are already built into the system that can regulate the automatic shutdown of the computer. They work quite simply and efficiently, which is not always the case with third-party programs.

Please also note that the scheduled shutdown method is not suitable if you want to use it as a means of parental controls. To do this, Windows 10 has separate mechanisms that work differently, much more efficiently and reliably.

Also, pay attention to the settings of an application that occupies your computer for a long time. Often in programs with a long period of task execution, there is an option automatic shutdown after finishing. In this case, system methods, not to mention third-party ones, will not be needed at all.

Automatic shutdown of the computer is an extremely useful option that will help you out more than once. Useful in cases where a PC or laptop is busy with a long process, and you have to leave. In this case, you can configure the computer to turn off - when the desired operation is completed, it will turn off on its own. And you can safely go to sleep, go to work or do other things.

Most often, tuning is required if you:

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

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

The first is using the built-in Windows tools. The second is using additional software. Read about the last method here:. And this article describes all possible ways set the computer to turn off at a specified time using the built-in Windows tools.

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

The first method on how you can turn on the automatic shutdown of a computer or laptop is to use the "Run" section. For this:

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

The number 3600 is the number of seconds. It can be anything. Specifically, this command will activate the automatic shutdown of the PC after 1 hour. The procedure is one time. If you need to switch off again, you must perform it again.

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

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

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

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

Shutdown computer via command line

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


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

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

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

Now, when you need to set the computer to turn off, just click on this shortcut. And this option is immediately activated (you will see a confirmation message).

For convenience, you can create another shortcut to remove the shutdown of the computer (suddenly needed). But here it is already necessary to write the following: C:\Windows\System32\shutdown.exe -a(no dot at the end).

Scheduled computer shutdown

And the last method is to turn off the computer by time through the "Scheduler". Suitable in cases where you need to perform this procedure regularly: daily, weekly, etc. In order not to constantly run the command line, it is enough to set the time to turn off the computer or laptop once and that's it.

To do this:

  1. Go to Start - Control Panel - Administrative Tools.
  2. Select Task Scheduler.
  3. In the right column, click on "Create a simple task".
  4. Enter a name that you understand - for example, "Automatic shutdown of the PC."
  5. Specify how often you need to perform this procedure (if once, then it is better to choose one of the methods for automatically shutting down the computer described above).
  6. Set up the shutdown of the computer or laptop (specify the start time and date).
  7. Select the first item - "Run the program".
  8. In the "Program" field, write shutdown , and in the "Arguments" field - -s -f (the -f switch forces programs to close in case they suddenly freeze).
  9. Click the Done button.

This is how you can set the computer shutdown time. In approximately the same way, daily or monthly adjustment is carried out. Some fields will be different, but there is nothing complicated there - you will figure it out.

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

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

If you no longer need to turn off the PC on a schedule, then go to the "Library", select your task, right-click, and then - "Delete".

A few words in conclusion

In many modern programs there is a checkbox "Turn off the PC after the end of the procedure." Most often, it is available in those utilities that do their job for a long time - for example, disk defragmentation, checking a laptop or computer for viruses, etc.

Be sure to check the presence of this checkbox in each program. If it is, then you will not need to configure the PC shutdown by time. So much easier and more convenient. If not, then you will have to configure manually.

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

Perhaps many of the users of stationary personal computers wondered how to organize automatic switch on and shutting down the computer at a specified time or schedule. In this article, we will consider one of the more accessible methods.

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

We define a schedule that consists of necessary conditions, i.e. we need the personal computer to turn on every weekday at 07:00 am and turn off at 17:00 pm. Regarding weekends, due to a limitation 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. no one is at work.

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

Esc F1 F2 F3 F10 F11 F12

After pressing the "DEL" key, the BIOS system menu will be displayed and will look something like the one shown in the figure below:

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

In this way, automatic switch on personal computer organized according to the schedule: daily inclusion at 07:00 in the morning, both on weekdays and weekends.

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. Task Scheduler can be launched using the "Search programs and files" line and "Explorer" Windows.

Method 1 - "Find programs and files"

2 way - "Explorer"

After the above commands, the "Task Scheduler" will open, in which you need to go to the "Task Scheduler Library" item and take the action to create a task - "Create a task" or "Create a simple task", as you like. Detailed description We will not describe how to create a task, everything is available and written in Russian.

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

The detailed description of creating a task is missing, but you need to know the following, which for automatic computer shutdown you need to enable the launch of the program shutdown.exe -s in every task.

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

The created tasks will not function if you do not create an automatic user authorization in the system, i.e. when the computer starts up and boots up, the login will fail because a login password must be entered, and this is stipulated in our created tasks.

Therefore, in order to enter Accounts users" and set a password to automatically log in without a visible password prompt, you must open the explorer and specify "control userpasswords2" or netplwiz, for an amateur.

Here we are done with the setup. automatic start and blackouts personal computer, while using the built-in functions of the BIOS and Windows 7. Try it YOURSELF!

Share with friends or save for yourself:

Loading...