Microsoft KB Archive/259987

= XADM: Previewing an Address List Does Not Display More Than 10,000 Objects =

Article ID: 259987

Article Last Modified on 2/26/2007

-

APPLIES TO


 * Microsoft Exchange 2000 Server Standard Edition

-



This article was previously published under Q259987



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 use Exchange System Manager to preview available address lists and display all objects for a given address list in the Address List Preview window. However, if an address list contains more than 10,000 objects, the Address List Preview window issues the following error message:

The number of objects found exceeds the maximum allowed. Please refine your search.



MORE INFORMATION
Exchange System Manager uses the Windows 2000 Active Directory Object Picker control to present its Address List Preview windows. By default, Windows 2000 imposes a limit of 10,000 objects to be returned for the Object Picker control. However, you can modify this limit to increase the threshold by either of the following methods:

Method 1: Modify the Registry
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.

 Use Registry Editor to locate the following registry key:

HKEY_CURRENT_USER\Software\Policies\Microsoft

 Click the HKEY_CURRENT_USER\Software\Policies\Microsoft registry key, and then click Add Key from the Edit menu. In the Add Key dialog box, type Windows in the Key Name field, and leave the Class field blank. Click OK. Click the HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows registry key, and then click Add Key from the Edit menu. In the Add Key dialog box, type Directory UI in the Key Name field, and leave the Class field blank. Click the HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Directory UI registry key, then click Add Value from the Edit menu.</li> In the Add Value dialog box, type QueryLimit in the Value Name field, and change the Data Type to REG_DWORD.</li> In the DWORD Editor dialog box, change the Radix to Decimal, and type the number of objects you want to be displayed (for example, 20,000), and then click OK.</li> Quit Registry Editor.</li></ol>

Method 2: Use a Group Policy
<ol> Using the Group Policy Editor snap-in, click the specific group policy in which you want to define this policy (for example, the Default Domain policy).</li> In the User Configuration section of the Group Policy that you selected, navigate to the Maximum size of Active Directory searches policy as shown below:

Administrative Templates\Desktop\Active Directory\Maximum size of Active Directory searches

</li> Double-click the policy. To enable the policy, click Enabled, and then specify in decimal format the number of objects that should be returned. To disable the policy, click Disable.</li> To set the policy, click Apply, and then click OK.NOTE: As this is a user-based policy, it is not enforced until the user has logged off, and logged on again.</li></ol>

Additional query words: exch2kp2w

Keywords: kberrmsg kbhowto KB259987

-

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

© Microsoft Corporation. All rights reserved.