Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

What is the most straightforward way to wake up the Windows Server 2008 R2 machine at 8 am and hibernate it at 8 pm (Mon-Fri)?

Thanks!

share|improve this question
    
If you do this, when do you do backups? –  mfinni Jun 25 '10 at 16:16
    
Is this to save power, or something else? –  tony roth Jun 25 '10 at 16:16
    
@tony: To save power and hard drives, of course. –  Alberto Jun 28 '10 at 20:23
    
sounds like a good idea in those terms, people seem to be negative about this but I started to think about it and I came up with a question for myself "why did MS put hibernation into a server product if it was a bad idea to use it?". For some strange reason I think it will work fine in a small business situation! –  tony roth Jun 28 '10 at 20:35
    
Well if its any help its always good to know that R2 supports core parking. So if you don't have a load on the server you're unused cores should sleep. Closest thing to green next to powering it off. I guess the first time it doesn't come on at 8 a.m. though you better be near by. –  Mouffette Jun 29 '10 at 2:25
add comment

2 Answers 2

up vote 5 down vote accepted

The most straightforward way is a scheduled task at 8 pm to do the hibernate, and set the BIOS to perform the wakeup at 8 am.

share|improve this answer
    
Our machine's BIOS (Dell PowerEdge T105) does not support WakeUp setting, sorry. Where can I find more info on creating a scheduled task to hibernate the machine? –  Alberto Jun 25 '10 at 12:04
    
@devdept Does the T105 support Wake On Lan (WOL)? –  jscott Jun 25 '10 at 17:02
    
@jscott: Yes, we successfully activated WOL but with a sleep after 180 mins hibernate setting, the server does not take in account all our recent access to the machine and simple falls asleep 3 hours later even if we use it all the time. We would like the server to fall asleep after 180 mins of idle time. –  Alberto Jun 28 '10 at 6:44
add comment

If you don't have a wakeup setting in your bios then you may instead be able to enable wakeonlan and send the magic packet to wake it up from another machine.

To hibernate as a scheduled task you can download pstools from the microsoft site and use psshutdown -h http://technet.microsoft.com/en-us/sysinternals/bb896649.aspx

share|improve this answer
3  
shutdown /h does hibernate, also hibernating a server is not like hibernating a desktop, it will be interesting to see what happens. –  tony roth Jun 25 '10 at 14:27
3  
+1 - in general aterribly bad idea to even think of hibernating a server. –  TomTom Jun 25 '10 at 14:58
    
@EK: Is it possible that in a modern Windows 2008 R2 server I need such a tool to hibernate the machine at a specific time? –  Alberto Jun 30 '10 at 12:11
    
Both will work, however psshutdown pops up a message that it is going to shutdown so if you happen to be working on the machine at the time you can choose to abort it or save anything that you have open. Also on some versions of windows there is no shutdown /h option (although there is for 2008) –  JamesRyan Jun 30 '10 at 13:56
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.