Monday, April 21, 2014

powercfg: Windows

Let's say you're able to change the power configuration from the GUI, you call use the following commands (e.g. powershell) to override the current configuration. 

powercfg -change -standby-timeout-ac 0
powercfg -change -hibernate-timeout-ac 0
powercfg -change -monitor-timeout-ac 0

Note:
0 (zero) or any number: set the computer to standby/hibernate/monitor sleep after this number of minutes idle.

No comments:

Post a Comment