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

We have a lot of computers in our company. We are planning to cut down the electricity costs. People just lock their computers and go home and we cant manually go and put their computer to sleep/hibernate when they go and back to locked state before the office starts. I am new to this field and have to make a tool by which either the computers automatic go to hibernate after some amount of time period and come back from hibernation at a specific time or a GUI where we people can see from how long the other computers have been locked and hibernate/sleep them manually by just clicking a button.

Would be really helpful to get some advice on this.


share|improve this question
This sounds right up your alley: technet.microsoft.com/en-us/magazine/cc462804.aspx –  Ryan Ries Dec 8 '13 at 15:33
Windows, and Group Policy, offer extensive power management options including sleep/hibernate. As for waking automatically, you'll need BIOS support for auto wake time, or your NIC will need Wake On LAN support. –  jscott Dec 8 '13 at 15:35

1 Answer 1

We can't help you make a tool, per se, as in a custom program, but the way to do this in a professional office environment would be through Active Directory Group Policy.

As this article shows, you can set all of the power policy settings such as when to hibernate after being idle, etc., on all your computers in your organization in a consistent and maintainable fashion through Group Policy.

It may not have the granularity that you were hoping for (i.e. 'computer must hibernate at 10:30pm', etc.) but anything beyond what you can do with Group Policy would involve a custom solution, probably something that you wrote, or at least some scripts tacked on with Task Scheduler (you can also deploy scripts through Group Policy,) etc... and since you said you have 'a lot of computers,' that would be a maintenance nightmare in my opinion versus Group Policy.

The power management policies are located in Power Management, under Computer Configuration | Administrative Templates | System | Power Management.

Also you might want to remember to "Allow wake timers" in the computer's power plan if you intend to wake it up automatically at a certain time. A scheduled task has the ability to wake a computer from a sleep state, if you configure it to and you've allowed that in your power policy.

And finally, as Jscott points out, most hardware these days has Wake-On-Lan "magic packet" type functionality if that can be of use to you.

So these are pretty much the tools you have at your disposal without getting into custom development land.

share|improve this answer

Your Answer


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.