Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide 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
04 Jul 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
Name:  Search.jpg
Views: 43215
Size:  83.9 KB
Name:  UAC Task.jpg
Views: 43046
Size:  116.9 KB
2) In the left pane of Task Scheduler, click on Task Scheduler Library, then in the "Actions" menu in the right pane click on 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.
Name:  Warning.jpg
Views: 42592
Size:  45.2 KB
Enjoy!

Published by
04 Jul 2010   #1
derekimo

Microsoft Community Contributor Award Recipient

Windows 7 Pro 64 SP1
 
 

Nice work Ted, easy to follow too!


My System SpecsSystem Spec
04 Jul 2010   #2
Bare Foot Kid
Microsoft MVP

W 7 64-bit Ultimate
 
 

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

Microsoft Community Contributor Award Recipient

Windows 7 Home Premium x64 SP1
 
 

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


05 Jul 2010   #4
Bare Foot Kid
Microsoft MVP

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
24 Jul 2010   #5
Dave76

Microsoft Community Contributor Award Recipient

Windows 7 Ult x64 - SP1/ Windows 8 Pro x64
 
 

Great work Ted, well done
My System SpecsSystem Spec
24 Jul 2010   #6
Bare Foot Kid
Microsoft MVP

W 7 64-bit Ultimate
 
 

Thanks Dave, I'm pleased you find it useful.
My System SpecsSystem Spec
05 Jan 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
05 Jan 2012   #8
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

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
05 Jan 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




Tutorial Tools



Similar help and support threads for2: Task Scheduler : Create Shut Down PC Automatically Task
Windows 7 Tutorial Category
Task Scheduler - Create New Task Tutorials
Task Scheduler - Create Task to Display a Message Reminder Tutorials
Can't create a task in task scheduler, account unknown. General Discussion
Task scheduler unable to load task status/active tasks at startup. Performance & Maintenance
Solved Task Scheduler - Shut down IE9 Browsers & Mail
Task Scheduler problem - won´t login automatically General Discussion
What can I shut down or delete in Task Scheduler ? General Discussion

Our Sites

Site Links

About Us

Find Us

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

All times are GMT -5. The time now is 10:49 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

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 31 32 33