Windows 10: Windows cannot load the extensible counter DLL Event 1023, Perfib

Discus and support Windows cannot load the extensible counter DLL Event 1023, Perfib in Windows 10 Gaming to solve the problem; So I keep getting this error:Windows cannot load the extensible counter DLL "C:\WINDOWS\system32\sysmain.dll" The specified module could not be found.... Discussion in 'Windows 10 Gaming' started by JeffKrieble, Apr 12, 2022.

  1. Windows cannot load the extensible counter DLL Event 1023, Perfib


    So I keep getting this error:Windows cannot load the extensible counter DLL "C:\WINDOWS\system32\sysmain.dll" The specified module could not be found.

    :)
     
    JeffKrieble, Apr 12, 2022
    #1
  2. Well1996 Win User

    Error event 1023 source Perflib

    Windows cannot load the extensible counter DLL Oracle11. The first four bytes (DWORD) of the Data section contains the Windows error code.
     
    Well1996, Apr 12, 2022
    #2
  3. Naresh_K Win User
    Error event 1023 source Perflib

    Hi,

    Thank you for writing to Microsoft Community Forums.

    This means that you either do not have the correct DLL or are missing a DLL that is referenced in the registry. Please try the following steps to resolve the issue:

    1. Write down the name that is mentioned as
      [module]
      in your Event ID 1023 message.
    2. Click Start, click Run and type Regedit [enter] (If you do not have a run option just hit the Windows key + R)
    3. In the Registry browse to the key:

      HKLMSYSTEMCurrentControlSetServicesServiceNamePerformance
      Where ServiceName references to the [module] name you wrote 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 you might want to rename 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.

    Note: The registry is a database in Windows that contains important information about system hardware, installed programs and settings, and profiles of each of the user accounts on the computer. Windows often reads and updates
    the information in the registry.

    Normally, software programs make registry changes automatically. You should not make unnecessary changes to the registry. Changing registry files incorrectly can cause Windows to stop working or make Windows report the wrong
    information.

    Please take a backup of the registry. Follow the steps given in the link:
    How to back up and restore the registry in Windows

    If you need any additional assistance, please help us with the following information:

    1. May I know if the system is connected to a domain network?
    2. May I know when are you getting this error message?


    Regards,
     
    Naresh_K, Apr 12, 2022
    #3
  4. KCav45 Win User

    Windows cannot load the extensible counter DLL Event 1023, Perfib

    Event 1023 Error

    What should I do?

    Log Name: ApplicationSource: Microsoft-Windows-PerflibDate: 4/27/2020 3:38:19 PMEvent ID: 1023Task Category: NoneLevel: ErrorKeywords: User: SAM-NB1\SamComputer: SAM-NB1Description:Windows cannot load the extensible counter DLL "C:\WINDOWS\system32\sysmain.dll" (Win32 error code The specified module could not be found.).Event Xml:<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> <System> <Provider Name="Microsoft-Windows-Perflib" Guid="{13b197bd-7cee-4b4e-8dd0-59314ce374ce}" /> <EventID>1023</EventID> <Version>1</Version> <Level>2</Level> <Task>0</Task> <Opcode>0</Opcode> <Keywords>0x8000000000000000</Keywords> <TimeCreated SystemTime="2020-04-27T19:38:19.101095700Z" /> <EventRecordID>7685</EventRecordID> <Correlation /> <Execution ProcessID="4660" ThreadID="3676" /> <Channel>Application</Channel> <Computer>SAM-NB1</Computer> <Security UserID="S-1-5-21-2961503906-1339126382-187226678-1001" /> </System> <EventData> <Data Name="Library">C:\WINDOWS\system32\sysmain.dll</Data> <Data Name="Win32Error">126</Data> </EventData></Event>
     
    KCav45, Apr 12, 2022
    #4
Thema:

Windows cannot load the extensible counter DLL Event 1023, Perfib

