title: Change settings for power for windows scheduled task
body: <p>I created a windows task and scheduled to run every 1 hour.</p>
  
  <p>Every hour the task runs but am getting an warning <code>Task Scheduler did not launch task "\Sample Task"  because computer is running on batteries. User Action: If launching the task on batteries is required, change the respective flag in the task configuration.</code> and task exits pre-maturely.</p>
  
  <p>I am using <a href="http://msdn.microsoft.com/en-us/library/windows/desktop/bb736357%28v=vs.85%29.aspx" rel="noreferrer">SCHTASKS.exe</a> for creating task as I need to create task taking user input from a form.</p>
  
  <p>Using the command I want to remove the power option.
  <img src="https://i.stack.imgur.com/47yrO.png" alt="enter image description here">
  Is this possible? </p>