How to Keep RAS Connections Active After Logging Off

ID: Q158909


The information in this article applies to:


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)
You should restart the computer after making this change.

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          : kbnetwork kbtool ntras NTSrvWkst 
Version           : winnt:4.0
Platform          : winnt 
Issue type        : kbhowto 

Last Reviewed: April 9, 1999