Delay in Remote Desktop Connection. What are possible solutions?


Recommended Posts

I am experiencing delays and reconnecting issues when connecting to RDP. Both wired and wireless.

I have purchased a new router - Linksys EA3500 - and still these issues occur.

Ping tests stated around 18ms for my connection.

My internet speeds/subscription are 120 MB down, 10 MB up. I have tested with different "Experience / Performance" settings within RDP, from low-speed broadband to high-speed broadband; all without success.

I have KIS2013 installed with default settings on both computers (wired and wireless).

What can be the issues for these delays/secs of 'hickups' during the RDP-connection?

RDP connections to where? Some box on the internet, or between boxes on your own network - wired to wireless, wireless to wireless, wired to wired?

Also what do you consider delay, 2 seconds, 5 seconds, 10, 20, 3 minutes?

RDP to some box (server) on the internet - our server 80 km away.

The server is wired to its backbone/Internet, I make a RDP-connection via my computer (wired) or notebook (wireless) from home (or elsewhere) - I use its name/alias and not the IP.

The delay is a couple of seconds (mostly 2-5 sec); screen 'freezes', reconnecting popups appears, connection is back again and I can start working again...

And this once every 2-5 minutes.

EDIT:

adjusted delay time to real circumstances

well there could always be a slight delay in resolving to its FQDN, I think that is what you meant by name/alias because those are not resolvable on the internet but a fully qualified domain name is ;) something.something.tld

so you its not really a delay in connection, but a loss of connection and reconnect

"this once every 2-5 minutes."

Are you connecting via a VPN to this server, or just the normal RDP 3389 just over the internet? Is there any firewall on the other end limiting connections to this port to only where your coming from?

You put 3389 open on the public internet and its going to get hit quite often with people attempting to log in.

If your saying it happens every few minutes I would look at logs on server side for any hints, and also would sniff the traffic from your connection. This will show you if your getting a lot of retransmission on lost packets, etc.

lagging could be upstream not fast enough to handle request, could be dns not fast enough to handle name resolution...you mention your upstream, is your upstream the upstream at home or your upstream at the office. The upstream at the office needs to be ~1Mb/s for optimal response...your down stream at home needs to be at least that. Also the dns plays quite a bit into speed, try connecting to the ip to negate dns being an issue. if it is fast connecting to the outside ip, then the issue is dns related.

it's kinda strange... when I use my cell phone with tethering (wayyy slower connection, everything is ok) on the same notebook, I have a good connection and no delay/lag.

It seems that either my modem or router is the "bad kid in town".

I just got a new router today - default settings - so that should not be the issue.

I might just check a direct cable connection from my modem to my computer (thus cancelling out the router) and see what happens...

I'll come back to this latter thing.

@ +Chris13NT, how can I prevent this? Or is this ISP-related?

Just tested it "quick and dirty" and the delay/lag is not present when connecting directly to the modem.

When I put my router in between the lag is there yet again.

There is a power/surge adapter to prevent over-voltage, but this hasn't been an issue ever since.

Might it be cable related? And that one of the UTP-cables has been damaged/is broken?

Replacing might help, but that I need to get myself some new cables....

By the way, the current cable-setup is:

ISP-entrance in my home - cable to modem, provided bij ISP - modem - cable to surge-adapter - cable to router, from there the standard 4 GBit ports of this EA3500 to computer and other periphicals + router wireless to notebook and other periphicals.

What is your dns configuration when connection directly to the modem?

start, run, cmd

ipconfig/all

What is your dns configuration when connected to the router?

start, run, cmp

ipconfig/all

change the dns on your adapter to the dns that you are getting when you are on the modem. does the same problem exist?

dns could be the problem on initial delay, or just failure to resolve - but once the connection is established and having freezes every few minutes does not seem like a dns related problem to me.

What kind of router is it? Some routers have trouble with connections over 50mbit, I had a Linksys E3000 and it couldn't cope with my 85mbit FiOS line, it would crap out every time I pegged the download.

It could be cable related but I doubt it.

I have a brand new Linksys EA3500. It should get "Transfer rates up to 300 + 450 Mbps".

The DNS I get when connect to the router is 1 IP: 192.168.1.1

When directly connected to the modem DNS server is 2 IP's: 213.48. .... and 62.179. ...

yeah those are from your ISP when connected to modem, and when connected to router your using it as your dns forwarder. This is a common setup, your router would then forward dns to those handed to your router via your ISP 213.48 and 62.179

But again if your having the issues once your connected, it seems highly unlikely that it would be dns related.

  On 26/09/2012 at 16:23, BudMan said:

yeah those are from your ISP when connected to modem, and when connected to router your using it as your dns forwarder. This is a common setup, your router would then forward dns to those handed to your router via your ISP 213.48 and 62.179

But again if your having the issues once your connected, it seems highly unlikely that it would be dns related.

Thx. So what can it be?

