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.
- Type ldap policies then press ENTER.
- ADSI Scripts Do Not Work Between Windows 2000 and Windows NT 4.0
Computers
- Active Directory Services Interface Error Codes in Windows 2000
- How to Change the Display Names of Active Directory Users with
Active Directory Services Interface Script
- Active Directory Service Interfaces (ADSI) Version 2.5
- HOWTO: Manipulate File Shares with ADSI (VB Sample)
- HOWTO: Build ADSI Code in Visual C++
- HOWTO: Use ADSI in VB to Enumerate the Computers in an NT Domain
- HOWTO: Get User Information Using ADSI
- HOWTO: Use ADSI for Printer Information and Control
- HOWTO: Enumerate Network Sessions with ADSI
- HOWTO: Enumerate Connected Sites & Servers in Exchange with
ADSI
- HOWTO: Query Exchange 5.x Anonymously Through ADSI
- HOWTO: Find All ADSI Providers on a System
- HOWTO: Render the Global Address List with ADSI
- How to Use ADSI to Query a Third-Party LDAP Server
- HOWTO: Use ADSI to Query the Global Catalog for a UPN
- HOWTO: Use ADSI to Set LDAP Directory Attributes
- HOWTO: Use ADSI to Set Automatic Inheritance of File/Folder
Permissions
- INFO: Viewing Hidden or Deleted Exchange Objects via ADSI/LDAP
- HOWTO: Access MS Exchange Hidden Recipients Using ADSI
- HOWTO: Use the ADSI IADsDNWithBinary Interface
- How to Programmatically Add or Remove an ISAPI Filter in IIS by
Using ADSI
- HOWTO: Find Password Last Changed Date Using ADSI
- HOWTO: Speed Up ADSI Group & Dist. List Membership Checks
- HOWTO: Get Computer Information Using ADSI
- HOWTO: Get Domain Information Using ADSI
- How to Manage File Shares Using ADSI
- How to Restart IIS Services by Using WSH with ADSI
- HOWTO: Determining the Domain of A User Through ADSI
- Working with ADSI – Part I: Understanding the IIsComputer
Administration Object
- Working with ADSI – Part II: Understanding the IIsWebService and
IIsFTPService Administration Objects