Changing the Default Interval for User Tokens in IIS

Last reviewed: April 22, 1997
Article ID: Q152526

The information in this article applies to:
  • Microsoft Internet Information Server version 1.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)
    

  4. Stop and restart all three IIS services (WWW, FTP, and GOPHER).


Additional query words: prodiis
Keywords : iisadmin kbnetwork
Version : 1.0
Platform : WINDOWS


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.

Last reviewed: April 22, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.