unlikely sure, test it, verify it, make sure. be sure, not be somewhat sure....perhaps the router is being retarded when forwarding, it is a link in the chain....remove the link.

I thought it was initial connection....if it is not initial connection, then it is not dns related. something is happening with the traffic when it goes from router to modem.

Can you to a trace route to the IP of the RDC server? This might give a clue if you have a hop with unusually high ping.

do tracert <ip (or dns name)> in cmd

The fact that the lag only happens when the router is in the link is making me almost positive it's the router botching things.

  On 26/09/2012 at 16:29, Chris123NT said:

Can you to a trace route to the IP of the RDC server? This might give a clue if you have a hop with unusually high ping.

do tracert <ip (or dns name)> in cmd

In which setup and from where?

From my computer, connected via router, to the RDC server?

Or from the RDC server to my computer? (and also here via router or directly connected to modem?)

  On 26/09/2012 at 17:01, hjf288 said:

Off topic but in reply to Chris, my e2000 handles my 120mbit line with ease and it has a slower CPU than your e3000..

So something is up there..

It could have just been going bad, or it could have been DD-WRT's fault.

  On 26/09/2012 at 16:29, Chris123NT said:

Can you to a trace route to the IP of the RDC server? This might give a clue if you have a hop with unusually high ping.

do tracert <ip (or dns name)> in cmd

The fact that the lag only happens when the router is in the link is making me almost positive it's the router botching things.

What kind of info do you need from this trace?

From which hop# there is a time out? or else?

There has been some less delays (but still annoying) with the new FW... although I had to wrestle myself through the Cisco Cloud Connect.

Still some delays.

Question remains....

EDIT:

I guess I was over-enthusiastic... delays still remain as strong as before :(

This topic is now closed to further replies.
  • Posts

    • Apple: lets take our inspiration from Windows 7/Vista and call it innovative
    • Nice! My $100 refurbished iPad 8 that I bought last year for a small project (and still runs like new cuz it's been mostly in storage the past several months) will get this v26 upgrade. I'm definitely gonna scope out OS26 on this device before upgrading my also-supported refurbished iPhone SE 3rd Gen (only got it for the 5G UW support).
    • Hello, The separate discussion about VLC has been moved to its own thread at  Regards, Aryeh Goretsky  
    • Hello, I am guessing this is the result of using a third-party tweaking tool instead of changing things within Windows settings. Windows 11 has a decent set of configuration options for the display, but they tend to be scattered throughout the operating system due to fragmentation of product ownership/inconsistent standards being applied by Microsoft. There are a few places in Windows 11 where you can modify the various display settings in order to get them to your liking: Under Settings → System → Display you can stroll down to the Scale & layout section and change the Scale and Display resolution settings to whatever you prefer.  For the Scale option, you can click on the text box to choose between the various pre-populated settings.  If none of those are exactly what you are looking for, click on the caret ("") caret to open the Custom scaling setting (also available under Settings → Display → Custom scaling).  I would recommend this as an option of last resort as this can cause display issues in various programs. I strongly recommend using the screen's native Display resolution here; it should show up as the "(Recommended)" resolution.  If it does not, you may need to install your monitor's profile information file (basically, a device driver for your monitor) to get the correct setting. Another place to look at making changes to fonts is under Accessiblity → Text size.  There is a slider bar for changing the text size from 100% to 225% there. You can try making changes to the ClearType settings.  It's a little bit finer-grained than the others, but it may make the text easier to view on the display.  Run the ClearType Text Tuner (filename: CTTUNE.EXE) and go through the wizard. You may want to do this several times under different lighting conditions or times of the day to figure out what works best for you overall. Lastly, you may want to look into using a dedicated assistive screen technology program from a third-party.  Microsoft provides a Screen Magnifier and a Narrator for text-to-speech, but they provide only basic functionality, and you may find that a third-party program works a lot better.  The pros of this is that third-party assistive technology programs tend to work quite well under Windows; Microsoft has historically worked closely with third-party developers of assistive technologies.  The cons of this are that such tools tend to be on the expensive side, since they are often sold to schools, businesses, or paid for by insurance companies, not individuals. Regards, Aryeh Goretsky  
    • Totally agree with you. I think people, especially on tech sites, need to realize that they’re the minority. Microsoft isn’t going to waste time on things that, in the big picture, don’t matter to the majority.
  • Recent Achievements

    • Dedicated
      MadMung0 earned a badge
      Dedicated
    • Rookie
      CHUNWEI went up a rank
      Rookie
    • Enthusiast
      the420kid went up a rank
      Enthusiast
    • Conversation Starter
      NeoToad777 earned a badge
      Conversation Starter
    • Week One Done
      VicByrd earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      506
    2. 2
      ATLien_0
      267
    3. 3
      +FloatingFatMan
      257
    4. 4
      Edouard
      203
    5. 5
      snowy owl
      178
  • Tell a friend

    Love Neowin? Tell a friend!