schedule shutdown in windows 2003 server

Posted on 2007-08-10
Last Modified: 2013-11-05

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?

Question by:kalvillo
    LVL 10

    Expert Comment

    if you want to use a tool for schedule the shutdown, have a look on this -
    LVL 4

    Accepted Solution

    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.
    LVL 70

    Expert Comment

    Make sure that the scheduled task in running under an account that has the necessary permissions of shutdown the system.

    Expert Comment

    Thanks!!!! This is exactly what I needed!

    Featured Post

    Better Security Awareness With Threat Intelligence

    See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

    Join & Write a Comment

    I guess it is not common knowledge to most Wintel engineers/administrators: If you have an SNMP-based monitoring system in your environment (and it's common to have SNMP or Syslog) it's reasonably easy to enable monitoring of the Windows Event logs,…
    This may not be a text book method to resolve VSS backup issues but it seemed to have worked on few of the Windows 2003 servers we had issues while performing a Volume Shadow Copy backup. If you have issues while performing a shadow copy backup usin…
    Need more eyes on your posted question? Go ahead and follow the quick steps in this video to learn how to Request Attention to your question. *Log into your Experts Exchange account *Find the question you want to Request Attention for *Go to the e…
    Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…

    755 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now