Slow RDS Server performance only via RDP
Posted by WhichSuit2443@reddit | sysadmin | View on Reddit | 23 comments
Hi There
have recently migrated customer over to new RDS server (from old gaming PC with all the roles -AD, RDS etc installed on same server)
Everything went smoothly, but now users started to complain about server peformance.
It is not very noticeable, but there is small delay in certain actions. It is very noticable as they use Application built inside Access database and when navigating around, there is noticable delay/lag
Server is well spec'd and is never running out of resources
What is strange as well:
-When I connect via Connectwise control into the server (terminal access) server is performing as fast as it should, but when you RDP into the server, applications seem to be lagging.
I have done some troubleshooting and fighting with Microsoft to get some usefully feedback, but wanted to ask here as well if anyone has idea.
This is small scale setup (11 RDS users)
Connections were tested from Host into RDS - Slow
if I RDP from Host into AD - performing OK
Easiest way to replicate is to open task managed and changing tabs, when connected via RDP, each tab change will have 0.5 to 3 seconds delay when refreshing (tab will change but refresh will take longer)
When I am directly in that server it is instant
This tells me specs are OK and server is not lacking on resources
I have also attempted different version and settings on RDP connection without any success
Have tried to disable TIP service and also checked the issue with firewall rules (as per some other posts)
Server:
Fully patched firmware and OS and also with additional supplemental SPP pack
SSD Hard drives with caching
Single NIC used for Hyper-V switch
80GB Memory
18 VCPU
VMQ and IPSec task offloading disabled
to me it more seems issue with RDS protocol on that server
any tips would be much appreciated
I've attached the video for reference (connecting via RDP and then connecting via Connectwise control - console)
PurePay375@reddit
Did you ever figure this out? our setup is scarily similar to yours. moved from a crappy workstation hardware PC running everything including RDS roles to a proper HP ML350 G11 and users are also having slow behaviour and weve ruled out all the usual suspects. nothings changed besides the new server (running server 2022) its confirmed no hardware issues so we are pretty stumped. Slow as balls RDP performance for no real reason.
WhichSuit2443@reddit (OP)
Exactly my scenario. After 2 month of chasing up with Microsoft paid support I finally got someone from MS server performance team to collect some logs. 1 month later, still no resolution...
WhichSuit2443@reddit (OP)
Ms finally found the cause of this, looks like rdpclip.exe is causing delay. If I terminate it, all works fine. GpO doesn't prevent from process to not open on startup so for now I blocked users from executing it
Mean_Spite_7747@reddit
What apps are installed?
WhichSuit2443@reddit (OP)
just office products and access database. Plenty of resources. If it was apps causing issue or server under resourced it would lag also when I use ConnectWise control as well. It is purely related to RDP protocol being laggy
DrGraffix@reddit
How is the server being accessed? RDP (3389) open to the internet? Rd gateway? VPN?
Mean_Spite_7747@reddit
Sometimes the firewLl
WhichSuit2443@reddit (OP)
no difference with firewall off
WhichSuit2443@reddit (OP)
Hi
RDP 3389, as mentioned above has been tested from local network, from host or remotely via VPN, No RD Gateway.
Vast_Resolve_8354@reddit
Apologies if this has already been asked/answered, but what devices are you using to connect to the server?
When we upgraded to RDS 2022 we had issues with our older zero clients very similar to what you described. It seems Server 2022 offloads the GFX processing to the client - it would be fine when I RDP'ed from my workstation, but the zero clients struggled.
We ended up replacing them with some beefier 10Zig terminals which resolved the issue (along with turning off all the menu animations/themes etc).
Mean_Spite_7747@reddit
Ys fhis is the issue with older thin clients or using old computers as terminal
WhichSuit2443@reddit (OP)
as mentioned tested from new Win11 and Host VM (server 2022) and makes no difference
WhichSuit2443@reddit (OP)
Have tested from Host (Server2022), AD (VM on same host) my remote PC (win11) and some Win7 computers onsite, same issuess
ZAFJB@reddit
Check if you RD link has UDP enabled. UDP is usually faster.
WhichSuit2443@reddit (OP)
tried with UDP or TCP - makes no difference
SmallBusinessITGuru@reddit
It may be related to the GPU acceleration features of newer Windows Server.
WhichSuit2443@reddit (OP)
Thanks for the tip, is this the setting you are referring to?
I don't have any special GPU, just normal Matrox Video driver (onboard)
Local Computer Policy\Computer Configuration\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Remote Session Environment
disable “Use the hardware default graphics adapter for all Remote Desktop Services sessions”
SmallBusinessITGuru@reddit
Ya, not likely.
Do you notice this happening with both regular and administrator level users?
What if you disable device redirections including Clipboard in the RDP client?
WhichSuit2443@reddit (OP)
No difference between user or admin, have played with all possible settings in RDP properties, even tried Remote Desktop Manager (Devolutions) and attempted all the settings there (changing RDP client versions, transport, local resources, colour, speed etc...)
SmallBusinessITGuru@reddit
New user with no group policy applied?
What are you using for user profiles?
WhichSuit2443@reddit (OP)
tried with local administrator (no GPO applies to that user)
Users are just storing files on same server
anonfreakazoid@reddit
How's the internet speeds? Try reducing colors. What are you seeing in task manager?
WhichSuit2443@reddit (OP)
Hi
Internet speed is all OK, no latency throughput tested via iPerf all OK, no packet loss local or to internet
RDP connection test is made from Host machine (or any other machine inside the network or remote via VPN) and server is not performing as fast as it should
When connecting through screen connect (which is in another datacentre) server works much faster.
Colours and RDP properties have been dropped to minimum and same performance. I doubt it is anything related to connection speed, looks more a bug with RDP protocol.
Task manager - resources never go over 40/50%
I would upload Video here, but not sure what is acceptable or best way to do it