By Ellie / Last Updated October 27, 2022

Windows 10 Remote Desktop the connection has been lost

“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. I never had this problem before Windows 10 update. I’ve already tried to fix it by deleting recent updates, checking certificate validity, and double-checking networking problems, but no luck. Why does my Remote Desktop keep losing connection? Any ideas on how to fix this issue?”

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 Remote Desktop the connection has been lost on Windows 11/10/8/7.

Solution 1. Ping IP Address via CMD

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. 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 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.

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. 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.

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 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. Developed by a strong technical team, It can provide you with a stable connection.  Remote work with AnyViewer, you don’t need to worry about normal RDP problems. 

Download it and read the following to learn about the operation steps of unattended remote access.

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

Step 1. Install and launch AnyViewer on both computers. Go to Log in, and then click Sign up. (If you already have signed up on its official website, you can log in directly.)

Log in AnyViewer

Step 3. Fill in the signup information and click Sign up to create an AnyViewer account. 

Sign Up for AnyViewer

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.

Free Editions

Step 5. Log in to the same AnyViewer account on the two devices, then you can achieve a direct connection by clicking One-click control

Connect to My Devices

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.


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.