Manually rebuild performance counters - Windows Server | Microsoft Docs
Rebuild all performance counters including extensible and third-party counters
To rebuild all performance counters including extensible and third-party counters, type the following commands at an Administrative command prompt. Press ENTER after each command.
-
Rebuild the counters:
ConsoleCopy
cd c:\windows\system32 lodctr /R cd c:\windows\sysWOW64 lodctr /R
-
Resync the counters with Windows Management Instrumentation (WMI):
ConsoleCopy
WINMGMT.EXE /RESYNCPERF
-
Stop and restart the Performance Logs and Alerts service.
PowerShellCopy
Get-Service -Name "pla" | Restart-Service -Verbose
-
Stop and restart the Windows Management Instrumentation service.
PowerShellCopy
Get-Service -Name "winmgmt" | Restart-Service -Force -Verbose
-
Create a new Data Collector Set (don't use an existing Data Collector Set).