The Computer Oracle

Windows 10 remote desktop session logs off

--------------------------------------------------
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------

Music by Eric Matyas
https://www.soundimage.org
Track title: Dream Voyager Looping

--

Chapters
00:00 Windows 10 Remote Desktop Session Logs Off
00:30 Accepted Answer Score 6
01:36 Answer 2 Score 4
02:19 Answer 3 Score 0
02:42 Answer 4 Score 0
03:01 Answer 5 Score 0
03:24 Thank you

--

Full question
https://superuser.com/questions/969945/w...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#remotedesktop #windows10

#avk47



ACCEPTED ANSWER

Score 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



ANSWER 2

Score 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.



ANSWER 3

Score 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.




ANSWER 4

Score 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.




ANSWER 5

Score 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.