Windows 7 - Maintain RAS connection when login off

Ask a question
Each time you log off from a Remote Access Service client the connections are disconnected automatically (e.g maintaining a VPN connection while login off and login in. To prevent this from happening: Click Start > Run > "regedit" and press the Enter key.
  • Expand HKEY_LOCAL_MACHINE, then head to Settings > CurrentControlSet > Services > RasMan > Parameters
    • In the right pane, double click on "KeepRasConnections" and set its value to 1.
  • Close the registry editor and restart your PC
Jean-François Pillou

Jean-François Pillou - Founder of CCM
Better known as Jeff, Jean-François Pillou is the founder of He is also CEO of CCM Benchmark and digital director at the Figaro Group.

Learn more about the CCM team