[SOLVED] Windows cannot load sysmain.dll

thomasgreco0499

Commendable
May 19, 2019
26
0
1,530
Hi. Almost every time I start my PC after updating to 21H1, I am presented with this error in the event log:
Windows cannot load the extensible counter DLL "C:\Windows\system32\sysmain.dll" (Win32 error code The specified module could not be found.).
No BSOD or problems with the PC. I am just not quite sure why this is happening. sysmain.dll exists at the specified location. Does anyone know why this is happening or if it is an issue? Thank you

EDIT: Just realized that I actually only get this error upon launching amazon workspaces. It is not on every startup
 
Last edited:
Solution
see if this helps

right click start button

choose powershell (admin)
type SFC /scannow and press enter
once its completed, copy/paste this command into same window:

Repair-WindowsImage -Online -RestoreHealth
and press enter


SFC fixes system files, second command cleans image files, re run SFC if it failed to fix all files and restart PC

Colif

Win 11 Master
Moderator
see if this helps

right click start button

choose powershell (admin)
type SFC /scannow and press enter
once its completed, copy/paste this command into same window:

Repair-WindowsImage -Online -RestoreHealth
and press enter


SFC fixes system files, second command cleans image files, re run SFC if it failed to fix all files and restart PC
 
Solution