Ask Experts Questions for FREE Help !
Ask
    Ramish's Avatar
    Ramish Posts: 74, Reputation: 1
    Junior Member
     
    #1

    Mar 29, 2009, 09:58 PM
    Auto Shutdown Windows 2003 Server
    Hi,

    I have got a DELL Server with a Windows 2003 Server platform. Some of my colleagues work beyond the schedule to achieve the daily targeted tasks, but I have to leave earlier than them.

    In short, we have a server that needs to be turned ON till all staff leaves and after that there is no one technical who can turn the Server OFF.

    What I want is here; I want to put a script or a policy onto the server to make it TURN OFF on the specific Time & Date I assign for it.

    Can anyone tell me how to schedule a TURN OFF for this baby "Server"

    CHEERS,
    Curlyben's Avatar
    Curlyben Posts: 18,514, Reputation: 1860
    BossMan
     
    #2

    Mar 29, 2009, 10:12 PM
    I know this may sounds odd, but WHY are you turning this server off every night?
    Servers are designed to be ALWAYS on and not continually restarted.
    Ramish's Avatar
    Ramish Posts: 74, Reputation: 1
    Junior Member
     
    #3

    Mar 29, 2009, 10:48 PM
    Quote Originally Posted by Curlyben View Post
    I know this may sounds odd, but WHY are you turning this server off every night ??
    Servers are designed to be ALWAYS on and not continually restarted.

    Well, yes. It is odd, but not unusual when we talk about servers based in remote areas where electricity does not exist, but need to use Power Generators to stablize the electricity in there.

    Anyway, same situation is with me. We are using generators and during the night, we are not allowed to keep the generator ON, so I need to turn OFF the server before the Generator and/or the UPS connected to the server GOES OFF.

    Please help!
    Scleros's Avatar
    Scleros Posts: 2,165, Reputation: 262
    Hardware Expert
     
    #4

    May 13, 2009, 09:05 AM
    I think your simplest and least costly solution is to train someone or everyone to be technical enough to manually turn the server off.

    There is a command-line shutdown command that could possibly be wrapped up in a batch file and scheduled to run automatically with the task scheduler, but I don't think this would be reliable enough for your situation. Windows Servers may occasionally not shut down properly in an orderly fashion without complaining about something and requiring user input.

    Additionally, the UPS might include an agent or software that could be installed to shutdown the server when the battery gets depleted. You could perhaps configure it at a high threshold so shutdown is initiated before the battery gets significantly depleted or at all. Oversizing the UPS and configuring power management might also allow the server to run overnight.

    A small separate generator just for the server and technology assets is another option.

    As Curly alluded to, it is usually significantly less hassle, risk, and sometimes cost to keep servers running. Is the cost of the server failing to boot up one day less than the cost to keep it running?
    spewdemon's Avatar
    spewdemon Posts: 1, Reputation: 1
    New Member
     
    #5

    Jun 27, 2009, 07:04 PM
    You can use the "at" command to ad Shutdown /f /s to the windows scheduler. This would rune the shutdown /f /s command at a specific time.

    So to force a shutdown at 6 pm everyday

    AT 18:00 /EVERY:m,t,w,th,f,s,su shutdown /f /s

    Hope this helps
    FrankZ's Avatar
    FrankZ Posts: 4, Reputation: 2
    New Member
     
    #6

    Jul 2, 2009, 11:09 AM

    Why not put a paper on the wall that says last guy to leave RDP to the server and type in shutdown -t 100 then walk away. That will shut down the server in 100 seconds. Done. No script no nonsense.
    Ramish's Avatar
    Ramish Posts: 74, Reputation: 1
    Junior Member
     
    #7

    Jul 3, 2009, 09:36 PM
    Quote Originally Posted by spewdemon View Post
    you can use the "at" command to ad Shutdown /f /s to the windows scheduler. this would rune the shutdown /f /s command at a specific time.

    so to force a shutdown at 6 pm everyday

    AT 18:00 /EVERY:m,t,w,th,f,s,su shutdown /f /s

    hope this helps

    Thanks, it helped!! Thanks a billion

    Regards;

Not your question? Ask your question View similar questions

 

Question Tools Search this Question
Search this Question:

Advanced Search

Add your answer here.


Check out some similar questions!

Windows server 2003 situation [ 2 Answers ]

I am trying to setup windows server 2003 domain at my friends business, all of the workstations should have the following setup as their DNS server in the network settings: I am trying to decide the best answer.. A. The ISP’s external DNS Server ONLY B. The ISP’s external DNS Server and the...

Windows 2003 r2 server [ 1 Answers ]

Dear All, I need a small help, I have windows 2003 r2 server installed and updated, whenever I plug in pen drive in the usb port the server gets hanged, there is no other solution rather than restart, since it a uprunning server and many users connected to it to access ERP installed in server it...

Downgrade windows 2003 server to windows 2000 server procedure [ 1 Answers ]

Hi.. Recently I planned to buy a server with windows 2k server OS. Unfortunately I was told that win 2k server will be no longer in support at 2007.:confused: What happen is that the application I need to run is under win 2k server only, can anyone advise me how to perform the downgrade...

Setting up Windows Server 2003 [ 6 Answers ]

Okay I have a few questions. First is my Cable ISP gives me a Dynamic IP Address. But I would like to set up a home net work with Windows 2003 server. I would like to physically set it up this way. Modem to Router with DHCP turned off on the router, then router to server with DHCP, then...


View more questions Search