Windows 10 Remote Desktop connection has been lost
“I have installed Windows 10 on my two computers and I am finding that connections established using RDP keep dropping out after about 10 seconds. I never had this problem before I upgraded to Windows 10. I’ve already tried fixing the problem by deleting recent updates, checking certificate validity, double-checking networking problems, but no luck. Any ideas how to fix this problem?”
The complete error message is shown below: Remote Desktop The connection has been lost. Attempting to reconnect to your session... Connection attempt: 1 of 20.
Three ways to fix Remote Desktop the connection has been lost
From the feedback of users, we sort out three tested solutions to help you fix Windows 10 Remote Desktop the connection has been lost.
Solution 1. Ping IP Address via CMD
If the remote session 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. Press Win + R to invoke the Run dialog box. Type in “cmd” and hit OK to open Command Prompt.
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.
Solution 2. Change the device settings used for remote session
It has been tested by some users that unselect the option Smart cards or Windows Hello for Business helps troubleshoot the problem. 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.
Solution 3. Check the Group Policies
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. You can change the settings to configure a time limit for disconnected Remote Desktop Services sessions.
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.
Stable third-party remote connection software: AnyViewer
Is there any way that could help you to completely avoid Windows 10 Remote Desktop the connection has been lost? The answer is YES! You can try the stable and free third-party remote desktop software for Windows, AnyViewer. It is applicable to multiple Windows versions, including Windows 10 and the latest Windows 11.
AnyViewer is developed by a strong technical team, providing you with a stable connection. It is the best free remote control software on the market. Remotely working with AnyViewer, you don’t need to worry about normal RDP problems like Server RDP not working.
Read the following to learn about the operation steps of unattended remote access.
Step 1. Download, install and launch AnyViewer on both computers.
Step 2. Go to Log in, and then click Sign up. (If you already have signed up on its official website, you can log in directly.)
Step 3. Fill in the signup information.
Step 4. Then you can see you successfully logged in to AnyViewer. Your device will automatically be assigned to the account you've logged in.
Step 5. Log in to the same AnyViewer account on the two devices, then you can achieve a direct connection by clicking Remote control.
Note: You can also upgrade your account to Professional or Enterprise edition to assign more devices and to connect to another computer in privacy mode.