title: Using Batch file to change various settings in Windows Control Panel
body: <p>I am looking for how to make several changes in windows control panel settings on a computer running Windows 7, by using a batch file (without powershell).</p>
  
  <p>The required settings are :</p>
  
  <p>In PowerCFG Panel :</p>
  
  <ul>
  <li>Monitor Timeout on AC (switch to Disable)</li>
  <li>HDD Timeout on AC (switch to Disable)</li>
  <li>Standby Timeout on AC (switch to Disable)</li>
  <li>Hibernate Timeout on AC (switch to Disable)</li>
  <li>Action of the hardware power button (switch to Disable)</li>
  </ul>
  
  <p>In Start Menu Panel :</p>
  
  <ul>
  <li>Action of the shutdown button  (switch to Change User)</li>
  </ul>
  
  <p>I have already tried this script :</p>
  
  <pre><code>@Echo Off
  POWERCFG /CHANGE monitor-timeout-ac 0
  POWERCFG /CHANGE disk-timeout-ac 0
  POWERCFG /CHANGE standby-timeout-ac 0
  POWERCFG /CHANGE hibernate-timeout-ac 0
  exit
  </code></pre>
  
  <p>But I did not find how to get the others settings.</p>
  
  <p>Thank you Forward</p>