How to Set the Export Block Size Registry Value
By default, the Active Directory Connector requests changes from Exchange and Active Directory in blocks of 10,000. If more than 10,000 objects are to be replicated, the Active Directory Connector requests the first 10,000 entries, processes them, and then prompts you for the next 10,000. If the Active Directory Connector communicates with directory servers over an error-prone network, it may be useful to reduce the block size. If the Active Directory Connector receives a partial block caused by a connection failure, the complete block must be replicated again.
If the Active Directory Connector is replicating over a WAN, or in an environment with low bandwidth, you should consider setting the Export Block Size registry value to lowering the block size. Reducing the block size reduces the number repeat replications caused by connection failures.
Before You Begin
Before you perform the procedure in this topic, be aware that the procedure contains information about editing the registry.
Warning
Incorrectly editing the registry can cause serious problems that may require you to reinstall your operating system. Problems resulting from editing the registry incorrectly may not be able to be resolved. Before editing the registry, back up any valuable data.
Procedure
To set the Export Block Size registry value
Open a registry editor, such as Regedit.exe or Regedt32.exe.
Navigate to HKLM\System\CurrentControlSet\Services\MSADC\Parameters.
Right-click Parameters and select New | DWORD Value.
Name the new DWORD value Export Block Size.
Double-click Export Block Size.
Set Base to Decimal.
In the Value data field, enter the number of objects to be requested in each replication block.
Click OK to save the changes.
Close the registry editor and restart the Microsoft Active Directory Connector service for the change to take effect.
For More Information
For more information, see the following Microsoft Knowledge Base articles:
253665, "XADM: How the Active Directory Connector Uses Block Search to Replicate Changes," (https://go.microsoft.com/fwlink/?LinkId=3052&kbid=253665)
253840, "XADM: When the Active Directory Connector Commits Changes to Active Directory," (https://go.microsoft.com/fwlink/?LinkId=3052&kbid=253840)
For information about how to edit the registry, see Microsoft Knowledge Base article 256986, "Description of the Microsoft Windows Registry" (https://go.microsoft.com/fwlink/?linkid=3052&kbid=256986).