Home Tech Tips How to schedule a shutdown using the command prompt in Windows
How to schedule a shutdown using the command prompt in Windows

How to schedule a shutdown using the command prompt in Windows

0
0

We have all had that moment when we want to get away from our computer but a torrent is downloading or we are waiting on updates to complete. Or if you use your Windows machine to watch media you may want to program a shutdown. This works on all versions of Windows including Windows server environments.

Here is how you do it.

Click on start and type cmd into the search field.

Start Command Prompt

Press enter to open a command prompt Window.

From the black window type the following

shutdown -s -t 3600

Command Line Shut Down Command With Timer

The shutdown is the command and the options mean:

-s = shutdown (you can use -r to restart)

-t= Time in seconds (3600 = 60 minutes)

Press Enter and you will see the following notification pop up:

Shutdown Timer Notification

How to cancel the Scheduled Shutdown.

To cancel the shutdown schedule you can enter the following into the command prompt window.

shutdown -a

Abort Shutdown

The -a option stands for abort.

Press Enter and you should see the following notification pop up appear.

abort-shutdown-command-notification

Let us know what is your favorite scheduled cmd command is. We can feature it on our site.

Addicted2Tech We love technology and enjoy sharing helpful content for others to enjoy. we believe in community and open source. We are huge Linux advocates. We stand for privacy and security and above all else transparency and fairness. If you like what we do please follow us on social media.