HOW TO: Modify the MaxQueryDuration Setting for Active Directory Services Interface (291438)
The information in this article applies to:
- Microsoft Windows 2000 Server SP1
- Microsoft Windows 2000 Server SP2
- Microsoft Windows 2000 Advanced Server SP1
- Microsoft Windows 2000 Advanced Server SP2
- Microsoft Windows 2000 Professional SP1
- Microsoft Windows 2000 Professional SP2
This article was previously published under Q291438 SUMMARY
This article describes how to modify the query policy setting for MaxQueryDuration (maximum query duration).
After two minutes, the Active Directory Services Interface (ADSI) queries to Active Directory can stop responding. This behavior can be caused by the MaxQueryDuration setting, which has a default time of two minutes. This value, however, can be changed by using the Ntdsutil.exe utility.
back to the top
Increase MaxQueryDuration Using Ntdsutil.exe
You can use the Ntdsutil.exe utility to increase the default setting of MaxQueryDuration:
- At a command prompt, type: ntdsutil.
- At a command prompt, type: ldap policies, and then press ENTER.
- At a command prompt, type: connections, and then press ENTER.
- At a command prompt, type: connect to [yourserver name], and then press ENTER.
- At a command prompt, type: q, and then press ENTER to exit back to Lightweight Directory Access Protocol (LDAP) policies.
- To display the current values, at a command prompt, type: show values, and then press ENTER.
- To set MaxQueryDuration, at a command prompt, type:
set maxqueryduration to [number of seconds wanted], and then press ENTER.
- At the prompt type: commit changes.
- To exit, at a command prompt, type: q, press ENTER, type: q, and then press ENTER.
back to the top
Modification Type: | Minor | Last Reviewed: | 1/27/2006 |
---|
Keywords: | kbenv kbHOWTOmaster KB291438 kbAudITPro |
---|
|