!!! Overview [1] [{$pagename}] controls the maximum number of objects that are returned in a single search result, independent of how large each returned object is. [{$pagename}] is part of the [LDAP policy in Active Directory] that is revealed in the [supportedLDAPPolicies] attribute in the [RootDSE]. [{$pagename}] in [Windows Server 2008] and [Windows Server 2008 R2] has a Hardcoded limit of 20,000 which overrides the [LDAP policy in Active Directory] setting__ when the [policy] value should be higher__. %%information [{$pagename}] in [Windows Server 2008] and [Windows Server 2008 R2] has a Hardcoded limit which override [LDAP policy in Active Directory] setting when the policy value should be higher. %% !! Overcoming [{$pagename}] [{$pagename}] when exceeded will result in the [LDAP Result Code] [LDAP_ADMINLIMIT_EXCEEDED] from the [SearchRequest]. [Microsoft]s recommendation is to use the [Simple Paged Results Control] !! Changing the [MaxPageSize] Value The value is stored in the [LDAP policy in Active Directory]. You can change the value with [Ntdsutil.exe] The value is "hardcoded" in 2008/2008 R2. However the [dSHeuristic] attribute could be set to control the value.[3] !! Overcoming the [MaxPageSize] Value Using the [Simple Paged Results Control] can help with the retrieval of entries beyond the [{$pagename}] value. !! More Information There might be more information for this subject on one of the following: [{ReferringPagesPlugin before='*' after='\n' }] ---- * [#1] - [LDAP Policies|http://msdn.microsoft.com/en-us/library/cc223376.aspx|target='_blank'] - based on information retrieved 2013-08-12 * [#2] - [Windows Server 2008 domain controller returns only 5000|http://support.microsoft.com/kb/2009267|target='_blank'] - based on information retrieved 2013-08-12 * [#3] - [Override the hardcoded LDAP Query limits introduced in Windows Server 2008 and Windows Server 2008 R2|http://blogs.technet.com/b/qzaidi/archive/2010/09/02/override-the-hardcoded-ldap-query-limits-introduced-in-windows-server-2008-and-windows-server-2008-r2.aspx|target='_blank'] - based on information retrieved 2013-08-12