Change number of objects Active Directory will search

by Wayne Maples [Published on 20 April 2004 / Last Updated on 20 April 2004]

I have seen a fair number of questions concerning searches of Active Directory failing at 10,000 objects. This is the default number of objects AD will search. To change this limit, use the following Windows 2000 registry hack:

Hive: HKEY_LOCAL_MACHINE
Key: Software\Policies\Microsoft\Windows\Directory UI
Name: QueryLimit
Type: REG_DWORD
The defaut=10000.

Featured Links