Rebuild missing perfmon counters

How to rebuild the perfmon counters if some of them are missing?

We use perfmon counters to fetch data to monitor the Microsoft applications like IIS, SQL etc. In cases where the user finds no data collection or some of the metrics missing, it might be related to some of the perfmon counters missing. 

To rebuild the perfmon counters, please follow the below steps:
  1. Open a command prompt as an administrator and execute the below commands one by one:
    cd c:\Windows\System32
    lodctr /R
    cd c:\Windows\SysWOW64
    lodctr /R
  2. Execute the below commands to stop and start the Performance Logs and Alerts service:
    net stop pla && net start pla
  3. Restart the "Site24x7 Windows Agent" Windows service and check the status of the applications to be monitored
Note: Check with your System Administrator and take approval for executing the above commands as the performance counters will be recreated

Related Help Documentation: Add a Microsoft Application