A “Safer” Way To Shutdown Windows

Have you ever gone to shutdown your Windows machine (via Start > Shutdown) and once the process starts you remember there was one quick thing you needed to do? If so this is a hassle as you now have to turn the computer back on again to take care of it.

Instead of the usual procedure, instead try this batch file instead:

shutdown /s /t 60

When run, this will pop up a message box with a countdown to the system shutting down. This gives you time to make any last second adjustments, or you can cancel the shutdown process with another batch command:

shutdown /a

I keep 2 batch files on my desktop, “Shut down.bat” and “Cancel Shut down.bat” which run these commands and I don’t even bother with the standard Windows interface. Additionally, you can have the computer restart instead of shutdown by replacing “/s” with “/r” and you can adjust the countdown by changing 60 up to 600.

Free eBook!

Like what you read?

If so, please join over 28,000 people who receive our exclusive weekly newsletter and computer tips, and get FREE COPIES of 5 eBooks we created, as our gift to you for subscribing. Just enter your name and email below:

Post A Comment Using Facebook

  • Garry Stafford

    shutdown /s /t 60

    Jason
    Tried this on my Xp Pro PC and you need to tell people:
    Do not name it “shutdown.bat” when you create it because this, for some reason, just makes the file create an endless loop in a DOS window.

    Best wishes

    Garry

  • Jason Faulkner

    Garry,

    This was a typo on my part. My files are called “Shut down.bat” and “Cancel Shut down.bat” (space in the file name) for the exact reason you pointed out.
    I have updated the tip text. Thanks for pointing it out.

  • Joe Whitehead

    Or you could say “shutdown.EXE” ;)

What’s Your Preference?

Daily Alerts

Each day we send out a quick email to thousands of PCMECH readers to notify them of new posts. This email is just a short, plain email with titles and links to our latest posts. You can unsubscribe from this service at any time.

You can subscribe to it by leaving your email address in the following field and confirming your subscription when you get an email asking you to do so.

Enter your email address for
Daily Updates:

Weekly Newsletter

Running for over 6 years, the PCMECH weekly newsletter helps you keep tabs on the world of tech. Each issue includes news bits, an article, an exclusive rant as well as a download of the week. This newsletter is subscribed to by over 28,000 readers (many who also subscribe to the other option) - come join the community!

To subscribe to this weekly newsletter simply add your email address to the following field and then follow the confirmation prompts. You will be able to unsubscribe at any time.

Enter your email address for
Free Weekly Newsletter: