How To Shut Down your Computer after a set period of time.

If you often forget to turn off your PC, this tip will let you shut it down after a set period of time. To do so-

Click on the start button, type cmd.exe then press Enter. In the Command Prompt window that appears, type shutdown –s -t 300. The ‘300’ indicates 300 seconds, so your computer will shut down in five minutes.

set shutdown period

You can adjust the shutdown time; for example, for the seven-hour timer, you’d need to change it to ‘25200’. Press Enter to start the countdown.

Windows will show a warning when you’re a few minutes from being signed out.
If you need more time, return to Command Prompt window and type shutdown-a to abort the process.

If you find yourself using this process a lot, it is best to create a desktop shortcut for it. To do so-

Right-click an empty part of your desktop, select New, then Shortcut. In the ‘Type the location of the item:’ section, type “C:\windows\System32\cmd.exe” /k shutdown –s –t 25200. Note- 25200 will set a seven-hour timer.

Click Next, give your shortcut a name, then Finish.

You might also want to create a desktop shortcut to abort the shutdown. Repeat the process above, but instead using the command “C:\Windows\System32\cmd.exe” /k shutdown –a.

Post a Comment

Previous Post Next Post