16

I have upgraded to Windows 10 on a PC at home. But now whenever I RDP to it, and press Disconnect, instead it logs off. So when I connect again it logs in again, and all of the applications that I had open are closed.

I have already checked the settings in the Registry, and the timeout is Never.

In Windows 7, this didn't happen, and I could disconnect and remain logged in.

Can anyone help please?

Mark Nash
  • 262

5 Answers5

6

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
harrymc
  • 498,455
4

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.
Steven
  • 28,386
0

Instead of disconnecting, just close the RDP application. This will keep you logged in on the remote computer.

Also, you'll noticed that reboot and shutdown are not part of you options. This you'll have to handle with the shutdown command.

0

Methinks this is a Windows 10 issue or perhaps Microsoft would call it a fix as it prevents dead sessions and potentially stopping other users logging in by running out of TS licenses.

0

You can try the latest Remote desktop client here : https://support.microsoft.com/en-us/kb/2923545 if you are on insider preview and installed last update, uninstall last update, I had a lot of trouble IMHO. If not check windows has the latest patchs.