How do I rebuild the performance counters on Windows 10 when i have corrupt performance data?

Print article Email to friend
0.00

How do I rebuild the performance counters on Windows 10?

There are occasions when you will wisgh to rebuild the performance counters in Windows 10. e.g. if you get the error in your event viewer:
The required buffer size is greater than the buffer size passed to the Collect function of the "C:WindowsSystem32perfts.dll" Extensible Counter DLL for the "LSM" service. The given buffer size was 20488 and the required size was 41320.

To rebuild the counters, open a cmd prompt as administrator and type the following (Making sure that the R is a capital, not lower case.):-

lodctr /R

If you get an answer of:
Info: Successfully rebuilt performance counter setting from system backup store then everything is ok...if you get

Error: Unable to rebuild performance counter setting from system backup store, error code is 2

Then you could try the following
  • Close all running programs
  • Make sure you use lodctr /R with uppercase R
  • If in directory system32 move to directory SysWOW64 (with cd.. > cd syswow64) and retry the lodctr /R command in this directory

 

How do I rebuild the performance counters on Windows 10 when i have corrupt performance data?

How do I rebuild the performance counters on Windows 10?

There are occasions when you will wisgh to rebuild the performance counters in Windows 10. e.g. if you get the error in your event viewer:
The required buffer size is greater than the buffer size passed to the Collect function of the "C:WindowsSystem32perfts.dll" Extensible Counter DLL for the "LSM" service. The given buffer size was 20488 and the required size was 41320.

To rebuild the counters, open a cmd prompt as administrator and type the following (Making sure that the R is a capital, not lower case.):-

lodctr /R

If you get an answer of:
Info: Successfully rebuilt performance counter setting from system backup store then everything is ok...if you get

Error: Unable to rebuild performance counter setting from system backup store, error code is 2

Then you could try the following
  • Close all running programs
  • Make sure you use lodctr /R with uppercase R
  • If in directory system32 move to directory SysWOW64 (with cd.. > cd syswow64) and retry the lodctr /R command in this directory