January 6

Timed Shutdowns Using The Command Prompt

At one point or another you will run into a scenario when you have to leave, but your computer is in the middle of a task. It always happens at the worst times, and sometimes that task cannot be interrupted. Luckily there are some solutions.

The command prompt is an excellent tool for getting the most out of your computer because you can access tools you didn’t know you had. This includes a timed shutdown function. Once you have the command prompt open this is what you need to know:

The first thing you need to enter is “shutdown”, then “-s”. This is to tell the the computer to log of and power down. The next part is “-t”, or the time you are setting. The time has to be entered in seconds. For example, 5 minutes would be 300 seconds. To have a timed shutdown of 10 minutes the command would look like this: “shutdown -s -t 600”

If you want to cancel the shutdown, simply type “shutdown -a”

For a bit of extra fun you can add a comment using the “-c” command. To do this you just have to add “-c” into the command with the comment you want to say in parenthesis after it. For example: “shutdown -s -c “get back to work” -t 600″ will have the computer shutdown in 10 minutes and display that message.

It’s really that simple. Timed shutdowns can be very useful in the right situation, but are admittedly very niche. There are other ways to manage your computer from afar, but this is a quick solution that requires no extra programs. Other programs can be used to manage your computer from somewhere else, but those are a blog for another time.

Remember to leave a like if you enjoyed this post and leave a comment below. Subscribe for more content like this and remember to share this post with people who might enjoy it.


Copyright © 2019. All rights reserved.

Posted January 6, 2020 by ryhbc in category Software

Leave a Comment

Your email address will not be published. Required fields are marked *

*