title: AWS EC2 - Run a Script on Instance Launch With Windows Server 2012
body: <p>I would like to run a script to clear out a folder (ie: <em>C:/myfolder</em>) on Windows Server 2012.  I thought about adding an item to the <strong>Startup Scripts</strong> list under <strong>Edit Group Policy</strong>, but this would clear out my folder any time any of my servers rebooted.  I only want the folder cleared out on a new instance launch from an existing AMI.  </p>
  
  <p>What's the best way to achieve this?</p>