Issues with Remote Desktop access on Server 2019 Virtual Server

%3CLINGO-SUB%20id%3D%22lingo-sub-2822623%22%20slang%3D%22en-US%22%3EIssues%20with%20Remote%20Desktop%20access%20on%20Server%202019%20Virtual%20Server%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2822623%22%20slang%3D%22en-US%22%3E%3CP%20class%3D%22%22%3EHi%20everyone%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20having%20some%20issues%20with%20using%20a%20terminal%20server%20that%20I've%20setup%20inside%20of%20Server%202019.%20We%20currently%20have%20a%20company%20with%20about%2030-40%20employees%20that%20use%20a%20VPN%20and%20remote%20desktop%20into%20a%20server%20that%20is%20virtually%20hosted%20(VMware)%20on%20a%20local%20server.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20running%20into%20an%20issue%20where%20some%20employees%20remote%20in%20and%20the%20session%20freezes%20at%20either%20the%20login%20screen%20or%20afterwards%20using%20a%20program%20on%20the%20server.%20This%20happens%20almost%20daily%2C%20but%20does%20not%20affect%20everyone%20at%20the%20same%20time.%20If%20they%20exit%20the%20connection%20and%20go%20back%20in%2C%20it%20will%20work%20properly%20for%20a%20few%20seconds%20and%20then%20freeze%20again.%20It%20also%20seems%20to%20register%20any%20clicks%20on%20the%20server%20when%20frozen%2C%20like%20if%20I%20open%20a%20program%20it%20will%20be%20open%20the%20next%20time%20I%20reconnect.%20It's%20almost%20like%20the%20viewing%20of%20the%20screen%20is%20frozen%20but%20the%20session%20is%20still%20working%20properly.%20I%20find%20that%20a%20server%20reboot%20or%20a%20restart%20of%20the%20Remote%20Desktop%20service%20will%20fix%20this%20issue%2C%20usually%20for%20the%20full%20day.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI've%20created%20a%20task%20that%20restarts%20the%20service%20early%20in%20the%20morning%2C%20but%20the%20issue%20sometimes%20still%20crops%20up.%26nbsp%3BThere%20are%20no%20errors%20in%20the%20event%20log%20as%20far%20as%20I%20can%20tell.%20This%20issue%20has%20been%20happening%20ever%20since%20I%20created%20this%20new%20server%20and%20gave%20it%20the%20remote%20desktop%20roles.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EPlease%20let%20me%20know%20at%20least%20a%20direction%20I%20can%20look%20into%2C%20or%20what%20information%20is%20needed%20for%20more%20troubleshooting.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20in%20advance%2C%3C%2FP%3E%3CP%20class%3D%22%22%3EDevon%20LaVoy%3C%2FP%3E%3CP%3ESystems%20Administrator%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2822623%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ERemote%20Desktop%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EServer%202019%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EWindows%20Server%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2835847%22%20slang%3D%22en-US%22%3ERe%3A%20Issues%20with%20Remote%20Desktop%20access%20on%20Server%202019%20Virtual%20Server%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2835847%22%20slang%3D%22en-US%22%3EI%20had%20this...%20Have%20you%20tried%20forcing%20the%20clients%20to%20use%20TCP%20instead%20of%20UDP%3F%3CBR%20%2F%3E%3CBR%20%2F%3EOpen%20regedit%20and%20go%20to%3A%3CBR%20%2F%3E%3CBR%20%2F%3EHKEY_LOCAL_MACHINE%5CSYSTEM%5CCurrentControlSet%5CControl%5CTerminal%20Server%5CWinStations%5CRDP-Tcp%3CBR%20%2F%3E%3CBR%20%2F%3ECreate%20a%20Value%20of%20type%3A%20REG_DWORD%3CBR%20%2F%3Ename%3A%20SelectTransport%3CBR%20%2F%3Evalue%3A%201%3CBR%20%2F%3E%3CBR%20%2F%3Ereboot%20the%20server%20and%20see%20if%20it's%20more%20stable.%3C%2FLINGO-BODY%3E
New Contributor

Hi everyone,

 

I'm having some issues with using a terminal server that I've setup inside of Server 2019. We currently have a company with about 30-40 employees that use a VPN and remote desktop into a server that is virtually hosted (VMware) on a local server.

 

I'm running into an issue where some employees remote in and the session freezes at either the login screen or afterwards using a program on the server. This happens almost daily, but does not affect everyone at the same time. If they exit the connection and go back in, it will work properly for a few seconds and then freeze again. It also seems to register any clicks on the server when frozen, like if I open a program it will be open the next time I reconnect. It's almost like the viewing of the screen is frozen but the session is still working properly. I find that a server reboot or a restart of the Remote Desktop service will fix this issue, usually for the full day.

 

I've created a task that restarts the service early in the morning, but the issue sometimes still crops up. There are no errors in the event log as far as I can tell. This issue has been happening ever since I created this new server and gave it the remote desktop roles.

 

Please let me know at least a direction I can look into, or what information is needed for more troubleshooting.

 

Thanks in advance,

Devon LaVoy

Systems Administrator

1 Reply
I had this... Have you tried forcing the clients to use TCP instead of UDP?

Open regedit and go to:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp

Create a Value of type: REG_DWORD
name: SelectTransport
value: 1

reboot the server and see if it's more stable.