How To Automatically Shut Down Your Windows 7 Computer

by Bill on July 18, 2009

Well, 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:

{ 38 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.

13 NEPAL BLOG January 6, 2010 at 11:07 am

Good I am Try this very soon
Thanks

14 David Scott January 7, 2010 at 12:32 am

Wow, that’s a lot of information. I didn’t know there was a built in tool in Windows to automatically shut my computer down. Thanks.

15 beautyrest black January 19, 2010 at 4:08 pm

Interesting stuff. I always wondered how people scheduled their computers to shutdown. Is there a way to automatically turn on computers? Now that seems kind of tough.

16 cy January 20, 2010 at 11:42 pm

thank you for this.
since overclocking i have been unable to use the soft off options due to bsod or blank on resume(one common drawback of overclocking).

modified your plan to trigger after being idle for 30 minutes rather then on set schedule though.

17 Shawn Smith February 2, 2010 at 6:51 am

Good piece of information. I have installed Windows 7 in my laptop and enjoying its services. I would like to know more about it only if you wish to share it.

18 nils February 12, 2010 at 10:18 pm

It’s a good thing that your technique is still useful for the final version. Thanks for the tips.

19 wais March 1, 2010 at 2:23 am

hey thanks for sharing, now I can listen to my music on the computer on my way to lala land.

20 Robert March 3, 2010 at 11:49 pm

I just got my windows 7 in my computer, and I gotta admit, the features are so great and awesome. Thank you for the tutorial, but I was wondering, can you tell me how to save up powers in windows 7?

21 Steve March 22, 2010 at 4:20 pm

I usually throw my slipper into the power switch of my computer. I prefer this way.)))))

22 Bill March 22, 2010 at 9:18 pm

@Steve: That’s works too. :)

23 Packing Machine April 27, 2010 at 2:55 am

Thank you! It is useful for me.

24 Jeff May 25, 2010 at 9:54 pm

Thanks this works nice.

Is there a command to start up the computer at a certain time?

25 kizkalesi June 8, 2010 at 1:51 pm

Nice tutorial. I would like to know about any software for automattic turn on and doing some task.

26 Female June 10, 2010 at 5:10 pm

This is good tutorial however i prefer XP far better than Windows 7
Female recently posted..Unraveling the Lost Mysteries: What’s Left to Uncover?My ComLuv Profile

27 Jennifer June 15, 2010 at 5:22 pm

Nice technique. I needed it badly. I wanted to schedule my pc shut down at night while putting huge files and movies on downloading. Thanks alot..Keep up the good work!!

28 Mark @ Bridal Shower Registry July 3, 2010 at 4:41 am

This is great. I had no idea you could do this. I often leave my computer on at night if I’m downloading files. This will be handy.

29 Chris July 5, 2010 at 10:46 pm

Nice tip. I didn’t know this was built-in to Windows 7. Thanks a bunch.
Chris recently posted..Shed PlansMy ComLuv Profile

30 Bill July 6, 2010 at 3:35 pm

This is awesome and works in a lot of versions of Windows…just a little different. Looks like you’ve covered the main version Windows here on your blog – Windows XP, Vista and Windows 7. Thanks.
Bill recently posted..Welcome to Technology CollegesorgMy ComLuv Profile

31 Steve July 9, 2010 at 7:53 am

I can’t remember where or exactly what the tools are called but there is a “Fast Shutdown” and “Fast Reboot” that are free out there somewhere and they work great when it’s time to shutdown or reboot while you’re sitting at your PC. Pretty cool. I’ll have to look for the link.
Steve recently posted..Welcome to The Art of Approaching WomenMy ComLuv Profile

32 Dr. Ben July 13, 2010 at 11:51 am

I had no clue this option existed. What a great idea and helpful tool. Thanks

33 Jaydee July 16, 2010 at 8:16 am

this is funny! only now I get informed of this facility “shutdown.exe” hehehe!

thanks for sharing it. Adding it in scheduled tasks will also shut it down automatically… i guess.
Jaydee recently posted..How to speed up a slow or sluggish computerMy ComLuv Profile

34 Joris333 July 16, 2010 at 11:55 pm

Great pot man. thanx!

Greetz Joris
Joris333 recently posted..Startpagina PC Garant Computerhulp en reparatieMy ComLuv Profile

35 Phil July 21, 2010 at 9:48 pm

This works great and I didn’t even know Windows had this built in. Thanks.
Phil recently posted..How To Get A DateMy ComLuv Profile

36 AbrukyFrancis August 11, 2010 at 10:58 am

Please Review This software, how do you think of it;

Windows 7 Shutdown Timer

37 alexwfix August 18, 2010 at 8:54 am

I didn’t use the window 7 yet, i am happy with window XP. But i have bookmarked this informative article for my future, because I am planning to install the window 7.

38 polo_1_2_3_4 August 29, 2010 at 8:49 pm

Perfect, tanks

work…

Leave a Comment

CommentLuv Enabled

{ 12 trackbacks }

Previous post:

Next post: