Wednesday, February 29, 2012

Easy way to solve "Performance counter registry hive consistency check" failture

 When I tried to install a new version of SQL Server 2008 on my new desktop, I got this error "Performance counter registry hive consistency check". I tried to google it online and found there were a fair amount of different solutions. 



Most people mentioned that they got this failure because there were using windows 7 in a different language environment. However, it's not the truth. At least, my windows 7 is just out of box and was installed on a brand new work station. Anyway, I read at least five different solutions, but any of them would take some effort to follow.

Actually, there is some easier work around which can solve this problem in one sec. In my case, the reason of this failure is there is no value set under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Perflib\009

To resolve it:
1.       First backup your registry
2.       Export value from HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Perflib\CurrentLanguage

3.       Open the .reg file from editor, and change CurrentLanguage to 009









4.       Import it again

In this case, it will rebuild values for sub key 009 and solve the problem. 009 is for the English version, so you may have to make sure yours before you tried my solution. Good luck!

No comments:

Post a Comment