Friday, December 24, 2010

How to Create a Task that will shut down the PC Automatically


INFORMATION
This article 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 but not on Windows XP.



SOLUTION
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.




2) In the Task Scheduler window that opens, in the "Actions" menu in the right pane click "Create Task".



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.



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.




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.





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.








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.



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.




This will work for Windows 7 and Windows Vista but not on Windows XP.

Related Posts Plugin for WordPress, Blogger...

Search This Blog

Followers

Twitter Delicious Facebook Digg Stumbleupon Favorites More