Q: In Windows Vista and later, how do I stop Remote Access Service connections from closing at log off?

How to keep Remote Access Service connections open in Windows Vista and Windows 7 after logging off.

John Savill

March 5, 2012

1 Min Read
ITPro Today logo in a gray background | ITPro Today

A: In Windows XP creating the DWORD registry value HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionWinlogonKeepRasConnections and setting to 1 would keep Remote Access Service (RAS) connections open even after a logoff. This no longer works in Windows Vista and later. However, all that has really happened is the key has changed. For Windows Vista and later, perform the following:

  1. Start the registry editor (regedit.exe).

  2. Move to HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesRasManParameters (if the key doesn’t exist, create it).

  3. Create a new value called KeepRasConnections of type REG_SZ.

  4. Set the new value to have a value of 1.

We do more than Windows--check out all of John Savill's FAQs for Windows.

About the Author

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like