How to Resolve Event ID 1023 - Perflib

Source - Perflib
Event ID - 1023
Windows cannot load extensible counter DLL [module], the first DWORD in data section is the Windows error code.

System is missing a DLL that is referenced in the registry.

1) Write down the name that is mentioned as [module] in Event ID 1023 message.
2) Click Start, click Run and type Regedit [enter]
3) In the Registry browse to the key:


(Where ServiceName references to the [module] name written down in step 1.)

4) Under the Performance branch check the entry that says "Library"
5) Check if the file exits in the folder that is referenced in the registry Library entry.
6) Search the computer for that filename to see if it exists on other locations.
7) Compare file size and versions of the files that are found. If the DLL from step 5 is older/lower version then the ones in other folders try renaming this DLL and copy a newer one to the folder.

If you are unable to find the DLL anywhere else on the computer check the original media (CD/DVD) you installed the product from to see if the DLL exist on there. Copy or extract it to the folder where the Perflib expects it.
Then start a Command prompt and type:

REGSVR32 [path]\[file.dll] - where path and file.dll refer to the complete path and filename of the file you just copied.