When you log off from a Windows Remote Access Service client, any Remote Access connections are disconnected automatically. If the Remote Access Service client is running an earlier version of a Windows-based operating systems, such as Windows 2000 or Windows XP, a user can enable a registry key to remain connected.
For more information about how to use the KeepRasConnections registry key, click the following article number to view the article in the Microsoft Knowledge Base:
158909 How to keep RAS connections active after logging off
However, the KeepRasConnections registry key does not exist in Windows Vista or in Windows Server 2008. Therefore, to maintain Remote Access connections after you log off Windows Vista or Windows Server 2008, you must add a KeepRasConnections registry key with the corresponding values under the following registry subkey.
- The KeepRasConnections registry key does not appear in the registry unless you add it.
- If you add this registry key, and then set the default value to 0x1, Windows does not close Remote Access connections when you log off from the system.
- By default, only administrators and the operating system have WRITE permission for this registry key.