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.

Does anyone know what conditions have to occur for Windows to keep a PC out of power-saving actions such as monitor/disk shut-down, hibernation, etc?

I want to run a build script which could take a while, when I leave, and have the PC shut down after it ends but not risk hibernating part-way through.

share|improve this question
    
Are you subject to Group Policy restrictions? –  Dennis Williamson Oct 19 '09 at 16:37
    
I don't think so, if I understand what that means. I have admin rights on my workstation and can change power saving settings etc. –  John Oct 20 '09 at 8:59
add comment

1 Answer

Normally "activity" means input from keyboard or mouse. Depending a a variety of things, such as how the driver is written, some other forms of input may also be considered to be activity. Things like disk I/O is not activity in this context. There are a number of ways to fool the OS into thinking there is activity but it is ussually simpler to just disable hibernation temporarily and have your build script call for a shutdown when it's done. You can use shutdown.exe for that.

share|improve this answer
add comment

Your Answer

 
discard

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