• Skip to main content
  • Skip to primary sidebar
  • Newsletter
  • Contact
  • About

The Spinning Donut

Helping People Use Technology

How To Automatically Shut Down Your Windows 7 Computer

July 18, 2009 By Bill 171 Comments

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

There you have it. Now you can automatically shutdown your Windows 7 computer.

Filed Under: Microsoft Windows

Reader Interactions

Comments

  1. Jim Gaudet says

    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 says

    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 says

    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 says

    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. EOPS says

    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?

  6. Bill says

    September 17, 2009 at 6:42 am

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

  7. Chuck says

    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?

  8. Bill says

    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.

  9. xlol says

    October 25, 2009 at 8:23 am

    Thanks!! This is really helpful 😉

  10. Jeff Shickele says

    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.

  11. Bill says

    November 20, 2009 at 1:51 am

    @Jeff Shickele: Good to hear.

  12. David Scott says

    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.

  13. beautyrest black says

    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.

  14. cy says

    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.

  15. Shawn Smith says

    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.

  16. nils says

    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.

  17. wais says

    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.

  18. Robert says

    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?

  19. Steve says

    March 22, 2010 at 4:20 pm

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

  20. Bill says

    March 22, 2010 at 9:18 pm

    @Steve: That’s works too. 🙂

  21. Jeff says

    May 25, 2010 at 9:54 pm

    Thanks this works nice.

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

  22. kizkalesi says

    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.

  23. Female says

    June 10, 2010 at 5:10 pm

    This is good tutorial however i prefer XP far better than Windows 7

  24. Jennifer says

    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!!

  25. Chris says

    July 5, 2010 at 10:46 pm

    Nice tip. I didn’t know this was built-in to Windows 7. Thanks a bunch.

  26. Bill says

    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.

  27. Steve says

    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.

  28. Dr. Ben says

    July 13, 2010 at 11:51 am

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

  29. Jaydee says

    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.

  30. Joris333 says

    July 16, 2010 at 11:55 pm

    Great pot man. thanx!

    Greetz Joris

  31. Phil says

    July 21, 2010 at 9:48 pm

    This works great and I didn’t even know Windows had this built in. Thanks.

  32. AbrukyFrancis says

    August 11, 2010 at 10:58 am

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

    Windows 7 Shutdown Timer

  33. alexwfix says

    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.

  34. polo_1_2_3_4 says

    August 29, 2010 at 8:49 pm

    Perfect, tanks

    work…

  35. Jaydee says

    September 10, 2010 at 10:39 am

    this will have a valuable contribution to the system I am building.
    when a certain condition is attained my system will shutdown or reboot and this process here will be used!
    thanks a lot 🙂

  36. Dave says

    September 11, 2010 at 3:49 pm

    Thanks! Worked for me…

  37. Hampus Pehrsson says

    September 11, 2010 at 4:36 pm

    Windows 7 is far better then windows Vista, that’s because Windows Vista was just a “beta” during the completion of Windows 7. Since Microsoft claimed that Windows 7’s release date was pushed forward and forward all the time they released Vista too calm the Windows users down abit, so they did not take the time too check Vista for bugs that carefully.

  38. Troels says

    September 17, 2010 at 2:07 am

    I also have Windows 7 and it works really great – a lot better than Vista.. This post was really interesting and underlines to me, that I just use a (very) small fraction of the possibilities you have with Windows 7.. Just never have the time to look into it.. 🙁

  39. Hundtillbehör Hundkoppel Hundleksaker says

    September 20, 2010 at 8:53 am

    It is great to have the possibility to shut down you computer automatically at night, while laying in bed listening to music. So thanks!

  40. icechen1 says

    September 25, 2010 at 11:43 am

    Nice! Wondering if the opposite effect is also possible. Booting up computer at a set time.

  41. Palla says

    October 9, 2010 at 5:58 pm

    I also came up with another post, similar to this kind on how-to-geek.com. this is the link. http://www.howtogeek.com/howto/30758/make-your-pc-shut-down-at-night-but-only-when-youre-not-using-it/. This takes care of idle time, which is not there in your tip.

  42. Bill says

    October 10, 2010 at 11:29 am

    @TechLikes: Very good addition, thanks for point this out.

  43. Raghu says

    October 11, 2010 at 7:46 pm

    Thanks man…..
    its really helpfull to me….

  44. Chris says

    October 13, 2010 at 3:51 pm

    I set it to only turn off once at about 5:50am but its not in the task list…

    Is it put in a temporary folder somewere? and if so, how do i find it?

    Thanks

  45. Chris says

    October 13, 2010 at 3:58 pm

    Nevermind its ok, i found it 🙂

  46. ashu7 says

    October 28, 2010 at 3:49 pm

    I have written the whole topic. and I after read the blog. i am very impressed by the blog. Your first way of doing it is really useful for people that don’t really have programming skills.norwesco water tanks

  47. Intel Core i3 says

    November 4, 2010 at 7:23 pm

    Nice! I have been looking for a way to shutdown Windows 7 automatically. This would definitely be of great help. Thanks for sharing!

Newer Comments »

Trackbacks

  1. 10 Best Ways to Use Your PC While You’re Sleeping or at Work « Host My Site Online says:
    February 12, 2010 at 9:06 pm

    […] can shut down and restart Windows automatically using Task Scheduler, enabling you to run Chkdsk on the system drive at startup. You should run Chkdsk before you run […]

  2. 10 BEST WAYS TO USE YOUR PC WHILE YOU’RE SLEEPING OR AT WORK says:
    March 8, 2010 at 3:30 am

    […] can shut down and restart Windows automatically using Task Scheduler, enabling you to run Chkdsk on the […]

  3. 10 Best Ways to Use Your PC While You’re Sleeping or At Work [Useful] | Peer Marketing Group says:
    May 30, 2010 at 4:33 pm

    […] can shut down and restart Windows automatically using Task Scheduler, enabling you to run Chkdsk on the system drive at startup. You should run Chkdsk before you run […]

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

Get Exclusive
Tech Tips

Learn tech topics
with exclusive tips and insights
that I only share with my private
newsletter subscribers.

Popular YouTube Videos

  • An Introduction to Ubuntu 8.04 (over 50,000 views)
  • Running Self-Hosted WordPress - 1 of 3
  • Running Self-Hosted WordPress - 2 of 3
  • Running Self-Hosted WordPress - 3 of 3

Subscribe to my YouTube Channel


YouTube Channel

Categories

Copyright © 2025 · Privacy Policy and Disclaimer · Hosting by HostGator