We were facing this issue in one of the Windows 2008 R2 x64 server and this server is the main Databse server in ERP farm ( MS Dynamics AX is the ERP product)
Ok, Just imagine the pressure from Application and DBA team to solve this issue because they cannot monitor the performance of database and other counters.
The following error occurred while loading performance monitor
Unable to add these counters:
\Memory\% Committed Bytes In Use
\PhysicalDisk(*)\Avg. Disk Queue Length
\Network Interface(*)\Bytes Total/sec”
Te issue was perfmon Counters were corrupted, and have to rebuild these with LODCTR from command prompt. (Run As Administrator)
Open Command Prompt , type lodctr /r and press ENTER. This will repair the pointers
You have to check is there any providers are disabled. You can check the status with lodctr /q.
[Windows SharePoint Services Performance Monitoring] Performance Counters (Enabled)
DLL Name: C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\BIN\onetnative.dllOpen Procedure: OpenPerformanceData
Collect Procedure: CollectPerformanceData
Close Procedure: ClosePerformanceData
First Counter ID: 0x00002A0E (10766)
Last Counter ID: 0x00002A12 (10770)
First Help ID: 0x00002A0F (10767)
Last Help ID: 0x00002A13 (10771)
If it says (Disabled) next to a provider, you can enable it with lodctr/e:<provider name>.
Then try to open perfmon from run it will work and there is no error
Thanks to Rafeeq who is my great colleague helped us to resolve this problem.