How to rebuild Performance Counter in windows server if it is corrupted
To rebuild the performance counter open command prompt with admin privilege and run below command.
cd c:\windows\system32
lodctr /R //Restores perf registry strings & info using file name provided
cd c:\windows\syswow64
lodctr /R //Restores perf registry strings & info using file name provided
Winmgmt.exe /resyncperf //Registers the system performance libraries with WMI.
Wmiadap.exe /resyncperf
Note: Text after // treat as comments