CDROM-Guide forums  

PDA

View Full Version : automated delayed shutdown XP


   
fungusfeet
Jan 23, 2003, 09:11 PM
Hi I need a way of shutting down my computer say a few hours after i set it like a sleep function, i guess i could use a delay string on tsshutdn.exe but that wouldnt close down windows as I would have AOL running and like outlook it wont let u close down the PC until it has been closed down.

Anyone know how to do this? or at least what I'm talking about!

QWERTY
Jan 23, 2003, 11:50 PM
You could use the shutdown command. Open a command box and type:
Shutdown -f -s -t xxx (where xxx is the number of seconds to wait before shutting down)

example:

Shutdown -f -s -t 7200 (would shut down the system after 2 hours)

Type Shutdown by itself to see the rest of the command line switches.

fungusfeet
Jan 24, 2003, 12:39 AM
I dont think that would work as it wouldnt shut down aol, i guess its the same as pressing the power button this doesnt work when aol or outlook are running d/loading a little app that reckons it can close programs before shutting down i'll see if thats as good as it claims

QWERTY
Jan 24, 2003, 02:32 AM
You didn't even bother to try it....The -f switch closes all running apps before shutting the system down.

fungusfeet
Jan 24, 2003, 03:23 AM
You didn't even bother to explain, so now you have I will try it, thankyou.

fungusfeet
Jan 24, 2003, 12:30 PM
It wasn't that I couldn't be bothered to try it :) I wasn't able to turn it off until later, it did shut down aol but it didnt power down I was left with the "it's now safe to turn off your computer" screen, which in my situation is no better than the PC still being on unfortunately.

Captain
Jan 24, 2003, 01:05 PM
Theres a program called StopIt which works nicely and closes Outlook too.

semirch
Jan 24, 2003, 02:20 PM
Just found this :

"right click on My computer, select Properties, select Hardware, select Device Manager, From view menu select "Show Hidden Devices"

If available on your comp, there should be a plus sign next to NT/APM Legacy support, click on this and make sure there isn't a red cross on NT APM/Legacy Interface Node"

This "should" then power off your comp when shutting down.