Microsoft KB Archive/220940

= How to Enable Diagnostic Event Logging for Active Directory Services =

PSS ID Number: 220940

Article Last Modified on 11/13/2003

-

The information in this article applies to:


 * Microsoft Windows 2000 Server
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Datacenter Server

-



This article was previously published under Q220940



IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry



SUMMARY
You can enable enhanced event logging for certain Windows 2000 services. This may be useful for debugging purposes. This logging is set to disabled by default because the amount of data that can be logged can quickly fill the event log.



MORE INFORMATION
WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

You may want to enable enhanced event logging if an Active Directory server is experiencing problems related to any of the following services:


 * Knowledge Consistency Checker (KCC)
 * Performance Counters
 * Inialization/Termination
 * Service Control
 * Name Resolution
 * Backup
 * Field Engineering
 * LDAP Interface Events
 * Setup
 * Global Catalog
 * Inter-site Messaging
 * Security Events
 * ExDS Interface Events
 * MAPI Interface Events
 * Replication Events
 * Garbage Collection
 * Internal Configuration
 * Directory Access
 * Internal Processing

To enable event logging, use Registry Editor to change the following key:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NTDS\Diagnostics

Valid parameters are:
 * 0=None (default)
 * 1=Minimum
 * 3=Medium
 * 5=Maximum

Keywords: kbhowto KB220940

Technology: kbwin2000AdvServ kbwin2000AdvServSearch kbwin2000DataServ kbwin2000DataServSearch kbwin2000Search kbwin2000Serv kbwin2000ServSearch kbWinAdvServSearch kbWinDataServSearch

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© 2004 Microsoft Corporation. All rights reserved.