Loading...
  1. Windows cannot load the extensible counter DLL Event 1023, Perfib - Similar Threads - cannot load extensible

  2. Windows cannot load the extensible counter DLL "C:\WINDOWS\system32\sysmain.dll" Win32...

    in Windows 10 Gaming
    Windows cannot load the extensible counter DLL "C:\WINDOWS\system32\sysmain.dll" Win32...: How do I get rid of this application error? "Windows cannot load the extensible counter DLL "C:\WINDOWS\system32\sysmain.dll" Win32 error code The specified module could not be found.."I did everything from this post and it worked for 1 day and now the above issue is back....
  3. Windows cannot load the extensible counter DLL "C:\WINDOWS\system32\sysmain.dll" Win32...

    in Windows 10 Software and Apps
    Windows cannot load the extensible counter DLL "C:\WINDOWS\system32\sysmain.dll" Win32...: How do I get rid of this application error? "Windows cannot load the extensible counter DLL "C:\WINDOWS\system32\sysmain.dll" Win32 error code The specified module could not be found.."I did everything from this post and it worked for 1 day and now the above issue is back....
  4. IIS cannot load C++ DLL

    in Windows 10 Software and Apps
    IIS cannot load C++ DLL: Hi,I have a c++ dll and try to call it from a web app written c# on .NET core 6.0. But i am facing two problems1. Can not debug the program2. IIS cannot load the c++ DLLCould not findPlease suggest....
  5. Windows cannot load the extensible counter DLL Event 1023, Perfib

    in Windows 10 Software and Apps
    Windows cannot load the extensible counter DLL Event 1023, Perfib: So I keep getting this error:Windows cannot load the extensible counter DLL "C:\WINDOWS\system32\sysmain.dll" The specified module could not be found....
  6. BSOD - Windows cannot load the extensible counter DLL "C:\Windows\system32\sysmain.dll"

    in Windows 10 BSOD Crashes and Debugging
    BSOD - Windows cannot load the extensible counter DLL "C:\Windows\system32\sysmain.dll": tried DISM /Online /Cleanup-Image /RestoreHealth did not help attached event viewer info [ATTACH] [ATTACH] https://answers.microsoft.com/en-us/windows/forum/all/bsod-windows-cannot-load-the-extensible-counter/df12f899-1ff5-47a4-be50-2824345d7897
  7. Event 1023 Error

    in Windows 10 Performance & Maintenance
    Event 1023 Error: What should I do? Log Name: ApplicationSource: Microsoft-Windows-PerflibDate: 4/27/2020 3:38:19 PMEvent ID: 1023Task Category: NoneLevel: ErrorKeywords: User: SAM-NB1\SamComputer: SAM-NB1Description:Windows cannot load the extensible counter DLL...
  8. Event Viewer ID 1023

    in Windows 10 Support
    Event Viewer ID 1023: What should I do to correct this? Log Name: ApplicationSource: Microsoft-Windows-PerflibDate: 4/27/2020 3:38:19 PMEvent ID: 1023Task Category: NoneLevel: ErrorKeywords: User: SAM-NB1\SamComputer: SAM-NB1Description:Windows cannot load the extensible counter DLL...
  9. Windows 10 build 1903 event 1023 failure to load sysmain.dll

    in Windows 10 Installation and Upgrade
    Windows 10 build 1903 event 1023 failure to load sysmain.dll: Hi! Event viewer shows errors since I have installed version 1903 (a otherwise rewarding experience) of which the above mentioned puzzles me. I find two sysmain.dll on my local PC as follows C:\WINDOWS\system32\sysmain.dll...
  10. Error event 1023 source Perflib

    in Windows 10 BSOD Crashes and Debugging
    Error event 1023 source Perflib: Windows cannot load the extensible counter DLL Oracle11. The first four bytes (DWORD) of the Data section contains the Windows error code. https://answers.microsoft.com/en-us/windows/forum/all/error-event-1023-source-perflib/b6ce52a7-cfda-4171-b243-2607d2bb32d1