Problem with PerfMonCounterNotCorruptedCheck failuare when installing SQL Server 2008 R2 on Windows 7 64-bits
As usual when you install SQL Server on a new computer locally must be prepared forproblems. So even this time when I would install. The installer complained that PerfMonCounterNotCorruptedCheck failed. This means in other words, you need to rebuild the hive about counter performance.
Solution from Microsoft:
The performance counter registry hive is corrupted. To continue, you must repair the performance counter registry hive. For more information, see http://support.microsoft.com/kb/300956.
Not a great start of the day!
Well after some reading in the documentation (yes you need one) for the installation I found out about this command that you can run via Cmd as workaround:
It’s not a pretty workaround (sorry!), but it works. Hopefully it might help someone else and save a few minutes from not having to look through the documentation.