Task Scheduler : Create Shut Down PC Automatically Task

Page 1 of 3 123 LastLast
    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
    Designer Media Ltd


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

    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! :)





  1. Posts : 17,322
    Win 10 Pro x64
       #1

    Nice work Ted, easy to follow too!
      My Computer


  2. Posts : 22,814
    W 7 64-bit Ultimate
    Thread Starter
       #2

    Thanks Derek! :)
      My Computer


  3. Posts : 53,363
    Windows 10 Home x64
       #3

    Very nice Ted, you do good work. A Guy
      My Computer


  4. Posts : 22,814
    W 7 64-bit Ultimate
    Thread Starter
       #4

    A Guy said:
    Very nice Ted, you do good work. A Guy




    Thank you! :)
      My Computer


  5. Posts : 12,177
    Windows 7 Ult x64 - SP1/ Windows 8 Pro x64
       #5

    Great work Ted, well done :)
      My Computer


  6. Posts : 22,814
    W 7 64-bit Ultimate
    Thread Starter
       #6

    Thanks Dave, I'm pleased you find it useful. :)
      My Computer


  7. Posts : 49
    Windows 7 Pro 64bit SP1
       #7

    hi Bare Foot Kid:

    Is there a way to make pc auto restart using the same method?
      My Computer


  8. Posts : 72,041
    64-bit Windows 11 Pro for Workstations
       #8

    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 Computer


  9. Posts : 49
    Windows 7 Pro 64bit SP1
       #9

    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 Computer


 
Page 1 of 3 123 LastLast

  Related Discussions
Our Sites
Site Links
About 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 21:48.
Find Us