How to Create a Shutdown Timer on Your Windows Desktop

Dave LeClair 12-07-2016

Have you ever left your computer on because you had something going in the background? For some of us, this a daily occurrence (heck, a lot of people never turn their computer off How Much Energy Does Your PC Use? (And 8 Ways to Cut It Down) Wondering if computers use a lot of power? It's time to learn how much electricity your computer is using and how to reduce it. Read More ), but if you prefer to keep your computer off when you’re not using it, you’re going to love this tip!


We’re going to show you how to create a shortcut on your desktop How to Create Desktop Shortcuts From Anywhere in Windows New to Windows? Desktop shortcuts can help you save a lot of time -- here's how to create them for any file. Read More that will allow you set a shutdown timer in just a few clicks. Here’s what you need to know.

Right-click on your desktop, select New, followed by Shortcut. The window that opens will ask you for the location of the shortcut. In that box, enter the following:

shutdown.exe -s -t XXXX

In the above shortcut, replace the XXXX with the number of seconds you want the shutdown to be delayed. So if you want to two minutes, replace the XXXX with 120. Once the time ticks down, your computer will shut down. (Note, if you don’t need a shortcut, you can enter the following in the command prompt: shutdown -s -t XXXX).


To cancel, create a shortcut for (or enter into the command prompt How to Change the Command Prompt Colors in Windows The Command Prompt in Windows is black by default, but it doesn't have to be! Read More ) the following using the same method above:


shutdown.exe -a (shutdown-a in the command prompt)

Any other cool Windows desktop shortcuts you’d like to share with us? Let us know!

Image Credit: poo via ShutterStock

Affiliate Disclosure: By buying the products we recommend, you help keep the site alive. Read more.

Whatsapp Pinterest

Leave a Reply

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

  1. Anonymous
    July 13, 2016 at 4:37 am

    If don't familiar with command line, you could use other tools as Wise Auto Shutdown, MPowerSaver ...