Correcting Corrupted Performance Counters

Written by on Saturday, March 1, 2008 6:28 - 0 Comments

The performance log can sometimes become corrupted on a Windows Server. This is how you correct it.

More often than not, the performance tool is only used on a Windows 2003 Server when something is going wrong. This being the case, if the performance tool becomes corrupted you usually don’t know it until you really need it to work.

The most common way you can tell if your performance counter values are corrupted is that when you attempt to view then, they all show up as random numbers rather than their actual names. Luckily, the process used to restore these performance counters is pretty painless.

These counters are stored on your local system under the %systemroot%System32 directory in two files named Perfc009.dat and Perfh009.dat. These files must be retrieved in their original form off of the Windows Server installation CD-ROM. They are there, in compressed form, under the I386 directory, listed as Perfc009.da_ and Perfh009.da_.

Once you have done this, some registry work must be done. Start the registry editor and browse to HKLMSoftwareMicrosoftWindows NTCurrentVersionPerflib. Change the LastCounter value to 1846 and the LastHelp value to 1847. Next, browse to HKLMSystemCurrentControlSetServices and find the Performance subkey and delete the FirstCounter, FirstHelp, LastCounter, and LastHelp values if they exist.

After this is done, open a command prompt and browse to the System32 directory. Type findstr drivername *.ini and hit enter. Write down the list of ini files display and then type lodctr inifilename for each file listed. Restart your computer.

The last step in this process after the restart is complete is to open a command prompt, browse to the system32 directory, and type lodctr /r.

Okay…maybe not entirely painless…but it will definitely do the trick! ')}

Article written by

Leave a Reply

You must be logged in to post a comment.

2003 server - Sep 30, 2008 22:34 - 0 Comments

instant messaging srv records

More In Computers & PC

Microsoft Outlook - Mar 22, 2009 11:22 - 0 Comments

Outlook: Duplicates in Mailbox

More In Computers & PC