How does Win7 set the shutdown time? System timing /countdown shutdown method detailed

  
                

Sometimes I use a computer to listen to the song and fall asleep without knowing it. I wake up and find that the computer is still running, and the song is still being released. If it is in the middle of the night, it may be knocked by the neighbor. Although some software can achieve the function of automatic shutdown, but this is not what we need, we want to use the command to make a plan, let the computer automatically shut down when the time is up, read the following to understand the way Win7 system set the shutdown time.


steps:

1, set up automatic shutdown, in fact, it can be done only from the system comes with features, the shutdown command is entered in the Run box. Open the Start menu and click Run. If it is not running, just press the keyboard shortcut to open, win+r can be opened.

2, for example, we want the computer off after three hours, then open the Start menu, open the Run box, in the Run box enter:
shutdown -s -t 10800

Then you can be sure. The 10800 here is the number of seconds in three hours, because the system memory shutdown time is calculated in seconds.

3, then click OK, there will be a short black command box, and then disappear, then displays a message that the shutdown message, how many minutes will shut down in the tray at the desktop. Then the prompt box will disappear.

4, if you regret it halfway, or coming off of the time, but you still have important work is not done, then open the run again, enter in operation:
shutdown -a

such a command, then click OK.

5, at this time or there will be a black command box, and then displays a message in the tray at that scheduled task was canceled. This shows that it will not automatically shut down again at that time. If you still have a prompt when you turn off the power, that is, shut down after a few tens of seconds, you need to enter the cancellation again, because canceling once may not work, I don't know if this is a bug or something.

6, if you want to turn off the computer at a particular time, you can also open the Run box, for example, I want to turn off the computer two o'clock XXVI, then enter the Run box: < Br> at 14:26 shutdown -s

Such a command, click OK, there will also be a prompt. How many times to display after shutdown, the method of cancellation is the same as above.

END

Note:

have said above, when the input shutdown -a command to cancel a planned shutdown, it may not work, because in the near When shutting down, the system will still pop up a shutdown prompt. If you don't want to shut down, you should quickly open the run and enter this command again, in order to completely cancel the shutdown plan, otherwise it may still shut down.

I need to know the shutdown plan I have set, so that I don't have to finish the important work when I shut down, or there is very important information that I have not had time to save, so I won't be able to pay for it.

Afterword:

The above is about Win7 system to set the shutdown time method, if you do not like to use the shutdown -s -t 1800 countdown shutdown command, you can use at 14:26 shutdown -s, timed shutdown command.

Copyright © Windows knowledge All Rights Reserved