none
Error ID 2001 - Source : Usbperf Unable to read the "First Counter" value under the usbperf\Performance Key Windows 2012 R2 RRS feed

  • Question

  • Hi All,

    Recently we built a physical Windows 2012 R2 server, since last month we see repeated number of Error Events in Application Log :

    Error ID 2001 - Source : Usbperf

    Unable to read the "First Counter" value under the usbperf\Performance Key. Status codes returned in data.

    On running Perfmon the usbperf counter is missing from it

    We already tried lodctr /r for System32 and SysWOW64 to rebuild the counters but still errors are getting generated.

    Could you please let me know what else could be done to troubleshoot this error?

    I already went through and tried rebuilding the counters 

    https://social.technet.microsoft.com/Forums/windows/en-US/eff5eeb6-e173-446e-9c79-841918087274/perflib-event-id-1008-1001-1023-2001-on-net-asp-bits-dns-esent-usbperf?forum=winservergen

    Thanks



    • Edited by Diaz130 Friday, January 30, 2015 7:17 AM
    Friday, January 30, 2015 7:13 AM

Answers

  • Hi All,

    I disabled the counter usbperf with help of Exctrlst.exe, i hope someone with similar issue could use this as workaround until a defenitive solution is found.

    • Marked as answer by Diaz130 Saturday, January 31, 2015 4:42 AM
    Saturday, January 31, 2015 4:42 AM

