How to Keep RAS Connections Active After Logging Off

Last reviewed: February 4, 1998
Article ID: Q158909
The information in this article applies to:
  • Microsoft Windows NT Workstation version 4.0
  • Microsoft Windows NT Server version 4.0

SUMMARY

When you log off of a Windows NT version 4.0 Remote Access Service (RAS) client, any RAS connections will be disconnected automatically. To remain connected after logging off, you may enable the KeepRasConnections key in the registry on the RAS client.

NOTE: This differs from previous versions of Windows NT RAS, which remain connected when logging off of the local machine.

MORE INFORMATION

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.

To modify the behavior of RAS when logging off, change the value of the following registry key:

   HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon

      KeepRasConnections REG_SZ
      Range: 0 or 1
      Default: 0 (disabled)

By default, when logging off, Windows NT 4.0 closes all RAS connections opened during the session. If this registry key value is added and set to 1, the system will not close RAS connections when logging off. This registry key value does not appear in the registry unless you add it.


Additional query words: prodnt logoff disconnect logon log persistent
Keywords : NTRAS NTSrvWkst kbnetwork kbtool
Version : 4.0
Platform : winnt
Issue type : kbhowto


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: February 4, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.