ADSI queries fails at 2 minutes

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

The default Active Directory Services Interface ( ADSI ) duration is two minutes. After that period, ADSI queries will stop responding. This is controlled by the MaxQueryDuration setting. You can use the Ntdsutil.exe utility to increase this duration:
  • At a command prompt, type ntdsutil then press ENTER.
  • Once ntdsutil starts, type the following commands within the utility:
    • Type ldap policies then press ENTER.
    • Type connections then press ENTER.
    • Type connect to yourservername then press ENTER.
    • Type q then press ENTER to exit back to Lightweight Directory Access Protocol (LDAP) policies .
    • To display current values, type show values then press ENTER.
    • Type set maxqueryduration to numberofsecondswanted then press ENTER.
    • Type commit changes then press ENTER.
    • To display current values, type show values then press ENTER.
    • Exit by typing q press ENTER and typing q press ENTER.
Related tips:

See Also

Featured Links