• written by mnelson999   26 March 2013 13:12:38   13638 views   3 likes

    Fixing Windows Performance Counters

    Some users have resolved SPM related performance counter issues by running this Microsoft Windows command as Administrator: "Lodctr /R" (the R is uppercase).

    This will rebuild the Windows Performance Counters if they are corrupted somehow.
    See these Microsoft KB's for more detail:

    Steps to run the command "Lodctr /R":
    You'll need a DOS prompt with elevated privileges (even above the normal Admin):

    1) Start Menu/All Programs/Accessories, right click on "Command Prompt" and select "Run as administrator".

    2) At the command prompt, type in "Lodctr /R" and hit Enter. (Please note that the R is uppercase)
     cd c:\windows\system32
     lodctr /R
     cd c:\windows\sysWOW64
     lodctr /R

    3) This command may take several moments to complete, and if successful should display something like:
     Info: Successfully rebuilt performance counter setting from system backup store

    4) Resyncing the counters with Windows Management Instrumentation (WMI):
     Stop and restart the Performance Logs and Alerts service.
     Stop and restart the Windows Management Instrumentation service.

    5) In some cases, restarting your computer is necessary to complete this process.