SOLVED: Cannot Load Counter Name Data Because An Invalid Index ” Was Read From The Registry

This error popped up when I was attempting to install Update Rollup 3 for Microsoft Dynamics CRM.  I had manually downloaded KB3016464 and tried to manually install it, rather than watching it error out repeatedly in Windows Update.

The answer was to:

  1. Click the START button
  2. Type CMD
  3. Right click CMD PROMPT and select RUN AS ADMIN
  4. Type LODCTR /r
  5. Wait a few seconds for it to throw ERROR: UNABLE TO REBUILD PERFORMANCE COUNTER SETTING FROM SYSTEM BACKUP STORE. ERROR CODE IS 2
  6. Type LODCTR /r (yes, do it again 🙂 )
  7. This time it will run successfully
  8. Run Windows Update and try the install patch that was causing you problems again or manually try to run the update again
  9. Have a nice day.

In case you are wondering LODCTR updates the performance counters which are stored in the registry and can be corrupted.  As you might have guessed, LODCTR /R causes a Rebuild of those counters.

For more details type LODCTR /? into a CMD prompt and press ENTER.

View Comments

  • Thanks for posting this up, I was not sure it was related as I was install a video management program that was barking this error. (Milestone Xprotect 2016)
    The first time the command was run barked an error, ran the command again, and it completed successfully. The program now installs without error. Again Thanks for posting this!

Published by
Ian Matthews

This website uses cookies.