By Ellie / Last Updated November 4, 2021

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.

The Connection Has Been Lost

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. 

Run Box CMD

Step 2. Enter the command “ping -t SERVER_IP”. (Replace SERVER_IP with your IP Address)

Ping Server IP

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.

Find the Computer Name in the Console

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.

Show Options

Step 2. Switch to Local Resources and then click More.

Local Resources More

Step 3. Find the option Smart cards or Windows Hello for Business and then unselect it.

Smart Cards or Windows Hello for Business

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.

Run Box Gpedit.msc

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.

Group Windows Components

Session Time Limits

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.

Set Time Limit for Disconnected Sesions

Set Time Limit for Active but Idle Sesions

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 two remote control methods respectively.

Download Freeware Win 11/10/8.1/8/7/XP
Secure Download

Methods 1. Send a control request

Step 1. Download, install and run AnyViewer on both computers. Here you can see the temporary security code of the computer that can be used to access this PC.

Temporary Code

Step 2. On the client computer, input the device ID of the host computer, then click Connect. There will be a pop-up window, choose Send a control request to your partner and click OK.

Send a Control Request to Your Partner

Step 3. Then the host computer will receive a pop-up request. People sitting in front of the host computer need to click the green button to make the connection successful.

Request to Control Your Device

Methods 2. Input security code

There are two types of security codes:

  • A permanent security code is set by you in advance.
  • A temporary security code is automatically generated and will change every time.

Step 1. On the computer which receives remote assistance, go to Settings > Recipient. Tick the third option. Set the security code you want in the box. Then click OK to finish the set-up process.

Accept Remote Control

Step 2. Return to the main interface of AnyViewer on the host computer, you could see the Temporary Security Code.

Copy the Temporary Security Code

Step 3. On the client computer, input the device ID of the host computer in the Partner ID box, and then click Connect.

Connect

Step 4. Then there will be a pop-up window, choose Input a security code, then input either the permanent security code or the temporary security code of the host computer and click OK.

Security Code