By Annie / Last Updated March 14, 2023

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

Connection Ended

Before the Windows 10 update, Remote Desktop worked perfectly. Is there someone who can tell me what to do?

The other conditions of “Your Remote Desktop Session has ended”

There can be kinds of errors when you try to access a remote computer over RDP.  “Your Remote Desktop Services session has ended” is a common one and it has another two types:

▪ Your Remote Desktop Service session has ended. The connection to the remote computer was lost, possibly due to …

Computer Lost

▪ Your Remote Desktop Services session has ended. Another user connected to the remote computer, so your connection was lost…

Another User

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, Windows updates 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 the network connection is wrong, the "Your Remote Desktop Services session has ended" error can appear.
▪ Remote session conflict: Remote Desktop has a limit on the maximum number of 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 the RDP service session has ended, you can take different solutions respectively. Or you can switch to an alternative to RDP to complete remote access without any obstacles. 

▶ To fix “Your Remote Desktop Service session has ended, possible for one of …", you can check out the first 4 ways to disable WDDM graphics driver, update or downgrade Windows, turn off UDP on Client, or turn off automatic login.

▶ To repair “Your Remote Desktop Service session has ended. The connection with the remote computer is lost…”, you can see way 5 to modify the network properties.

▶ To solve “Your Remote Desktop Service session has ended. Another user connected to …”, you can go to way 6 to 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 errors. If so, disabling 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.

Group Policy

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.

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 the remote session can be established.

Way 2. Update or downgrade Windows

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

Optional Updates

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 remote desktop session has ended error has been 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 errors. 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”.

Turn Off UDP on Client

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. 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 and click “Change connection properties”.

Step 3. In the pop-up window, switch to “Private” from “Public”.

Change Network from Public to Network

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

Event Viewer

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. Wide compatibility: 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. Easy setup for remote access over the internet: It supports remote connection over different networks without port forwarding or setting up VPN.
3. High security: It adopts ECC (Elliptic Curve Cryptography) encryption algorithm for end-to-end encryption. 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 PCs are connected to the network. To access a PC from a mobile device, go to App Store or Google Play to free download AnyViewer mobile apps. 

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

Step 2. Sign up for an AnyViewer account and sign in to the account on the two computers. The PC will be assigned to the account automatically after login. 

Sign In

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 "One-click control" to get one-click remote access to the remote PC. 

Device

Step 3. Then you can see the desktop of the remote computer and take operations as if you were sitting in front of it. 

Operation

Conclusion

It's not an easy task to fix "Your Remote Desktop Service session has ended" out of its complicated causes. Therefore, it's highly recommended to switch to the stable and secure Remote Desktop alternative, AnyViewer for a better remote access and control experience.