Scheduled Shutdown
Results 1 to 8 of 8

Thread: Scheduled Shutdown

  1. #1
    Registered User Rifleman @ Layman's PC's Avatar
    Join Date
    May 2002
    Location
    Fairmont, WV
    Posts
    306

    Scheduled Shutdown

    I need to schedule machine shutdown at a specific time each day, I tried scheduling a shutdown app through "Scheduled Tasks" and it will not work.
    Does anyone know how to do this???
    It is a multi-user system, and if necessary, needs to be able to force the logoff of users.

  2. #2
    Registered User Archer's Avatar
    Join Date
    Mar 2000
    Location
    Blighty
    Posts
    4,224

  3. #3
    Registered User Rifleman @ Layman's PC's Avatar
    Join Date
    May 2002
    Location
    Fairmont, WV
    Posts
    306
    sort of, but it needs to power down the PC also...

  4. #4
    Registered User MD_Geist's Avatar
    Join Date
    Jul 2001
    Location
    South Dakota
    Posts
    112
    haven't tried this myself, but you can make a batch file using XPs shutdown command from the command prompt. and set that to be run as a scedualed task.

    so far from my tests it is working fine.

    keep me updated on how the battle goes

    MD

  5. #5
    Registered User Rifleman @ Layman's PC's Avatar
    Join Date
    May 2002
    Location
    Fairmont, WV
    Posts
    306
    Well dude, your batch file must be written different than mine. lol, All mine does is bring up a DOS box and scroll the commands.

    Copy and paste for me if yours works.

    THX
    JP

  6. #6
    Registered User MD_Geist's Avatar
    Join Date
    Jul 2001
    Location
    South Dakota
    Posts
    112
    ;start copy here
    shutdown -s -t 15 -c "Comment"
    end
    ;end copy here

    -s is for a system shutdown
    -t is a timer, 15 secs, can be up to 256 i belive
    -c comment

    in command prompt just type shutdown for more switches

  7. #7
    Registered User Rifleman @ Layman's PC's Avatar
    Join Date
    May 2002
    Location
    Fairmont, WV
    Posts
    306
    LMFAO


    Forget it, I'm ashamed I even posted this... lol, I wasn't even thinking.
    After I spent a minute looking at what it was I was doing, I got it... Thanks for the quick reply though.


    kicking myself in the ***

    I just created a shortcut in the root to


    c:\windows\system32\shutdown.exe -f -t 30

    -f force the shutdown


    and then I scheduled that shortcut...


    just a case of the dumba$$es.

    Makes me want to delete the post I'm so ashamed.
    Last edited by Rifleman @ Layman's PC; October 13th, 2002 at 08:53 PM.

  8. #8
    Registered User MD_Geist's Avatar
    Join Date
    Jul 2001
    Location
    South Dakota
    Posts
    112
    no biggie
    i wouldn't know about it if i had ntos een it on the screensavers

    easy mistake to make..... this will make you feel better...


    i once flashed my BIOS with a zip file

    MD

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •