Performance Counters Missing

We’ve been running SQL Server 2000 x86 on Windows Server 2003 R2 x64 for some time. While there have been a few issues here and there, monitoring SQL related counters can be troublesome whether you are local or remote.

If you are local to the server when you open up performance monitor you will receive the x64 counters and this won’t help you since your SQL Server is x86. For the 32 bit version just use %SystemRoot%\SysWow64\Perfmon.exe.

If you are remote then you’ll need to make some registry modifications on the server that you are monitoring. You’ll need to modify 2 registry entries to read SysWow64 instead of System32:

“ImagePath”=”%SystemRoot%\SysWow64\svchost.exe -k regsvc”

Restart the Remote Registry Service and you should be good to go now.

(Maybe you couldn’t run SQL 2000 under a x64 bit OS at the time of this writing)