ADSI queries fails at 2 minutes

  • Section(s): TroubleShooting
  • Published on Apr 20, 2004.
  • Last Modified on Apr 20, 2004.
  • Last Modified by Wayne Maples.
  • Rating: Not Rated
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:

About Wayne Maples


Article not looking right or info is missing? Let us know so that we can fix it: .


Receive all the latest articles by email!

Receive Real-Time & Monthly WindowsNetworking.com article updates in your mailbox. Enter your email below!
Click for Real-Time sample & Monthly sample

Become a WindowsNetworking.com member!

Discuss your network issues with thousands of other network administrators. Click here to join!

Community Area

Log in | Register

Readers' Choice

Which is your preferred network administration tool?