How to schedule a shutdown using the command prompt in Windows

25, Jul 2016 | Windows | 0 comments

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.


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

We need your support.

We hope you enjoyed this article and that it was helpful and you got benefit out of it.

If you did, please consider supporting our channel by Subscribing to our YouTube channel, and liking and sharing our content.

You can also make a donation via Paypal or become a Patreon if you wish to do so.

You can also follow us on Facebook or Twitter.


<a href="" target="_self">Addicted2Tech</a>


We love technology and enjoy sharing helpful FREE content for others to enjoy. We believe in community. If you like what we do please support us by sharing and liking our tutorials & Subscribing to our YouTube channel. You can also follow us on social media.

Support Our Work!

Donate Via Patreon

Raspberry Pi 4 Model B 8GB

Last update on 2024-05-24 / Affiliate links / Images from Amazon Product Advertising API

CanaKit Raspberry Pi 4 Extreme Kit – 128GB Edition (4GB RAM)

Last update on 2024-05-24 / Affiliate links / Images from Amazon Product Advertising API

We Are An Affiliate!

Just so you know, we may collect a share of sales or other compensation from the links on this page. As an Amazon Associate, I earn from qualifying purchases.

The affiliate link recommendations come at no extra cost to you.

We hope you love the products we recommend!

Thank you if you use our links; we really appreciate it!

Related Posts

How To Install Putty On Windows 10

How To Install Putty On Windows 10

Today we are going to be showing you how to install PuTTY on Windows 10 so you can use it to SSH into Linux Systems. Since April 2018 OpenSSH has been integrated into the Windows 10 operating system. However, We would still recommend using PuTTY which you can download...

read more