Submit a ticketCall us

Get a crash course on Network Monitoring delivered right to your inbox
This free 7-day email course provides a primer to the philosophy, theory, and fundamental concepts involved in IT monitoring. Lessons will explain not only how to perform various monitoring tasks, but why and when you should use them. Sign up now.

Home > Success Center > Server & Application Monitor (SAM) > Performance counters are not working or missing in PerfMon

Performance counters are not working or missing in PerfMon

Table of contents

Updated July 20, 2017

Overview

This article describes the following issues with performance counters when they are not working properly:

  • Invalid class errors are displayed
  • WMI or PerfMon counters show as down even when they are up

Environment

All SAM version on Windows Server 2003 and later

Steps

Rebuild the performance counters:

  1. Open a command prompt as an administrator on the target server and enter the following commands:
    • cd %windir%\system32\
    • lodctr /R
    • cd %windir%\sysWOW64\
    • lodctr /R
      Note: These commands will re-synchronize the counters and does not have an effect on the performance of the machine.
  2. Open regedit and go the following registry key:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\PerfProc\Performance
  3. Search for Disable Performance Counters and make sure that the value is not 1. You can either change the value to 0 or delete the entry.
    Note: Create a backup of the entry and contact your system administrator before making changes to the registry.
  4. Restart the Windows Management Instrumentation service.
  5. Restart all Orion services.

 

If the above procedure fails, manually rebuild the performance counter values (© Microsoft, available at https://support.microsoft.com/, obtained on July 19, 2017.), and then reboot your machine.

Follow the instructions in this THWACK post if you are working with a Cold Fusion server.
If these procedures fail, please contact Microsoft in order to resolve the issue with the server.  

 

Disclaimer: Please note, any content posted herein is provided as a suggestion or recommendation to you for your internal use. This is not part of the SolarWinds software or documentation that you purchased from SolarWinds, and the information set forth herein may come from third parties. Your organization should internally review and assess to what extent, if any, such custom scripts or recommendations will be incorporated into your environment.  You elect to use third party content at your own risk, and you will be solely responsible for the incorporation of the same, if any.

Last modified
10:37, 4 Aug 2017

Tags

Classifications

Public