Fix Event Error 1020 & 1008 Microsoft-Windows-Perflib error