title: How to specify administrator password on Windows 2012 when Run Sysprep with the EC2Config Service
body: <p>I am creating AMI based on hardened Window2012, this is the steps I did:</p>
  
  <ol>
  <li>change some local group policies</li>
  <li>run some scripts to install/uninstall some applications</li>
  <li>enable some windows features</li>
  <li>run ec2config.exe –sysprep to create ami</li>
  </ol>
  
  <p>The problem I met is step 4: I can set administrator password in the EC2Config Setting UI by choose "Specify password" in the "image" tab, then click on "shutdown with sysprep", however I want to automate this step, and don't know how to do it.</p>