Windows – Stop log off when disconnected from RDP session

windows

I don't want my VPS to log off disconnected sessions. It's really annoying because some programs freeze then. OS is Windows Server 2008 R2.

How do I prevent disconnected sessions from being logged off?

I have tryed pepoluan, rayan ries and Simon L answers

Best Answer

By default, a standalone Windows installation will not logoff disconnected RDP sessions.

So your installation must have been customized for it to be logging off disconnected RDP sessions.

Start MMC.

Load the Group Policy Object Editor snapin. It will be targeting the Local Computer.

Drill down to Computer Configuration -> Administrative Templates -> Windows Components -> Remote Desktop Services -> Remote Desktop Session Host -> Session Time Limits

Verify that the setting "Set time limit for disconnected sessions" is either Not Configured, or Enabled, but with a setting of Never.

Related Topic