Shutdown your computer using Task Scheduler [ Windows ]

In Windows 7 , Task scheduler is pretty much advanced now. You can now add any number of triggers ( When something has to be fired ) and actions to be taken for any particular thing you would like to do .

Since most of the time I forget to shutdown my machine , task Scheduler is the most wasy way to do it. Open task scheduler which is under accessories.

  1. Start creating a new task.
  2. Select the time when you want to shutdown ( Triggers )
  3. Then under actions select the exe shutdown which is availble in system 32 folder. [ Select start a program ]. You might also think of sending yourself an email before shutting down.
  4. Add arguments to it -s-f-t 0 like the image below and you are all set.

Shutdown Windows Vista using Task Scheduler

Thats it. Now you need not to worry if your computer was shutdown at night or not. However in case you are working late dont forget to disable it or run SHUTDOWN -A to abort the shutdown.

However if you are looking for even more actions to perform like killing a program, automatically copy files, remote shutdown etc, I will suggest you to use Z-Cron, which works with Windows 7 also. Read how to use it and download from here.

Z cron task scheduler

 


About Ashish Mohta

A Professional Tech blogger, Editor and Writer who talks about solving day to day problems of people who use computer. His expertise are in Windows 7, Microsoft Office, Software, Mobile Apps and Video Posts.

4 comments

  1. This does not work on a Dell Inspiron 1525 running Vista Home Basic SP1. Tried changing a bunch of options, I dunno why, not smart enough to figure it out…I’m just sayin’.

  2. I’m not sure if it’s just on an updated version of Vista, but the next tab, conditions, let’s you choose to start the task only when idle for x minutes.

  3. What are the arguments (“-s-f-t 0”) indicates ?

    And does this helps in all versions of OS ?

  4. You can also tell Windows Vista or Windows 7 to sleep at a specified time using the Task Scheduler.

    Create a scheduled task with the command:
    rundll32.exe

    And the arguments:
    powrprof.dll,SetSuspendState 0,1,0

    If hibernate is active this will hibernate your computer, thus putting it into a “deep” sleep. Turning off hibernate will apparently put it into a “normal” sleep.

    FYI http://www.howtogeek.com/howto/windows-vista/quick-tip-create-shutdown-restart-lock-icons-in-windows-vista/
    and

    and
    http://support.microsoft.com/kb/555569

Leave a Reply