title: Automating Watin with IE10 and TeamCity
body: <p>I've upgraded internet explorer to version 10 on one of the team city build agents. After the upgrade, our Watin acceptance tests will not run. I get exceptions like:</p>
  
  <blockquote>
    <p>System.Runtime.InteropServices.COMException : This function is not supported on this system. (Exception from HRESULT: 0x80070078)</p>
  </blockquote>
  
  <p>The Team City build agent is running as local system account with access to desktop and needles to say, our tests used to work on older versions of IE. Things I've tried: changed the service log on to localadmin, disabling uac; still get the same errors. If I remote onto the build agent and fire up powershell as administrator I can run the tests successfully. If I fire up powershell without elevating to admin, I am not able to run the tests. The server is Server 2008 R2 SP1.</p>