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.
Please see the description for the event logs:
Event Id 12:
Process SysWOW64\powercfg.exe reset policy scheme from {.........} to {...........}
Event Id 9009:
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.
I am not able to find any other logs related to IIS or worker process and totally blind on how to debug this issue.
IIS version we are using is 10.0 and the Windows edition is Windows Server 2016 Standard.