Troubleshooting Remote Desktop "The connection has been lost" error can be a perplexing task. However, fear not, as this article presents five proven methods to rectify this issue comprehensively.
I have installed Windows 10 on my two computers, and I am finding the RDP connection between them keeps dropping out after about 10 seconds and shows below: 'Remote Desktop The connection has been lost. Attempting to reconnect to your session... Connection attempt: 1 of 20.' I never had this problem before Windows 10 update. Why does my Remote Desktop keep losing connection? Any ideas on how to fix this issue?”
- Question from Spicework Community
When controlling PC remotely, you may encounter Remote Desktop "The connection has been lost" error. Here are five solutions to help you fix this issue.
According to some users, they found out what was causing the disconnects - turns out it was a problem with the router. When they completely turned off the WiFi on the router, the disconnects stopped. So, you could try disabling the WiFi on your router first and check if that fixes the Remote Desktop "The connection has been lost" error.
If the remote session over RDP is used frequently, this problem does not occur. When the remote session is dropped to the taskbar and another program becomes the primary application used while RDP is running in the background, it always freezes. Therefore, you can ping your IP Address via CMD to keep your connection active even if it is minimized.
Step 1. Launch Command Prompt as an administrator.
Step 2. Enter the command “ping -t SERVER_IP”. (Replace SERVER_IP with your IP Address)
Note: In case you don’t know how to find the IP Address, here are the steps. Press Win + R to invoke the Run dialog box. Type in “cmd” and press OK. Then type “ipconfig” and press Enter. Now you can see a group of IP addresses, of which the IPv4 address is the one you need.
Often, this issue arises due to a function called Auto-Tuning. Its purpose is to dynamically modify the TCP/IP receive window size, adapting to current network conditions. Yet, on an imperfect network, it might lead to timeout problems.
For adjusting your auto-tune settings, follow these steps:
Step 1. Launch Command Prompt as an administrator.
Step 2. Enter the following command:
netsh interface tcp set global autotuninglevel=restricted
Should you wish to revert this setting later, execute:
netsh interface tcp set global autotuninglevel=normal
It has been tested by some users that unselecting the option Smart cards or Windows Hello for Business helps troubleshoot the connection has been lost in Remote Desktop. Follows the steps below to make your RDP maintains the connection.
Step 1. Search for Remote Desktop Connection in the search box and then start RDP. Select More Options.
Step 2. Switch to Local Resources and then click More.
Step 3. Find the option Smart cards or Windows Hello for Business and then unselect it.
This problem may be caused by the session time limit setting. Policy settings in this node control time limits for Remote Desktop Services sessions on a Remote Desktop Session Host server. To stop Remote Desktop connection from disconnecting, you can change Policy settings.
Step 1. Press Win + R to invoke the Run dialog box. Type in gpedit.msc and hit OK to open Registry Editor.
Step 2. Navigate here: Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Session Time Limits. Find Set time limit for disconnected session and Set a time limit for active but idle Terminal Services sessions on the right pane.
Step 3. Enable Set time limit for disconnected session to Never, and then enable Set time limit for active but idle Terminal Services sessions to Never.
Is there any way that could help you to completely avoid Remote Desktop "The connection has been lost" error? The answer is YES! You can try the free yet stable third-party remote desktop software for Windows, AnyViewer. Apart from stable connection, it is picked up also due to the highlights below:
Now, download it and read the following to learn how to use it to access an unattended PC with one click.
Step 1. Install and launch AnyViewer on both computers. Go to Log in > Sign up to create an AnyViewer account. (If you already have signed up on its official website, you can log in directly.)
Step 2. Then you can see you successfully logged in to AnyViewer. Your device will automatically be assigned to the account you've logged in.
Step 3. Log in to the same AnyViewer account on the two devices; On your local device, go to Device, and then you can achieve a direct connection by clicking One-click control.
When you get Remote Desktop "The connection has been lost. Attempting to reconnect to your session" error, you can fix it with the solutions listed above or resort to a professional and reliable remote access software to remotely connect to one computer from another computer without obstacle.