HOW TO: Reinstall IIS 4.0 Performance Monitor Counters (226512)



The information in this article applies to:

  • Microsoft Internet Information Server 4.0

This article was previously published under Q226512
We strongly recommend that all users upgrade to Microsoft Internet Information Services (IIS) version 6.0 running on Microsoft Windows Server 2003. IIS 6.0 significantly increases Web infrastructure security. For more information about IIS security-related topics, visit the following Microsoft Web site:

SUMMARY

This step-by-step article describes how to reinstall or to remove and reinstall the Microsoft Windows NT Option Pack (NTOP) Performance Monitor counters.

back to the top

Required Files

You must have three files to install Performance Monitor counters for NTOP services. One file is an .ini file that contains the installation instructions for the counters, another is an .h file that contains the symbolic and offset information for the counters, and the third file is the .dll file that maintains the counters statistics. These three files must reside in the %Windir%\System32 directory before they can be installed for use with Performance Monitor.

If the main Performance Monitor data files (Perfc009.dat and Perfh009.dat) have become corrupted, the following Microsoft Knowledge Base article describes how to correct the problem:

127207 Missing Objects and Counters in Performance Monitor

The following table provides a list of all NTOP Performance Monitor objects, their corresponding .ini, .h, and .dll files, their registry key name, and the .cab file on the NTOP compact disc where the files are located:

Object Name.ini File Name.h File Name.dll File NameServices Registry Key Name.cab File Name
Radius ServerAuthperf.iniAuthperf.hAuthperf.dllAuthSrvRasics.cab
PBServer MonitorRegsym.iniRegsym.hPbsmon.dllPBServerMonitorRasics.cab
MSMQ Exchange ConnectorCounters.iniCounters.hGwperf.dllMSEXGWMsmqocm.cab
MSMQ ServiceMqperf.iniPerfsym.hMqperf.dllMSMQMsmqocm.cab
Content IndexPerfci.iniCiperfm.hQperf.dllContentIndexIs20.cab
Content Index FilterPerffilt.iniFiltperf.hQperf.dllContentFilterIs20.cab
HTTP Content IndexPerfwci.iniPerfwci.hQperf.dllISAPISearchIs20.cab
NNTP ServerNntpctrs.iniNntpctrs.hNntpctrs.dllNNTPSVCIns.cab
SMTP ServerSmtpctrs.iniSmtpctrs.hSmtpctrs.dllSMTPSVCIms.cab
Active Server PagesAxperf.iniAxctrnm.hAspperf.dllASPIis4_03.cab
FTP ServiceFtpctrs.iniFtpctrs.hFtpctrs2.dllMSFTPSVCIis4_03.cab
Internet Information Services GlobalInfoctrs.iniInfoctrs.hInfoctrs.dllInetinfoIis4_01.cab
Web ServiceW3ctrs.iniW3ctrs.hW3ctrs.dllW3SVCIis4_01.cab

back to the top

Installation Steps

To install or reinstall Performance Monitor counters for the NTOP services, follow these steps:
  1. To install the counters for an object, the .ini, .h, and .dll files for the object must reside in the %Windir%\System32 directory. Use the table in this article to determine which .ini, .h, and .dll files you need for the object that you want to install. Determine if the .ini, .h, and .dll files are in the %Windir%\System32 directory. If they are not, you can use the latest version of WinZip to extract the files to the %Windir%\System32 directory from the appropriate .cab file on the NTOP compact disc.
  2. Open a command prompt and change to the %Windir%\System32 directory.
  3. Type the following:

    lodctr .ini file name for object to install

    If you receive the following error message:
    Counters for object name are already installed
    Unable to update the system registry
    type the following:

    unlodctr services registry key name

    and then re-type:

    lodctr .ini file name for object to install

  4. Repeat steps 1 through 3 for each object that you want to install Performance Monitor counters for.
back to the top

REFERENCES

For additional information on counters in Performance Monitor, in Windows NT, click the article numbers below to view the articles in the Microsoft Knowledge Base:

248993 PRB: Performance Object Is Not Displayed in Performance Monitor

201638 Multiple Event Viewer ID 1003 Messages from Counters

For additional information about the System Monitor tool in Windows 2000, click the article numbers below to view the articles in the Microsoft Knowledge Base:

300956 How to Manually Rebuild Performance Counter Library Values

back to the top

Modification Type:MinorLast Reviewed:6/23/2005
Keywords:kbhowto kbHOWTOmaster KB226512