Topic Last Modified: 2005-11-18

The Microsoft® Exchange Server Analyzer Tool queries the Win32_PerfRawData_SMTPSVC_SMTPServer Microsoft Windows® Management Instrumentation (WMI) class to determine the value for the CatCategorizationsfailedDSlogonfailure key. The value of this key represents the number of categorizations that failed because of a directory service logon failure. The Exchange Server Analyzer also queries the Win32_PerfRawData_PerfOS_System WMI key to determine the value for SystemUpTime.

If the Exchange Server Analyzer determines the value for the SystemUpTime key is more than 0 and that the result of the value for CatCategorizationsfailedDSlogonfailure divided by the value for SystemUpTime is more than 50, a warning is displayed.

The message categorizer examines messages that come to an SMTP server and determines what to do with the messages. The messages may be destined for the local information store, a remote host by using the message transfer agent (MTA), or the messages may be destined for a remote host by using SMTP. The categorizer also handles distribution list expansion. The categorizer is a plug-in to the advanced queuing engine that performs Lightweight Directory Access Protocol (LDAP) queries against global catalog servers on TCP port 3268. The categorizer is essentially a collection of event sinks that perform advanced address resolution on every message that travels through the advanced queuing engine. It performs address resolution, mail forwarding, sets content conversion flags, expands distribution lists, enforces global settings, generates delivery status notifications, and it performs alternate recipient route detection, bifurcation, journaling, and many other functions.

As soon as a message enters the message categorizer, the categorizer resolves the envelope sender by searching for the address in the proxy address attributes in the Active Directory® directory service. The categorizer also resolves the envelope recipient by searching for each address in the proxy addresses attribute in Active Directory. For example, if the list includes a distribution list, it expands the list to include those members if distribution list expansion is allowed on the server.

This warning indicates that an average of 50 or more directory service connection attempts made by the message categorizer are failing each day because of logon failures. There are a variety of causes for this, including problems with directory service access (DSAccess), directory replication latency or failures, overloaded global catalog servers, and problems with DNS.

This article contains information about editing the registry. Before you edit the registry, make sure you understand how to restore the registry if a problem occurs. For information about how to restore the registry, view the "Restore the Registry" Help topic in Regedit.exe or Regedt32.exe.

To correct this warning

  1. Check the event logs on the Exchange Server computer for errors.

  2. If you do not find any events that enable you to resolve the problem, consider turning up diagnostic logging on the MSExchangeTransport Categorizer to Maximum. As soon as diagnostic logging is enabled, re-check the event log for errors. If configuring diagnostic logging to maximum does not produce any event log entries, configure diagnostic logging to level 7 by using the registry. When set to level 7, Event ID 9000 generated by the message categorizer will be logged, which details the function, the reason for failure, the name of the recipient that failed, and the type of recipient. To set diagnostic logging to level 7:

    1. Open a registry editor, such as Regedit.exe or Regedt32.exe

    2. Navigate to:


    3. In the right-hand pane, double-click 2 Categorizer and set the value data to 7 and click OK.

    4. Close the registry editor.

      When you have completed troubleshooting, reset the value data for 2 Categorizer back to 0.
  3. Verify that the Exchange Server has connectivity to one or more global catalog servers. The Network Monitor tool in Windows is very useful for this.

  4. Examine any delivery status notification (DSN) messages that are being generated. DSNs, which can include non-delivery reports (NDRs), describe permanent failure messages and transient failure messages that frequently end as permanent delivery errors.

  5. Use Message Tracking to troubleshoot messages that are stuck in the categorizer.

  6. Use the Archive Sink tool to archive and analyze messages coming into and moving out of Exchange Server.

  7. Monitor the categorizer performance counters using System Monitor.

For a listing of the DSNs and NDRs generated by Exchange Server and Microsoft Windows Small Business Server, see the Microsoft Knowledge Base article 284204, "Delivery status notifications in Exchange Server and in Small Business Server" (

For information about using the Message Tracking Center in Exchange Server, see the following Knowledge Base articles:

For more information about troubleshooting message categorizer issues, see the Microsoft Support WebCast, "Exchange 2000 Server: Message Categorizer and NDR Troubleshooting" (

For more information about the Archive Sink tool, see Microsoft Knowledge Base article 307798, "The Archive Sink utility is available in Service Pack 2" (

For general information about troubleshooting transport-related problems, see the following Knowledge Base articles:

The message categorizer performance counters are published separately for each SMTP virtual server instance. For a list of the available performance counters related to the message categorizer, see Microsoft Knowledge Base article 231734, "XCON: Performance Monitor Counters for Message Categorizer" (

For information about some of the other Categorizer WMI counters, see the following Exchange Server Analyzer articles