none
missing perfomance counter RRS feed

  • Question

  • I have an exchange 2013 on a windows 2012 R2

    I've notice now that exchange perfomance monitor are missing , from perfmon I can see only many other counter  like antigen and all other related to windows, IIS and other, but no one specific for exchange.

    Why? Is there a specific task to enable and register them under windows?


    alex

    Thursday, May 21, 2020 2:57 PM

All replies

  • I've notice now that exchange perfomance monitor are missing , from perfmon I can see only many other counter  like antigen and all other related to windows, IIS and other, but no one specific for exchange.

     Hi Alex,

    Do you mean the Exchange related counters are missing in the Performance Monitor?

    Is there any error message when you open PerfMon?
    Have you checked to see if there are any relevant events in Event Viewer?

    Considering that the counters might be disabled via registry settings, please check the registry locations below to confirm that the missing counters are not disabled:
    (Important: Follow the steps in this section carefully. Serious problems might occur if you modify the registry incorrectly. Before you modify it, back up the registry for restoration in case problems occur.)  

    • HKLM\System\CurrentControlSet\Services\%servicename%\Performance  
      (%servicename% represents any service with a performance counter. For example: MSExchange Active Manager, MSExchange AD Performance, etc.)

    If there are registry keys for "DisablePerformanceCounters" with a value other than0, then counter may be disabled and you would need to change the value to 0 to re-enable it. For more details, you may refer to: Disable Performance Counters.

    Once you have verified the counters are not disabled by registry settings, please try rebuilding all performance counters and see the result:
    1. Close Performance Monitor, and then stop any other monitoring services that might be trying to use the missing counters.
    2. Type the following commands at an Administrator command prompt. Press Enter after each line:

    cd c:\windows\system32
    lodctr /R
    cd c:\windows\sysWOW64
    lodctr /R
    WINMGMT.EXE /RESYNCPERF

    3. Restart the services below:
        • Performance Logs & Alerts (pla)
        • Windows Management Instrumentation(Winmgmt)
    4. Create a new Data Collector Set.
    Reference: https://support.microsoft.com/en-us/help/2554336

    Hope this can be helpful.

    Regards, 

    Yuki Sun


    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnsf@microsoft.com.


    Friday, May 22, 2020 7:05 AM
  • I've checked the registry, and there are no DisablePerformanceCounters Keys

    II've run then command as suggested:

    and I get an error:

    c:\Windows\System32>lodctr /R

    Error: Unable to rebuild performance counter setting from system backup store, e
    rror code is 2

    then  

    c:\Windows\System32>cd c:\windows\sysWOW64

    c:\Windows\SysWOW64>lodctr /R

    Info: Successfully rebuilt performance counter setting from system backup store
    c:\Windows\SysWOW64>WINMGMT.EXE /RESYNCPERF

    restart the 2 services

    Now I can see only this counter where the name start with MSExchange

    MSExchangeTransport_ExtensibilityAgents
    MSExchangeResourceLoad
    MSExchange Hygiene...(many..)


    alex

    Friday, May 22, 2020 12:09 PM
  • I've rerun the command that finished without error... but still only 2 items as MXEcahge...

    alex

    Saturday, May 23, 2020 8:38 AM
  • now many other counter has gone. For example web service disappears, I cannot found it on the perfomance monitor when I try to add.. but a Datto agent is still recording data from this counter

    alex

    Saturday, May 23, 2020 12:38 PM