Click to Rate and Give Feedback
MSDN
MSDN Library
SQL Server
SQL Server 2005
 How to: Increment the Counter Regis...

  Switch on low bandwidth view
Community Content
In this section
Statistics Annotations (0)
SQL Server 2005 Books Online (November 2008)
How to: Increment the Counter Registry Key for Setup in SQL Server 2005

Setup Configuration Checker (SCC) in Microsoft SQL Server Setup verifies the value of the counter registry key before SQL Server installation begins. If SCC cannot verify the existing registry key, or if SCC cannot run the lodctr.exe system program, the SCC check will fail, and Setup will be blocked.

Incorrectly editing the registry can severely damage your system. Before making changes to the registry, we recommend that you back up any valued data on the computer.

  1. On the Microsoft Windows 2003 or Windows XP desktop, click Start, click Run, type regedit.exe in Open, and then click OK. On Windows 2000, use regedt32.exe The Registry Editor launches.

  2. Navigate to the following registry key:

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Perflib]

    "Last Counter"=dword:00000ed4 (5276)

    "LastHelp"=dword:00000ed5 (5277)

  3. The "Last Counter" value from the previous step (5276) must match the maximum value of the "Counter" key from "Perflib\009" in the following registry key, and the "Last Help" value from the previous step (5277) must match the maximum value of the "Help" key from "Perflib\009" in the following registry key:

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Perflib\009]

    Note that 009 is an example from the English language. The "Last Counter" and "Last Help" values are dynamically assigned by Windows; they will vary from machine to machine.

  4. If necessary, modify the value for the "Last Counter" and "Last Help" values in the "\Perflib" key: right-click Last Counter or Last Help in the right-hand pane, click Modify, click Base = "Decimal," set the value in Value data, and then click OK. Repeat for the other key, if necessary, and then close the Registry Editor.

  5. Run SQL Server Setup again.

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Missing step in help      cha999   |   Edit   |   Show History
The above instructions are incomplete. Additional step after you have opened registry (after 3.)
- Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Perflib\009
- Double click "Counter"
- Scroll down all the way to last line, write down the number in second last line
- Now go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Perflib
- Double click "Last Counter"
- Switch to decimal
- Type the number from earlier step

Repeat these steps for "Last Help" too.

Tags What's this?: sql (x) Add a tag
Flag as ContentBug
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker