The registry key that is discussed in this article should be applied only to domain controllers (DCs) that are experiencing the issue that is described in the "Symptoms" section. This issue is likely to occur on Windows Server 2012 and Windows Server 2012 R2 DCs. By following the recommendations that are given here, you may decrease Active Directory replication performance but increase the reliability of correctly processing the deletion of such large objects.
The following conditions are the key indicators that this solution applies to the issue:
- The forest functional level is Windows Server 2003 or later version of Windows Server.
- Event 2094 (replication delay) occurs several times, referencing the same deleted object.
- Event 1083 (Write conflict) occurs around the same time the 2094 event referencing the same deleted object.
- The affected domain controller (DC) may also report that the version store is exhausted (Event ID 623). Exhaustion of version store does not always occur in this scenario. Other factors that increase the likelihood of version store exhaustion include a high rate of changes to Active Directory objects, both local and replicated, as well as other long running operations such as deep queries.
Event log entriesWhen the issue occurs, the following events are logged:
During this time, users may see write conflicts and transaction failure events. Also, as additional objects are processed by replication, more and more version store is allocated because the pending large transaction does not release its allocated versions store until the deletion transaction is finished. This can cause version store errors and replication warnings events.
- Garbage collection is not related to the processing of group membership link deletions.
- The legacy value for Links process batch size is 1,000 in versions before Windows Server 2008 R2. In later versions, the batch size is increased to 10,000 to improve the performance of undeleting in forests that have the Recycle Bin enabled.
Active Directory services check for the following registry key.
For AD DS:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NTDS\Parameters\Links process batch size
For AD LDS:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\<adam instance>\Parameters\Links process batch size
Min Value: 1000
Max Value: 10000
This value overrides the default value of 10,000 as the number of atomic links to process at one time. After each atomic operation, the corresponding version store is released. The version store is reacquired only during the next atomic operation that continues to process the same object.
ID do Artigo: 3149779 - Última Revisão: 27/01/2017 - Revisão: 2