1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Solved: Task scheduler wont shutdown computer

Discussion in 'Windows XP' started by jmk909er, Dec 25, 2010.

Thread Status:
Not open for further replies.
  1. jmk909er

    jmk909er Thread Starter

    Joined:
    May 20, 2009
    Messages:
    354
    I am trying to make the Task Scheduler on my computer running XP to do a shutdown every night at 2AM. I have followed instructions on the web that I have found and I can't seem to get it to work. I am adding the following command line parameters:
    -s -t 60 -c “Daily Shutdown” -f

    So the whole run command looks like this:
    C:\Windows\system32\shutdown.exe -s -t 60 -c “Daily Shutdown” -f

    The -s stands for “Shutdown the computer”. The -t 60 stands for “Set timeout for shudown to xx seconds. The -c stands “Shutdown comment” which shows up on the screen when the PC is shutting down. And finally the -f stands for “Forces running applications to close without warning”.

    I have the task set to execute at 2AM everyday, but everyday I wake up and the computer is still on!

    Can anyone tell me what I am doing wrong?? Can't get it to work.
    Thanks, Joe
     
  2. stantley

    stantley

    Joined:
    May 22, 2005
    Messages:
    7,091
  3. jmk909er

    jmk909er Thread Starter

    Joined:
    May 20, 2009
    Messages:
    354
    Thanks, I got it working, I went back on my machine and looked, somehow I was missing the "-c" and it was stopping the whole command from running.

    Thanks, Joe
     
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/970552

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice