What does Windows error code 8248 (ERROR_DS_OBJECT_RESULTS_TOO_LARGE) mean?

 
Previous Next
ERROR_DS_NAMING_VIOLATION ERROR_DS_AFFECTS_MULTIPLE_DSAS

ERROR_DS_OBJECT_RESULTS_TOO_LARGE

ERROR_DS_OBJECT_RESULTS_TOO_LARGE (0x00002038) is an Active Directory Domain Services LDAP result. The result data returned for the LDAP operation is too large to be handled as a single response.

What to check

  • Reduce the search scope and attributes returned by the query.
  • Use paged search and process results incrementally rather than collecting everything at once.
  • Check whether one object has unusually large multivalued attributes that should be retrieved separately.

Useful command

Get-ADObject -LDAPFilter "(objectClass=*)" -SearchBase "OU=<OU>,DC=<domain>,DC=<tld>"

Microsoft: AD DS limits · Microsoft: LDAP policy with Ntdsutil · Microsoft: AD DS LDAP operations


Looking for a different code? Search another status or error code.