How To Automatically Shut Down Your Windows 7 Computer

by Bill on July 18, 2009

Automatically Shutdown Your ComputerWell, here we go again.  In addition to my How To Automatically Shut Down Your Windows XP Computer I showed how to set it up so you can use the ShutDown.exe command to schedule and automatically shut your Windows XP computer off. In my How To Automatically Shut Down Your Windows Vista Computer we stepped through the same idea.  And now, here’s Windows 7.  Guess what?  Not too different.  So let’s get going.

For this How To, I’m using Windows 7 Release Candidate (RC).  Hopefully not too many changes between now and the final version of Windiows 7  changes in regards to running a scheduled task.  Below is the first screen shot after I clicked on the Start button and Control Panel.  You’ll find the Scheduled Tasks under System and Security.

Click on System and Security and you should see the Administrative Tool selections at the bottom of the control panel window.  Click on Schedule Tasks and you’ll be presented with the screen below.

Windows 7 Task Scheduler

Click image for larger view (800px)

The Task Scheduler is pretty much the same in Windows 7 as Windows Vista.  The Task Scheduler can look intimidating but it’s not too bad. Just move forward. We are going to look at one task and not all the extra stuff in Task Scheduler.

In the Actions column on the right, click Create Basic Task…
You’ll see the following window and I’ve already filled in the Name and Description of our task.

In the Actions column on the right, click Create Basic Task…

You’ll see the following window and I’ve already filled in the Name and Description of our task.

Windows 7 Create Basic Task

Click image for larger view

After clicking Next you’ll see the Task Trigger screen. We want to shut down our Windows 7 computer in the middle of the night, every night so we’ll pick Daily.

Windows 7 Task Trigger

Click image for larger view

The next screen you’ll see is the Start Date and Time screen.

Windows 7 Daily Task

Click image for larger view

The following screen is the Action screen. Let’s Start a program.

Windows 7 Task Action

Click image for larger view

The next screen you’ll see is the Start a Program screen.

Windows 7 Start a Program

Click image for larger view

And finally the Summary screen.

Windows 7 Task Summary

Click image for larger view

Let’s take a look at our task in the Active Tasks list.

Windows7 Active Tasks List

Click image for larger view (800px)

Double-click the Task Name if you need to work with the settings.

Here’s the screen when the task fires off and starts to automatically shut down Windows 7. A window pops up telling us that Windows will shut down in less than a minute. You can click on the Close button but that will just close that window and Windows itself will continue to shut down.

Windows 7 Automatic Shutdown

Click image for larger view

There’s quite a bit of detail with the shutdown.exe command and here is the output when you run the shutdown.exe /? command at the command prompt in Windows 7. It lists the choices of how you want to run the shutdown.exe command.

Windows 7 Task Scheduler Parameters

Click image for larger view

Photo Credit: Marcin Wichary

If you liked this article, please consider subscribing to The Spinning Donut to receive free articles by email:

{ 12 comments… read them below or add one }

1 Jim Gaudet July 18, 2009 at 11:30 am

I have to say I like Windows 7 so far.

Do you really shut off your PC?

Jim Gaudets last blog post..Ani Difranco | I am Drunk, leave me alone…

2 Bill July 18, 2009 at 1:16 pm

I try to shut my main pc off once a week, all night long. Usually Saturday night or every other week. I run virus and spyware scans and clean things up – defrag, delete downloaded files I don’t think I’m going to use, etc.

I auto shut down PCs that I support for other folks in my life – my wife, my mother-in-law, etc. I run virus and spyware scans on those PCs every night they are on and then auto shut them down until those people turn them on. Which could be days.

Windows 7 is looking and acting a lot better than Vista.

3 Hotelier July 19, 2009 at 5:14 am

I would rather recommend to use switch off soft. Or something like that instead of doing all these staff with windows 7.

4 Bill July 19, 2009 at 3:24 pm

@Hotelier: There’s plenty of way to do auto shutdowns and many anti-virus programs have that option after a scan is done as well as corporate software that “pushes” out instructions to the desktops to shut down at a certain time.

Thanks for stoppin’ by.

5 browser forum August 12, 2009 at 10:43 am

Nice tutorial. Would like to try it on my own pc. Where do you get the information? Care to share some more info about windows 7?

6 EOPS September 16, 2009 at 10:46 am

Thanks for the tutorial on how to automatically shut down my Windows 7. You said you’re uusing the Release Candidate for the tutorials. But what if there would be changes when the final version comes? Would it still be useful?

7 Bill September 17, 2009 at 6:42 am

@EOPS: Yes this still works as of the RTM (Release to Manufacturing) version.

8 Chuck October 20, 2009 at 1:42 pm

Don’t you think that this is easier just to use special software like Switch Off or just built-in features of AIMP or another player?

9 Bill October 22, 2009 at 9:00 pm

@Chuck: You bet. Anything that makes it easier for someone. The article walks through how to do it with just Windows. Thanks for stoppin’ by.

10 xlol October 25, 2009 at 8:23 am

Thanks!! This is really helpful ;)

11 Jeff Shickele November 20, 2009 at 12:38 am

This is just what I was looking for, could not find it in any of the Windows 7 help files. Of course I never thought to search for something as simple as shutdown.exe.
Senior citizen and still learning.

12 Bill November 20, 2009 at 1:51 am

@Jeff Shickele: Good to hear.

Leave a Comment

Previous post: The 2009 Mother’s Day Contest

Next post: 5 Tools You Must Have to Take Care of Mom’s Computer