Load PerfMon performance counters (update registry values).

      LODCTR option


      An initialization file that contains  the counter name definitions and
      explain text for an extensible counter DLL.

      Save the current perf registry strings and info to Backup-FileName

      Restore the perf registry strings and info using Backup-FileName

      Rebuild the perf registry strings and info from scratch based on the current 
      registry settings and backup INI files.
      Often required if Perfmon crashes, or the server is rebooted while perfmon is running.

      Set the performance counter service as trusted.

      Enable the performance counter service.

      Disable the performance counter service.

      Query all performance counter service information

      Query specific performance counter service information.

      Install Windows Vista performance counter provider definition XML file to system repository.

Any arguments with spaces in the names must be enclosed within "Double Quotation" marks.


Rebuild the performance counters:

C:\> lodctr /r

“People count up the faults of those who keep them waiting” ~ French Proverb

Related commands:

LOGMAN - Manage Performance Monitor logs.
Equivalent PowerShell: New-Object System.Diagnostics.PerformanceCounter.

Copyright © 1999-2021 SS64.com
Some rights reserved