By Ellie Twitter / Last Updated May 6, 2023

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

You can get kinds of errors when using Remote Desktop Connection; apart from Connection has been lost error, Remote Desktop can't find the remote computer is also a common error.  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 & free PC remote connection software: AnyViewer

Is there any way that could help you to completely avoid Remote Desktop connection has been lost? The answer is YES! You can try the stable and free third-party remote desktop software for Windows, AnyViewer.   Apart from stable connection, it is picked up also due to the highlights below:

  • Compatible: It works with all Windows versions, from old Windows 7 to the latest Windows 11, no matter Home edition or Professional edition. Thus you don't need to pay money to upgrade Windows Home to Professional for remote access. 
  • Secure: End-to-end ECC encryption prevents data leaking on both ends; the Lock interface feature prevents AnyViewer setting from being changed when you let others use your computer for a while. 
  •  Feature-rich: It is featured with many users able features. The chat function allows users on both ends to communicate conveniently; the File transfer feature enables you to transfer files between two computers effectively. 
  • Flexible: Both unattended remote access and attended access over LAN or from a different network are supported. 

Now, download it and read the following to learn how to use it to access an unattended PC with one click. 

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

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

Log in AnyViewer

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. 

Free Editions

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

Connect to My Devices

✍ Importance: AnyViewer also offers advanced plans where you can assign more devices for one-click remote access and enjoy advanced features, including high-quality image, privacy mode access, and so on.


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.