Keep Remote Desktop Session Alive

Terminal Services Remote Desktop automatically kills session which are not actively used for some times. This sometimes annoys me, since some connections remain open and used all day (like development server environments. It's possible to enable a keep alive setting on the server by editing the Windows registry of the server.

The simple steps:


  1. Go into the registry - HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server,
  2. Create/edit the DWORD value KeepAliveEnable.
  3. Set it to 1.
  4. This should turn on Keep Alive and send a heartbeat with the system. Done!
Disclaimer note: please make sure what you are doing & make backups.



Add comment