How to use the Shutdown command to schedule shutdown and restart the computer
Surely one of us has at times forgotten to turn off the computer due to busy work or unexpected sleep. It's not a good thing because your computer needs to rest, after all, not to mention that your computer is invaded by others without you knowing it. To solve this, they will use the timer method to turn off the computer, here some of you will think to schedule a computer shutdown, you need to install additional software. But no, we only need to use a brief command line to perform timer shutdown or restart the computer without installing any other software. Let's follow the following tutorial of TipsMake.com offline.
With the timer by the following command you can perform on: Windows XP, Windows Vista, Windows 7, 8, 8.1 and Windows 10.
The steps are as follows:
First, press Windows + R to open the Run dialog box. After the Run dialog box appears, enter the following command:
shutdown -s -t 3600
Inside:
- shutdown : Turn off the computer
- s : shorthand for shutdown
- t : stands for time
- 3600 : The shutdown timer time is in seconds (3600 seconds = 1 hour).
Depending on how much time you want to schedule, convert hours or minutes to seconds to enter the command. For example, some common time frames have been changed to seconds:
- 5 minutes : shutdown -s -t 300
- 10 minutes : shutdown -s -t 600
- 15 minutes : shutdown -s -t 900
- 30 minutes : shutdown -s -t 1800
- 1 hour : shutdown -s -t 3600
- 2 hours : shutdown -s -t 7200
- 3 hours : shutdown -s -t 10800
- 4 hours : shutdown -s -t 14400
- 5 hours : shutdown -s -t 18000
- 12 hours : shutdown -s -t 43200
- 24 hours : shutdown -s -t 86400
After entering the command, click OK and a message will appear, as shown below is the message on windows 10:
In addition to the shutdown timer function, you can also schedule the Restart of the computer by using the following command:
shutdown -r -t 3600
In case you want to cancel the shutdown timer, enter the command:
shutdown -a
When the message Logoff is canceled as shown below, the timer has been successfully canceled.
Above Thuthuatphanmem.vn has instructed you to schedule a shutdown by a simple command in windows. Hope the article will be helpful to you. Good luck!
You should read it
- All Frequency Restart, Shutdown, Remote Off ... with Command Prompt
- Shutdown command - Schedule the shutdown of Windows 10 with the Shutdown command
- Shutdown timer, Restart, Log off for the computer
- Shutdown timer on Windows 10 is very simple with the command Shutdown -s -t
- How to turn off the computer automatically
- Software timer shutdown
- How to Shut Down or Restart Another Computer Using CMD
- 6 quick ways to schedule Windows 10 computer shutdown
- How to use Classic Shutdown Timer to turn off the computer automatically
- Tips to schedule shutdown computer without using software
- How to schedule automatic shutdown on macOS
- Instructions to turn off and restart the remote computer on Windows
Maybe you are interested
How to add Shutdown desktop shortcut in Windows 11
How to turn off the LED lights of the computer mouse and keyboard when Shutdown
The simplest way to schedule a Windows 10 computer shutdown in 2024
The computer does not display the Shutdown button, fixing the error is not difficult
Annoyed because your laptop lost the Windows 10+11 Shutdown button? Refer to how to fix it
How to Force Shutdown a Mac Computer