DOCUMENT:Q152526 26-SEP-2001 [iis] TITLE :Changing the Default Interval for User Tokens in IIS PRODUCT :Internet Information Server PROD/VER::1.0,2.0,3.0,4.0,5.0 OPER/SYS: KEYWORDS:kbnetwork kbIIS ====================================================================== ------------------------------------------------------------------------------- The information in this article applies to: - Microsoft Internet Information Server versions 1.0, 2.0, 3.0, 4.0, 5.0 ------------------------------------------------------------------------------- SYMPTOMS ======== Internet Information Server (IIS) has a default delay of 15 minutes before users tokens are updated. For example, if you change the password on a user account, you will be able to connect to the server with both the old password and the new password. CAUSE ===== For performance reasons, user tokens are cached by IIS and updated at 15 minute intervals. RESOLUTION ========== The token cache can be refreshed manually by stopping and restarting ALL of the IIS services (Gopher, FTP, and WWW). For performance reasons, this is the preferred method if updates are infrequent. The default interval for the token cache can also be changed in the Microsoft Windows NT registry. WARNING: Using Registry Editor incorrectly can cause serious, system wide problems that may require you to reinstall Windows NT to correct them. Microsoft cannot guarantee that any problems resulting from the use of Registry Editor can be solved. Use this tool at your own risk. 1. Run Registry Editor (Regedt32.exe). 2. From the HKEY_LOCAL_MACHINE subtree, go to the following key: \System\CurrentControlSet\Services\InetInfo\Parameters 3. Click Add Value on the Edit menu, and add the following: Value Name: UserTokenTTL Data Type: REG_DWORD Data: (Number of Seconds for token to be cached - 30 sec. Min) NOTE: For IIS version 4.0, the minimum value is 30 seconds. For IIS 5.0, the minimum value is 1 second. If you set the value to 0, the minimum value will be used instead. 4. Stop and restart all three IIS services (WWW, FTP, and GOPHER). Additional query words: prodiis iis timeout credentials ====================================================================== Keywords : kbnetwork kbIIS Technology : kbiisSearch kbiis500 kbiis400 kbiis300 kbiis200 kbiis100 Version : :1.0,2.0,3.0,4.0,5.0 ============================================================================= THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY. Copyright Microsoft Corporation 2001.