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

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

  2. Navigate to HKLM\System\CurrentControlSet\Services\MSADC\Parameters.

  3. Right-click Parameters and select New | DWORD Value.

  4. Name the new DWORD value Export Block Size.

  5. Double-click Export Block Size.

  6. Set Base to Decimal.

  7. In the Value data field, enter the number of objects to be requested in each replication block.

  8. Click OK to save the changes.

  9. Close the registry editor and restart the Microsoft Active Directory Connector service for the change to take effect.

For More Information