title: Application hosted in IIS stopping after the event id 12 and 9009
body: <p>I have hosted multiple applications in IIS and all applications are stopping at the same time. When I checked the event viewer, I can see only the logs for event id 12 and 9009 around that time. This happened multiple times a day and all these times the event logs entered for these two event Ids.</p>
  
  <p>Please see the description for the event logs:</p>
  
  <p>Event Id 12:</p>
  
  <blockquote>
    <p>Process SysWOW64\powercfg.exe reset policy scheme from {.........} to {...........}</p>
  </blockquote>
  
  <p>Event Id 9009:</p>
  
  <blockquote>
    <p>The Application Host Helper Service encountered an error trying to delete the history directory '~\inetpub\history\CFGHISTORY_0000000823'. The directory will be skipped and ignored. Note that the directory may still get deleted in the future if the service restarts.</p>
  </blockquote>
  
  <p>I am not able to find any other logs related to IIS or worker process and totally blind on how to debug this issue.</p>
  
  <p>IIS version we are using is 10.0 and the Windows edition is Windows Server 2016 Standard.</p>