As the Active Directory organization grows, you might need to change the number of objects to search. There are generally three ways that this can be accomplished: a group policy object, the Microsoft Management Console (MMC) that you are using, or directly modifying the registry. The difference among the three is that with a group policy object linked to an organizational unit, all of the user objects within the OU, or users within a child OU will be configured to use the setting. Directly modifying the MMC console or registry for a particular user, only affects that user. In the following examples, the new value to be set is 50,000. You can use the value that fits your needs.

Group Policy Method

This picture depicts the setting for the Maximum size of Active Directory Searches using the Remote Server Administration Tools (RSAT) on a Windows 7 computer. Regardless of the version of Active Directory, or console that you use, the way you configure the values is fairly the same. Windows 2000, 2003, and XP require AdminPak to be installed for Active Directory and Group Policy Management tools to be available. On Windows 2000 and XP (Gold), the Group Policy Management console is not available by default. The tools can be found on Microsoft’s website and can be freely downloaded. Make sure you download the latest version for your Operating System.

Registry Edit Method

From the Edit menu, select New > Key, name it Windows. Select the new Windows key, and from the Edit menu, select New, Key, name it Directory UI. Go to the Directory UI key, and from the Edit menu, select New, DWORD Value, name it QueryLimit. Double-click the new value, and set the decimal value (i.e. 50000). Click OK. Close the registry editor.

MMC Configuration

By far, this is the simplest option when requiring the change for a single user. Open the Active Directory Users and Computers MMC console. In the standard menu, click on View, then Filter Options. In the Filter Options window, type in the desired number of items to display per folder as shown here:

Active Directory Search Limit - 15Active Directory Search Limit - 4Active Directory Search Limit - 81