title: Modifying the Power Scheme using Batch Files in Windows XP
body: <p>I'm trying to write two batch files that will allow me to switch the Power Scheme (Control Panel -> Power Options -> Power Schemes Tab) from Home/Office Desk to Portable/Laptop and back. My operating system is Windows XP SP3.</p>
  
  <p>My reason for doing this is because I want to disable SpeedStep when I'm playing games on my laptop (i.e. put it on the Home/Office Desk scheme) and enable SpeedStep otherwise (back to Portable/Laptop). Windows XP turns <a href="http://en.wikipedia.org/wiki/SpeedStep#Operating_system_support" rel="nofollow noreferrer">turns off</a> dynamic switching in Home/Office Desk mode. I'd like to be able to do this programatically to save myself some time everytime I want to play a game.</p>
  
  <p>Any thoughts on how to modify the power settings using a simple batch file? Python and Ruby scripting is also an option but isn't preferred. </p>