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: 56469 Size:  83.9 KB

Name:  UAC Task.jpg Views: 56267 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.
-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.
-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.
-action-new.jpg

-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.
-triggers-new.jpg

-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.
-password.jpg

-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.
-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: 55640 Size:  45.2 KB
Enjoy!


Comments

Popular Posts