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.

To manually set the increment for the counter registry key

  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.

See Also

Concepts

Preparing to Install SQL Server 2005
How to: View SQL Server 2005 Setup Log Files

Help and Information

Getting SQL Server 2005 Assistance
Tags :


Community Content

Thomas Lee
Missing step in help
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 : contentbug sql

Thomas Lee
Step 2 - typo
Note that there is a typo in step 2.
LastHelp should be Last Help (with a space)
Tags : contentbug

Page view tracker