Corrupt Performance Counters in precheck? PowerShell saves the day

Corrupt Performance Counters in precheck? PowerShell saves the day

Anonymous
Not applicable
14,732 Views
2 Replies
Message 1 of 3

Corrupt Performance Counters in precheck? PowerShell saves the day

Anonymous
Not applicable

When installing Vault Professional Server 2018, there was one pre-check failure: rebuild performance counters

 

What worked for me in the end was to run the following commands in PowerShell:

 

PS C:\Windows\system32> cmd
Microsoft Windows [Version 6.2.9200]
(c) 2012 Microsoft Corporation. All rights reserved.

C:\Windows\system32>lodctr /R

Error: Unable to rebuild performance counter setting from system backup store, error code is 2
C:\Windows\system32>cd ..

C:\Windows>cd syswow64

C:\Windows\SysWOW64>lodctr /R

Info: Successfully rebuilt performance counter setting from system backup store
C:\Windows\SysWOW64>winmgmt.exe /RESYNCPERF

C:\Windows\SysWOW64>

 

 

Source: https://social.technet.microsoft.com/Forums/ie/en-US/9b01e1a6-d872-4f28-9280-f35d6ca02a9f/lodctr-r-e...

 

My Setup:

  • Vault Professional Server 2018
  • Windows Server 2012 R2
  • SQL 2014 SP2

 

HTH someone out there.

Accepted solutions (1)
14,733 Views
2 Replies
Replies (2)
Message 2 of 3

Jason.Courtemanche
Collaborator
Collaborator
Accepted solution

Hi @Anonymous,

 

Thank you for sharing, running these commands definitely faster than reinstalling windows or restoring from save point. 

 

Regards,
Jason

Message 3 of 3

Anonymous
Not applicable

I created an account just to like your post and thank you.  Thank you very much for sharing this.  If only Microsoft's reps gave responses as helpful as yours...

0 Likes