| Previous | Next |
| ERROR_DS_PROTOCOL_ERROR | ERROR_DS_SIZELIMIT_EXCEEDED |
ERROR_DS_TIMELIMIT_EXCEEDED
ERROR_DS_TIMELIMIT_EXCEEDED (0x00002022) is an Active Directory Domain Services LDAP result. The LDAP search exceeded the time limit before the server could return the complete result set.
What to check
- Narrow the search base and filter; avoid subtree searches from the forest root when a specific OU is known.
- Request only attributes that are needed and use server-side paging for large result sets.
- Review LDAP query policies before increasing limits, because raising limits can affect DC capacity.
Useful command
Get-ADObject -LDAPFilter "(objectClass=*)" -SearchBase "OU=<OU>,DC=<domain>,DC=<tld>"
Microsoft: LDAP policy with Ntdsutil · Microsoft: AD DS limits · Microsoft: AD DS LDAP operations
Looking for a different code? Search another status or error code.