Windows 7 Forums Search
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows 7. The Windows 7 forum also covers news and updates and has an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7 - Task Scheduler : Create Shut Down PC Automatically Task



 

Task Scheduler : Create Shut Down PC Automatically Task

How to Create a Task that will Shut Down the PC Automatically
Published by Bare Foot Kid
07-04-2010
Default Task Scheduler : Create Shut Down PC Automatically Task

How to Create a Task that will Shut Down the PC Automatically

This will show a very easy way to create a task in the Task Scheduler that will shut down the PC whenever you like. This will work for Windows 7 and Windows Vista.
Let's get started!
1) In the Windows start menu search box type "Task Scheduler" (without the quotes) right click the entry and select "Run as Administrator" then enter your user credentials for the UAC prompt and click "Yes" to open the Task Scheduler.
click an image to enlarge
Task Scheduler : Create Shut Down PC Automatically Task-search.jpg
Task Scheduler : Create Shut Down PC Automatically Task-uac-task.jpg
2) In the Task Scheduler window that opens, in the "Actions" menu in the right pane click "Create Task".
Task Scheduler : Create Shut Down PC Automatically Task-create.jpg
3) In the Create Task window under the General tab, set a name and description for the task then dot "Run whether user is logged on or not" then put a check/tick at "Run with highest privileges", be sure to set the "Configure for:" for your flavor of Windows, then continue on to #4 below.
Task Scheduler : Create Shut Down PC Automatically Task-general.jpg
4) Now at the Actions tab at the lower left click "New", in the "New Action" dialog box leave "Action" set at "Start a program" at "Program/script:" type shutdown.exe then at "Add arguments" type /s /f (take note of the space between the /s and /f) then click OK.
Task Scheduler : Create Shut Down PC Automatically Task-action-new.jpg
Task Scheduler : Create Shut Down PC Automatically Task-new-action.jpg
5) Now at the Triggers tab at the lower left click "New" in the "New Trigger" dialog box set the parameters that you want for the task, as everyone's needs will be different, I just highlighted a few of the ones that need to be set to give some ideas.
Task Scheduler : Create Shut Down PC Automatically Task-triggers-new.jpg
Task Scheduler : Create Shut Down PC Automatically Task-set-trigger2.jpg
6) After you have the Triggers set click "OK", you will then be prompted to enter your user credentials one last time and then click "OK" to finish creating the task. That's it the task has been created, at "File" click "Exit" to close the Task Scheduler.
Task Scheduler : Create Shut Down PC Automatically Task-password.jpg
Task Scheduler : Create Shut Down PC Automatically Task-exit.jpg
Note   Note

Be sure to have a look at the "Conditions" tab if you need to add any parameters that must be met before the task is able to run.
Task Scheduler : Create Shut Down PC Automatically Task-condidions.jpg
Should the PC be in use at the scheduled shutdown time you will get a dialog box stating that you are about to be logged off.
Task Scheduler : Create Shut Down PC Automatically Task-warning.jpg
Enjoy!

Published by
Original Team Member

Join Date: Jun 2008
Location: The Lowcountry
Posts: 23,809
Bare Foot Kid has disabled reputation

Tutorial Tools
07-04-2010   #1
derekimo


Windows 7 Pro 64 SP1
 
 


Nice work Ted, easy to follow too!

My System SpecsSystem Spec
07-04-2010   #2
Bare Foot Kid


W 7 64-bit Ultimate
 
 


Thanks Derek!
My System SpecsSystem Spec
07-05-2010   #3
A Guy


Windows 7 Home Premium x64 SP1
 
 


Very nice Ted, you do good work. A Guy
My System SpecsSystem Spec
.


07-05-2010   #4
Bare Foot Kid


W 7 64-bit Ultimate
 
 


Quote   Quote: Originally Posted by A Guy View Post
Very nice Ted, you do good work. A Guy




Thank you!
My System SpecsSystem Spec
07-24-2010   #5
Dave76


Windows 7 Ult x64 - SP1/ Windows 8 Dev Build x64
 
 


Great work Ted, well done
My System SpecsSystem Spec
07-24-2010   #6
Bare Foot Kid


W 7 64-bit Ultimate
 
 


Thanks Dave, I'm pleased you find it useful.
My System SpecsSystem Spec
01-05-2012   #7
sonshi


Windows 7 Pro 64bit SP1
 
 


hi Bare Foot Kid:

Is there a way to make pc auto restart using the same method?
My System SpecsSystem Spec
01-05-2012   #8
Brink


Windows 7 Ultimate x64 SP1
 
 


Hello Sonshi, and welcome to Seven Forums.

Yes. You could use the same tutorial, but just substitute the arguments in step 4 with /R instead to restart the computer.

Hope this helps,
Shawn
My System SpecsSystem Spec
01-05-2012   #9
sonshi


Windows 7 Pro 64bit SP1
 
 


Thank you Blink.

I did exactly that. And it work. except that I needed to type my login password to start Windows.

Windows needs user password in order to use run Task Scheduler and password is again needed to login.

How can I solve this?
My System SpecsSystem Spec
Comment

Task Scheduler : Create Shut Down PC Automatically Task problems?



Tutorial Tools



Similar Threads for: Task Scheduler : Create Shut Down PC Automatically Task
Windows 7 Tutorial Category
Task Scheduler - Create New Task Tutorials
Solved Task Scheduler failing to start task with merged network locations General Discussion
Need help creating a task scheduler task to move files over a network. General Discussion
Task Scheduler problem - won´t login automatically General Discussion
What can I shut down or delete in Task Scheduler ? General Discussion


All times are GMT -5. The time now is 08:54 AM.



Windows 7 Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows 7" and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30