Fix Event ID 1020 or 1008 Microsoft-Windows-Perflib error