Your Remote Desktop Services session has ended, possibly for...
" I need to use Windows Remote Desktop for a long time and it has always worked well. Until the last week, I accidentally update Windows 10 system and I can’t remote desktop to the remote computer and got the error message – “Your Remote Desktop Services session has ended, possibly for one of the following reasons:
- The administrator has ended the session.
- An error occurred while establishing the connection.
- There is a network problem."
Before the Windows 10 update, Remote Desktop worked perfectly. Is there someone can tell me what to do?
The other conditions of “Your Remote Desktop Session has ended”
“Your Remote Desktop Session has ended” is a common RDP error and it has another two situations:
▪ Your Remote Desktop Service session has ended. The connection to the remote computer was lost, possible due to …
▪ Your Remote Desktop Services session has ended. Another user connected to the remote computer, so your connection was lost…
What causes “Your Remote Desktop Services session has ended”?
All in all, there are five reasons that can account for the RDP service session has ended error:
Automatic login: To save time, may users write specific information into the registry to realize automatic login. This is indeed a very convenient setting, but in some cases, it may affect the remote desktop connection and cause the above error.
Windows update: Sometimes, update may bring a new experience but it may also cause new troubles.
Not compatible with WDDM graphics driver: It’s difficult to explain why the WDDM graphics driver is incompatible with RDP, but in fact, it does affect the remote desktop connection, which is also an important reason for the above cases.
The network connection is wrong: Network is essential to remote connection. When network connection is wrong, the error can appear.
Remote session conflict: Remote Desktop has a limit on the maximum number of the people logged in. When multiple people log in at the same time, another user is connected to the remote computer error happens.
How to fix “Your Remote Desktop Service session has ended”
Based on the three different situations of RDP session has ended, you can take different solutions respectively.
To fix “Your Remote Desktop Service session has ended, possible for one of …, you can disable WDDM graphics driver, update or downgrade Windows, turn off UDP on Client, turn off automatic login.
To repair “Your Remote Desktop Service session has ended. The connection with the remote computer is lost…”, you can modify the network properties.
To solve “Your Remote Desktop Service session has ended. Another user …”, you can check the login log.
The six solutions for the errors are presented in the following content, select the proper ones.
Way 1. Disable WDDM graphics driver
WDDM graphic driver is an important feature in Windows 10. But based on the feedback of a large number of users, it can cause RDP error. If so, disable the WDDM graphics driver is a wise choice.
Step 1. Press “Windows” + “R” to open Run window, input “gpedit.msc” and click “Enter” to open Local Group Policy Editor.
Step 2. Go to the following path:
Local Computer Policy > Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services> Remote Desktop Session Host > Remote Session Environment.
Step 3. Locate “Use WDDM graphics display driver for Remote Desktop Connections” and double click it. Then, choose “Disabled” and click “OK”.
Step 4. Reboot the PC and see if remote session can be established.
Way 2. Update or downgrade Windows
Windows update can repair some issues and bring issues as well. Thus, you can update Windows or downgrade to an older version to see whether the RDP session has ended can be resolved.
Step 1. Press “Windows” + “R”, input “ms-settings:system” to open Windows Settings window.
Note: This way is suitable to open Windows Settings in Windows 11/10. To open Settings in Windows 7, you can click “Start” and choose “Control Panel” to find out Windows Settings.
Step 2. Click “Update & Security” and click “Windows Update”. Then, check “Optional Quality update available”. If the option is not showing up, click “Check for updates” button to update to the latest Windows version.
Step 3. If your Windows is in the latest version, you can switch to “Recovery” from “Windows Update” and then click the “Get started” under “Go back to the previous version of Windows 10”.
Wait patiently for the computer to update or downgrade. Then, you can see if the issue is fixed.
Way 3. Turn off the UDP on Client
UPD (User Datagram Protocol), a kind of communication protocol, is mainly used to establish low-latency and fault-tolerant connections between applications over the Internet. In some cases, it may become the culprit that causes RDP error. Then, you need to close the UDP on Client. Here are three ways to achieve the goal.
1. Turn off the UDP on Client from Local Group Policy Editor
Step 1. In the Run dialog, input “gpedit.msc” to open Local Group Policy Editor.
Step 2. Go the following path:
Local Computer Policy > Computer Configuration>Administrative Templates>Windows Components>Remote Desktop Services>Remote Desktop Connection Client
Step 3. Double click “Turn off UDP on Client” and choose “Enabled”.
2. Close client UDP from Registry Editor
Step 1. Press Windows + R, input “regedit.exe” to open Registry Editor.
Step 2. Navigation to:
HKEY LOCAL MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services\Client
Step 3. Locate “fClientDisableUDP”, double click it and change Value from 0 to 1. Then, click “OK”.
3. Turn off client UDP from Powershell
Step 1. Press Windows + X combination and choose “Windows PowerShell”.
Step 2. Input “New-ItemProperty 'HKLM:\SOFTWARE\Microsoft\Terminal Server Client'
-Name UseURCP -PropertyType DWord -Value 0” and hit Enter to execute the command.
Way 4. Turn off automatic login
Step 1. In the Run box, input “regedit.exe” to open Registry Editor.
Step 2. Then go to: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlog.
Step 3. Locate “ForceAutoLogon”, double click it and change the Value from 1 to 0. Then, click “OK”.
Way 5. Modify the network properties
RDP service session has ended, due to network connectivity problems errors can occur as you what you used is public network. Then, you need to switch to private network.
Step 1. Step 1. Press “Windows” + “R”, input “ms-settings:system” to open Windows Settings window in Windows 10/11.
Step 2. Click “Network & Internet”. Locate the connected network, click “Change connection properties”.
Step 3. In the pop-up window, switch to “Private” from “Public”.
Way 6. Check login log
Your Remote Desktop Services session has ended. Another user… error means that your PC is forcibly disconnected from the remote session or you remote into the same remote computer again and turn off the original session. To figure out the face, you can check login log.
Step 1. In the Search box, input Command Prompt, right-click it, and choose “Run as administrator”.
Step 2. Type “quser” and hit Enter to check out the logged user.
You can also check the logged user from Event Viewer.
Step 1. In the Search box, type “Event Viewer” and open it.
Step 2. Find out “Windows Logs” and click “Security”. Then press “Ctrl” + “F”, input “4626” and click “Find Next” to check all login events.
A final workaround to RDP service session has ended
Feel tired to fix RDP errors? It’s time to void the errors like Your Remote Desktop service session has ended completely by switching to a completely free & safe third-party utility for remote connection, AnyViewer. Compared with RDP, it has those advantages.
- 1. It’s applicated to all editions of Windows 11/10/8.1/8/7 and Windows Server 2022/2019/2016/2012 R2 while Windows Remote Desktop can’t connect to Windows 10 Home computer.
- 2. It supports remote connection over different networks without port forwarding.
- 3. It adopts ECC (Elliptic Curve Cryptography) encryption algorithm. Compared with the RSA, adopted by RDP, ECC can offer the same cryptographic strength as RAS, with much smaller key sizes.
Now, let’s work through how it works:
Step 1. Download it. Install and run the utility on both the host computer (the recipient) and the client computer (the controller). Make sure that the two PC are connected to the network.
Note: To access the remote computer in privacy mode (the screen of the remote PC will be black and the keyboard & mouse of the remote PC will be disabled), you need to upgrade to an advanced plan.
Step 2. Then, click "Device" and find out the remote PC that you want to access. Click "Remote control" to get one-click remote access to the remote PC.
Step 3. Then you can see the desktop of the remote computer and take operations as if you were sitting in front of it.