title: Changing advanced power settings windows 7 (batch / powershell
body: <p>I already have this which can change the basic settings of the current power plan, but I need to change advanced power setting such as what closing the lid does and what the power button does.</p>
  
  <pre><code>POWERCFG -Change -monitor-timeout-ac 15
  POWERCFG -CHANGE -monitor-timeout-dc 15
  POWERCFG -CHANGE -standby-timeout-ac 0
  POWERCFG -CHANGE -standby-timeout-dc 0
  POWERCFG -CHANGE -hibernate-timeout-ac 0
  POWERCFG -CHANGE -hibernate-timeout-dc 0
  </code></pre>