Showing posts with label Performance counter registry hive consistency check has the status FAILED. Show all posts
Showing posts with label Performance counter registry hive consistency check has the status FAILED. Show all posts

Thursday, February 18, 2010

Performance counter registry hive consistency check has the status FAILED

While installing MS SQL Server 2008 r2 on windows 7, i got an error on one of the systemchecks:
  • Performance counter registry hive consistency check has the status FAILED
To fix it, i did the following:

Put this in any Console application:
  • string.Format("{0,3}", CultureInfo.InstalledUICulture.Parent.LCID.ToString("X")).Replace(" ", "0");
The write down the result. i.e. "016".

Go to the registry at this key:
  • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Perflib
Add the found value as entry. In this example:
  • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Perflib\016
Then copy the key's form the original entry to the new on.

Restart the setup, and you are ready to go!

http://social.msdn.microsoft.com/Forums/en-US/sqlsetupandupgrade/thread/dddf0349-557b-48c7-bf82-6bd1adb5c694?prof=required