如何使用地址簿搜索活动目录并获得 100 多个结果?
目前,如果我搜索“m”,我会收到一条消息,通知我“目录服务中的条目太多...”
答案1
仅当您使用 AD 用户和计算机而不是地址簿时,此链接才会为您提供答案。我将在我的消息中添加这些步骤以方便您的使用。
Start the MMC Active Directory Users and Computers snap-in.
Right-click the container, and select Properties.
Select the Group Policy tab.
Select the Group Policy Object, and select Edit.
Select the User Configuration branch, and expand Administrative Templates > Desktop > Active Directory.
Double-click Maximum size of Active Directory searches.
Select Enabled, and set the number (e.g., 20000).
Click Apply.
Click OK.
Close the Group Policy Editor.
To edit the registry to set the number for a user:
Start regedit.
Go to the
HKEY_CURRENT_USER\Software\Policies\Microsoft
registry entry.
From the Edit menu, select New > Key.
Enter
Windows
Select the new Windows key, and from the Edit menu, select New, Key.
Enter
Directory UI
Go to the Directory UI key, and from the Edit menu, select New, DWORD Value.
Enter
QueryLimit
and press Enter.
Double-click the new value, and set the decimal value (i.e. 20000).
Click OK.
Close the registry editor.
For both methods, the change will take effect when the user logs on the next time.