title: detect windows 7 audit mode
body: <p><strong>Background</strong></p>
  
  <p>OEMS, Sys Admins etc. often use <a href="http://oem.microsoft.com/script/contentpage.aspx?pageid=565676" rel="nofollow">OPK</a> or <a href="http://technet.microsoft.com/library/dd349343.aspx" rel="nofollow">WAIK</a> for mass installation. During this they often ship some pre-installed applications. The installations of such applications happen when Windows installation enters in <a href="http://technet.microsoft.com/en-us/library/dd744337%28WS.10%29.aspx" rel="nofollow">Audit Mode</a> </p>
  
  <p><strong>Question</strong></p>
  
  <p>Using c#, how do I detect that Windows is currently in Audit Mode?</p>