How to Keep AutoDial Connections Active after Logging Off

ID: Q234050

The information in this article applies to:

IMPORTANT: This article contains information about editing the registry. Before you edit the registry, make sure you understand how to restore it if a problem occurs. For information about how to do this, view the "Restoring the Registry" Help topic in Regedit.exe or the "Restoring a Registry Key" Help topic in Regedt32.exe.


Proxy AutoDial can make dial-up connections regardless of whether a user is logged on locally to the Proxy Server computer or not. However, when you log off locally from a Proxy Server computer after AutoDial has established a connection, the connection will be closed. For the AutoDial connection to remain connected when you log off, you can enable the KeepRasConnections key in the registry on the Proxy Server computer.


To enable the KeepRasConnections key in the registry, do the following:

WARNING: Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk.

For information about how to edit the registry, view the "Changing Keys and Values" Help topic in Registry Editor (Regedit.exe) or the "Add and Delete Information in the Registry" and "Edit Registry Data" Help topics in Regedt32.exe. Note that you should back up the registry before you edit it. If you are running Windows NT, you should also update your Emergency Repair Disk (ERD).

  1. Start Registry Editor (Regedt32.exe).

  2. Locate the following key in the registry:
    HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\

  3. On the Edit menu, click Add Value, and then add the following registry value:

  4. Value Name: KeepRasConnections
    Data Type: REG_SZ
    Value: 1
  5. Quit Registry Editor.

By default, when you log 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: disconnect logoff logout terminate dialup

Keywords          : 
Version           : winnt:2.0
Platform          : winnt 
Issue type        : kbhowto 

Last Reviewed: June 7, 1999