Steve Fenton

Unable to Rebuild Performance Counter Setting from System Backup Store

I was attempting to rebuild performance counters on a Windows Server 2012 machine, using the following command in PowerShell (with elevated rights):

lodctr /r

But kept getting the error:

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

The simple answer… running the same command in an elevated command prompt worked just fine!

If you still have a problem, you may need to re-install .NET with the version reporting problems with performance counters (usually .NET 2 has this issue).

exe -i

Then re-try the lodctr command – and you should see:

Info: Successfully rebuilt performance counter setting from system backup store

Written by Steve Fenton on