All replies

  • Hi All,

    I disabled the counter usbperf with help of Exctrlst.exe, i hope someone with similar issue could use this as workaround until a defenitive solution is found.

    • Marked as answer by Diaz130 Saturday, January 31, 2015 4:42 AM
    Saturday, January 31, 2015 4:42 AM
  • and what am I supposed to do with exctrlst.exe...it doesn't run in windows gui or at the command prompt not a recognised command
    Tuesday, July 19, 2016 7:36 PM
  • I am having the same issue with no luck.
    Friday, January 13, 2017 11:12 AM
  • Did you ever find a solution to this issue? I'm having this same problem on a newly built Windows 2012 R2 server. 

    I did what this technet article (LINK) suggested but it did not fix the problem for me. I also tried rebuild the performance counters by running lodctr /r but no luck either.

    Tuesday, May 9, 2017 7:17 PM
  • Hi,

    Pls try with:

    https://support.microsoft.com/sr-latn-rs/help/2554336/how-to-manually-rebuild-performance-counters-for-windows-server-2008-64bit-or-windows-server-2008-r2-systems.

    It worked for me on 2012R2.

    • Dir C:\Windows\winsxs\amd64_microsoft-windows-usbperf* -->You will see 3 folders
    • Try installing the usbperf.ini from each folder using: "Lodctr usbperf.ini"
    • When it is successful, you will see the following entry in the application log.

          Log Name: Application
          Source: Microsoft-Windows-LoadPerf
          Event ID: 1000
          Level: Information
          Description:
          Performance counters for the ..... service were loaded successfully. ....

    • REBOOT

    For me, it is successful in last (3rd) folder.



    • Edited by Tuan CAO H Thursday, June 8, 2017 7:30 AM
    • Proposed as answer by mth11htm Thursday, July 6, 2017 3:15 PM
    Thursday, June 1, 2017 8:20 AM
  • Thanks this fix worked for me!
    Thursday, June 8, 2017 2:00 PM
  • Tuan CAO H's suggestion worked for me as well, on the third folder just as s/he experienced.
    Tuesday, June 20, 2017 3:06 PM
  • This worked for me too. The link provides some registry hacks that did not exist on Server 2012 R2 but the WINMGMT.EXE /RESYNCPERF command appears to have solved everything.  Disabling the counters is not a valid solution, especially when they may be needed.


    • Edited by mth11htm Thursday, July 6, 2017 3:17 PM
    Thursday, July 6, 2017 3:17 PM
  • Tuan's solution worked for me too! In my case I only had two directories and it was the second one that fixed it.   It looks like I didn't even need to reboot. The events (which had been popping up every 30 seconds or so) stopped as soon as I ran the lodctr command in the second directory.
    Monday, October 30, 2017 9:08 PM
  • Hi,

    Pls try with:

    https://support.microsoft.com/sr-latn-rs/help/2554336/how-to-manually-rebuild-performance-counters-for-windows-server-2008-64bit-or-windows-server-2008-r2-systems.

    It worked for me on 2012R2.

    • Dir C:\Windows\winsxs\amd64_microsoft-windows-usbperf* -->You will see 3 folders
    • Try installing the usbperf.ini from each folder using: "Lodctr usbperf.ini"
    • When it is successful, you will see the following entry in the application log.

          Log Name: Application
          Source: Microsoft-Windows-LoadPerf
          Event ID: 1000
          Level: Information
          Description:
          Performance counters for the ..... service were loaded successfully. ....

    • REBOOT

    For me, it is successful in last (3rd) folder.



    I can confirm this is working on 2016. There is only 2 folders though!

    KL_Dane

    • Proposed as answer by CVJuliato Tuesday, March 5, 2019 10:39 AM
    • Unproposed as answer by CVJuliato Tuesday, March 5, 2019 10:39 AM
    • Proposed as answer by Azizmod23 Tuesday, July 9, 2019 3:07 PM
    Friday, January 5, 2018 10:24 AM
  • Worked on a 2012 machine that was throwing the error.  Did not need to reboot.  Thank you
    Friday, April 27, 2018 12:35 PM
  • Thank you.

    I had a same troubles and solved through this article.



    • Edited by R.Film Wednesday, May 30, 2018 12:51 AM
    Wednesday, May 30, 2018 12:45 AM
  • Only two folders here. And took a combination of this thread and this one to sort it out.

    In my case, this didn't work

    lodctr .409\usbperf.ini

    I had to navigate to the \Inf\usbhub directory and do it like this

    lodctr .\0000\usbperf.ini

    or presumably 

    lodctr .\0409\usbperf.ini

    I guess this is because usbperfsym.h is in the parent directory so you have execute the lodctr command there and reference down to the ini? Finicky

    Monday, August 20, 2018 9:21 PM
  • Tuan CAO H is the man. This worked for me too!
    Tuesday, November 13, 2018 3:59 PM
  • Oi

    Pls tente com:

    https://support.microsoft.com/sr-latn-rs/help/2554336/how-to-manually-rebuild-performance-counters-for-windows-server-2008-64bit-or-windows-server-2008-r2-systems.

    Funcionou para mim em 2012R2.

    • Dir C: \ Windows \ winsxs \ amd64_microsoft-windows-usbperf * -> Você verá 3 pastas
    • Tente instalar o usbperf.ini de cada pasta usando: "Lodctr usbperf.ini"
    • Quando tiver êxito, você verá a seguinte entrada no log do aplicativo.

          Nome de logon:
          Fonte do aplicativo : Microsoft-Windows-LoadPerf
          IDENTIFICAÇÃO de evento: 1000
          Nível: informações
          Descrição:
          Os contadores de desempenho para o serviço ..... foram carregados com êxito. ....

    • REINICIALIZAR

    Para mim, é bem sucedido na última (terceira) pasta.



    When I click on '' Lodctr usbperf.ini '' it opens and closes instantly, I am getting the errors:
    id 2001
    id3007
    id3007

    Use Windows 7 Ultimate 64-bit
    Tuesday, March 5, 2019 10:38 AM
  • Oi

    Pls tente com:

    https://support.microsoft.com/sr-latn-rs/help/2554336/how-to-manually-rebuild-performance-counters-for-windows-server-2008-64bit-or-windows-server-2008-r2-systems.

    Funcionou para mim em 2012R2.

    • Dir C: \ Windows \ winsxs \ amd64_microsoft-windows-usbperf * -> Você verá 3 pastas
    • Tente instalar o usbperf.ini de cada pasta usando: "Lodctr usbperf.ini"
    • Quando tiver êxito, você verá a seguinte entrada no log do aplicativo.

          Nome de logon:
          Fonte do aplicativo : Microsoft-Windows-LoadPerf
          IDENTIFICAÇÃO de evento: 1000
          Nível: informações
          Descrição:
          Os contadores de desempenho para o serviço ..... foram carregados com êxito. ....

    • REINICIALIZAR

    Para mim, é bem sucedido na última (terceira) pasta.



    Eu posso confirmar que isso está funcionando em 2016. Há apenas duas pastas!

    KL_Dane

    When I click on '' Lodctr usbperf.ini '' it opens and closes instantly, I am getting the errors:
    id 2001
    id3007
    id3007

    Use Windows 7 Ultimate 64-bit
    Tuesday, March 5, 2019 10:39 AM
  • By this you get faults in sfc scan !
    Tuesday, July 9, 2019 5:27 PM
  • For anyone who needs a click solution, I pulled everything into a simple CMD file:

    echo off
    echo Must be run as an administrator
    
    %SystemDrive%
    cd %windir%
    
    Rem Rebuild all counters
    cd .\system32
    lodctr /R
    cd ..
    cd .\sysWOW64
    lodctr /R
    cd ..
    
    WINMGMT.EXE /RESYNCPERF
    pause Cntrl-C to stop here, otherwise press any key to continue.
    
    Rem Try restarting the services
    Net Stop  "Performance Logs and Alerts"
    Net Start "Performance Logs and Alerts"
    Net Stop  "Windows Management Instrumentation"
    Net Start "Windows Management Instrumentation"
    pause Cntrl-C to stop here, otherwise press any key to continue.
    
    Rem Try reloading the counters
    cd .\Inf\usbhub
    lodctr .\0409\usbperf.ini
    cd ..
    pause Next, check the results
    
    lodctr /q | find "["
    
    pause
    

    • Proposed as answer by DBalsillie Thursday, July 11, 2019 7:42 PM
    Thursday, July 11, 2019 7:41 PM