How to fix RDP error: your Remote Desktop Services session has ended, possibly for…

When you connect remotely using Remote Desktop to any Windows computer. It appears error “Your Remote Desktop Services session has ended, possibly for one of the following reasons”

Or there can be kinds of errors when you try to access a remote computer over RDP. “Your Remote Desktop Services session has ended”

In this article, we will show you some ways to fix the above problem

Solution 1. Disable WDDM graphics driver

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

Solution 2. Enabled “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.

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>Turn off UDP on Client

Step 3. Double click “Turn off UDP on Client” and choose “Enabled”.

Solution 3. Check Group Policy

One of the possible causes of the error is incorrect Group Policy settings.

Step 1: Press the Windows + R key combination to open the Run dialog box and enter “gpedit.msc”.

Step 2. Go to the following path:

Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Connections.

Step 3. Double click “Allow users to connect remotely by using Remote Desktop Services” and choose “Enabled”.

Conclusion

In ours case after performing the above steps, we did not see the error again.

Hopefully this article will be useful for you. Good luck !

On this page