Windows 10 remote desktop session logs off

Solution 1:

I have tried closing RDP on Windows 10 virtual machine, and I cannot duplicate your problem.

Perhaps the difference is that I have applied this registry fix because I was getting the message of "the connection cannot proceed because authentication is not enabled" :

In Windows 10 Microsoft changed RDP’s defaults. They modified the default for SecurityLayer from 0 to 2. Even if you go into the user interface and disable: “Allow connections only from computers running Remote Desktop with Network Level Authentication (recommended)” Still doesn’t change that value to a 2.

Simple fix:

  • Open RegEdit
  • Navigate to this Key:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TerminalServer\WinStations\RDP-Tcp
  • Change SecurityLayer to a zero
  • Reboot and done

Solution 2:

Disable the "Session Time Limits" policies on the Windows 10 PC at home.

  1. Open gpedit.msc
  2. Navigate to:
    Computer Configuration\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Session Time Limits
  3. Disable any active policies.
  4. Navigate to:
    User Configuration\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Session Time Limits
  5. Disable any active policies.
  6. Reboot the computer.