I'm still seeing some shutdown/restart delays about a third of the time. I can't predict when it happens, but appears the longer the system has been up the more likely it is to have Avast delay the shutdown.
Log Name: System
Source: Service Control Manager
Date: 6/21/2023 12:26:11 AM
Event ID: 7043
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: Spock
Description:
The Avast Antivirus service did not shut down properly after receiving a preshutdown control.
Event Xml:
<Event xmlns="
http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Service Control Manager" Guid="{555908d1-a6d7-4695-8e1e-26931d2012f4}" EventSourceName="Service Control Manager" />
<EventID Qualifiers="49152">7043</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x8080000000000000</Keywords>
<TimeCreated SystemTime="2023-06-21T07:26:11.672198300Z" />
<EventRecordID>1573807</EventRecordID>
<Correlation />
<Execution ProcessID="856" ThreadID="10360" />
<Channel>System</Channel>
<Computer>Spock</Computer>
<Security />
</System>
<EventData>
<Data Name="param1">Avast Antivirus</Data>
</EventData>
</Event>