Article ID: 158909 - View products that this article applies to.
This article was previously published under Q158909
When you log off from a Windows 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 behavior is different from versions of Windows NT RAS earlier than Windows NT 4.0; earlier version of Windows NT remain connected when logging off from the local computer.
Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/322756/ )How to back up and restore the registry in Windows
To modify the behavior of RAS when logging off, change the value of the following registry key:
KeepRasConnections REG_SZYou should restart the computer after making this change.
Range: 0 or 1
Default: 0 (disabled)
By default, when logging off, Windows 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.
Note Changing the
KeepRasConnectionsregistry key to remain connected after you log off from a RAS client is not supported in Windows Vista."
Article ID: 158909 - Last Review: October 11, 2007 - Revision: 2.5
Contact us for more help
Connect with Answer Desk for expert help.