schedule shutdown in windows 2003 server

Hi.

I want to schedule the shutdown of my server (to save electricity... i have tried using the command "shutdown.exe" in the task scheduler, but sometimes works, sometimes doesn't... most of the time the server doesn't shutdown.

Do you know a better method to schedule a shut down?

Thanks
kalvilloAsked:
Who is Participating?
 
starmonkeyCommented:
sounds like running apps may be preventing shut down.  You might need some switches

shutdown -r -f -t 60
the trick is the -f switch, it forces apps to close.

the -r switch reboots.  You may not want this.

to see all options on command line:
shutdown /?

Save this in a batch file (text file ending in .bat)  then scedule with sceduled tasks in control pannel.
0
 
Phadke_hemantCommented:
if you want to use a tool for schedule the shutdown, have a look on this -
http://www.sharewareconnection.com/titles/schedule-shutdown.htm
0
 
Brian PiercePhotographerCommented:
Make sure that the scheduled task in running under an account that has the necessary permissions of shutdown the system.
0
 
carlsteersCommented:
Thanks!!!! This is exactly what I needed!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.