Your Remote Desktop Services session has ended the connection to the remote computer was lost

Your Remote Desktop Services seesion has ended, I keep getting kicked out and unable to connect

Archived Forums

>

Windows 10 Networking

  • Question

  • Your Remote Desktop Services session has ended the connection to the remote computer was lost

    Your Remote Desktop Services session has ended the connection to the remote computer was lost

    0

    Sign in to vote

    Hello everyone,

    For the past two weeks I have been having trouble connecting to my machine via RDP. I keep getting these two errors:

    -Your Remote Desktop Services session has ended, possible for one of the following reasons:

    The admin has ended the session

    An error occurred while the connection was being established.

    A network problem occurred.

    -The number of connections to this computer is limited and all connections are in use right now.

    Both machines have Windows 10 Pro 1903 with the latest updates and drivers. Would should I try?

    Thank you,

    Wednesday, August 7, 2019 2:27 PM

All replies

  • Your Remote Desktop Services session has ended the connection to the remote computer was lost

    Your Remote Desktop Services session has ended the connection to the remote computer was lost

    1

    Sign in to vote

    HI

    1 are both win10(1903)computers in the same AD domain?
    2 can you enter gpresult /h rdp.html in command prompt on problematical win10 then look if there is domain policy or local policy about "Limit number of connections ".
    Computer Configuration\Administrative Templates\Windows Components\Remote Desktop Services\ Remote Desktop Session Host\Connections\ Limit number of connections


    3 are you using RDP wrapper on win10 computer ?

    4 there is a document for your reference

    Cannot log into Windows 10 the number of connections to this computer is limited and all connections are in use right now
    https://answers.microsoft.com/en-us/windows/forum/all/cannot-log-into-windows-10-the-number-of/b100ba40-cb98-4ca9-9230-9d04de02f197

    5 can you use virus software to scan your problematical win10 ?
    https://community.spiceworks.com/topic/2189609-the-number-of-connections-to-this-computer-is-limited-2016-rd-services

    6
    is there DNS problem for this issue ?
    How to troubleshoot “The number of connections to this computer is limited and all connections are in use right now. Try connecting later or contact your system administrator.” warning message
    http://www.kuskaya.info/2014/05/23/how-to-troubleshoot-the-number-of-connections-to-this-computer-is-limited-and-all-connections-are-in-use-right-now-try-connecting-later-or-contact-your-system-administrator-warning-message/


    Best Regards
    Andy YOU
    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact .


    • Edited by Andy YOUMicrosoft contingent staff Thursday, August 8, 2019 3:30 AM

    Thursday, August 8, 2019 3:15 AM

  • Your Remote Desktop Services session has ended the connection to the remote computer was lost

    Your Remote Desktop Services session has ended the connection to the remote computer was lost

    0

    Sign in to vote

    Hi Andy,

    1. The computer being remoted into is in the AD, the other computer is from home.

    2. There is no policy of limited connections

    3. I am using the regular Remote Desktop Connections application

    4. On which computer should I follow these steps for?

    5. Where can I view who is trying to remote in? Where is the log?

    6. I tried this and it didn't work.

    When remoting from a laptop, I get kicked out and multiple log in errors, but when I remote from a desktop I am able to stay connected.

    Thursday, August 8, 2019 2:08 PM

  • Your Remote Desktop Services session has ended the connection to the remote computer was lost

    Your Remote Desktop Services session has ended the connection to the remote computer was lost

    0

    Sign in to vote

    Is TCP3389 wide open? Two things are likely happening here...

    1) Your firewall \ PC is dropping the connection because...

    2) Somebody has identified RDP is an open port on the LAN and is brute force attacking it!

    RDP should NOT be used or opened up for external access unless secured behind an RDP Server / Gateway.

    If you only need direct access to one or a few machines and you can't afford the costs of RDP Server / Gateway setup then setup a VPN. Block external access via TCP3389 and VPN into the network to get RDP access via the private tunnel.

    Thursday, August 8, 2019 2:32 PM

  • Your Remote Desktop Services session has ended the connection to the remote computer was lost

    Your Remote Desktop Services session has ended the connection to the remote computer was lost

    0

    Sign in to vote

    We do have a RDP Server/Gateway with a firewall in place. Could it possibly be the laptop? Since the issue happened on two laptops already and not on the desktops.

    Thursday, August 8, 2019 2:59 PM

  • Your Remote Desktop Services session has ended the connection to the remote computer was lost

    Your Remote Desktop Services session has ended the connection to the remote computer was lost

    0

    Sign in to vote

    Does it work successfully inside your LAN with both source and destination computers AD domain joined?

    Monday, August 12, 2019 9:48 AM

  • Your Remote Desktop Services session has ended the connection to the remote computer was lost

    Your Remote Desktop Services session has ended the connection to the remote computer was lost

    0

    Sign in to vote

    HI

    7 "When remoting from a laptop, I get kicked out and multiple log in errors, but when I remote from a desktop I am able to stay connected."
    7.1 Are your win10 laptop and desktop in the same workgroup in your home and in the same network segment now ?
    7.2 when you try to rdp to AD jioned win10 on both laptop and desktop ,if you enter netstat -ano both laptop and desktop ,is there any difference about established remote connection to AD jioned win10pro.


    8 did you do network trouble shoot tool on your laptop like picture ?
    9 is there normal backup of win10 on your laptop then we can use it to recover to normal state ?
    10 backup win10 system of laptop first then check below method on your laptop
    https://answers.microsoft.com/en-us/windows/forum/all/cannot-log-into-windows-10-the-number-of/b100ba40-cb98-4ca9-9230-9d04de02f197

    Your Remote Desktop Services session has ended the connection to the remote computer was lost


    Best Regards
    Andy YOU
    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact .



    • Edited by Andy YOUMicrosoft contingent staff Friday, August 16, 2019 10:34 AM

    Friday, August 16, 2019 10:31 AM

  • Your Remote Desktop Services session has ended the connection to the remote computer was lost

    Your Remote Desktop Services session has ended the connection to the remote computer was lost

    0

    Sign in to vote

    HI
    Is there any progress on your question?


    Best Regards
    Andy YOU
    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact .

    Wednesday, August 21, 2019 3:13 AM

  • Your Remote Desktop Services session has ended the connection to the remote computer was lost

    Your Remote Desktop Services session has ended the connection to the remote computer was lost

    0

    Sign in to vote

    Hello,

    No, it's still the same after following your steps. I am still trying to figure it out. Thanks for your suggestions.

    Wednesday, August 21, 2019 2:23 PM

  • Your Remote Desktop Services session has ended the connection to the remote computer was lost

    Your Remote Desktop Services session has ended the connection to the remote computer was lost

    0

    Sign in to vote

    HI

    11 "We do have a RDP Server/Gateway with a firewall in place. Could it possibly be the laptop? Since the issue happened on two laptops already and not on the desktops."
    I'd like to clarify your problem so that there are IT friends here who can help you. is your environment the same as below ??
    your environment:
    home pc: win10(1903) in workgroup, but I am not sure laptop or desktop
    company computers: win10(1903) in AD ,they are desktop and laptop
    you can use home pc remote access to company computer(desktop).
    you can not use home pc remote access to company computer(laptop).


    12 if you only use wireless adapter of your company laptop ,will the problem persist ?
    if you only use Wired LAN adapter of your company laptop ,will the problem persist ?


    Best Regards
    Andy YOU
    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact .



    • Edited by Andy YOUMicrosoft contingent staff Monday, September 2, 2019 2:49 PM
    • Proposed as answer by Andy YOUMicrosoft contingent staff Thursday, September 5, 2019 3:07 PM

    Monday, September 2, 2019 2:47 PM

Troubleshoot Remote desktop disconnected errors

Is this page helpful?

Yes No

Any additional feedback?

Feedback will be sent to Microsoft: By pressing the submit button, your feedback will be used to improve Microsoft products and services. Privacy policy.

Submit

In this article

This article helps you understand the most common settings that are used to establish a Remote Desktop session in an enterprise environment, and provides troubleshooting information for Remote desktop disconnected errors.

Applies to: Windows Server 2012 R2
Original KB number: 2477176

Note

This article is intended for use by support agents and IT professionals.

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?

23 Replies

· · ·

Your Remote Desktop Services session has ended the connection to the remote computer was lost

Pure Capsaicin

OP

DragonsRule

Your Remote Desktop Services session has ended the connection to the remote computer was lost

This person is a verified professional.

Verify your account to enable IT peers to see that you are a professional.

Feb 15, 2018 at 15:15 UTC

Microsoft Remote Desktop Services expert

102 Best Answers

339 Helpful Votes

What are these people connecting to - an RDS Server or a Desktop OS?

0

· · ·

Your Remote Desktop Services session has ended the connection to the remote computer was lost

Serrano

OP

Michael7953 Feb 15, 2018 at 15:17 UTC

Desktop OS..

WIndows 7 Pro machines..

0

· · ·

Your Remote Desktop Services session has ended the connection to the remote computer was lost

Thai Pepper

OP

chmod0777

Your Remote Desktop Services session has ended the connection to the remote computer was lost

This person is a verified professional.

Verify your account to enable IT peers to see that you are a professional.

Feb 15, 2018 at 15:17 UTC

You did not say if the error might be true - maybe someone else actually is connecting? Also, the remote user would get the same message even if someone logged on to the computer locally...

0

· · ·

Your Remote Desktop Services session has ended the connection to the remote computer was lost

Serrano

OP

Michael7953 Feb 15, 2018 at 15:19 UTC

No one else is trying to connect or locally connectedd to the machine at the time. This user is working from home..

chmod0777 wrote:

You did not say if the error might be true - maybe someone else actually is connecting? Also, the remote user would get the same message even if someone logged on to the computer locally...

0

· · ·

Your Remote Desktop Services session has ended the connection to the remote computer was lost

Pure Capsaicin

OP

DragonsRule

Your Remote Desktop Services session has ended the connection to the remote computer was lost

This person is a verified professional.

Verify your account to enable IT peers to see that you are a professional.

Feb 15, 2018 at 15:20 UTC

Microsoft Remote Desktop Services expert

102 Best Answers

339 Helpful Votes

Michael7953 wrote:

Desktop OS..

WIndows 7 Pro machines..

Desktop OS only supports one RDP connection at a time. Is it possible there is an old connection still there, that didn't disconnect correctly?

0

· · ·

Your Remote Desktop Services session has ended the connection to the remote computer was lost

Serrano

OP

Michael7953 Feb 15, 2018 at 15:21 UTC

DragonsRule wrote:

Michael7953 wrote:

Desktop OS..

WIndows 7 Pro machines..

Desktop OS only supports one RDP connection at a time. Is it possible there is an old connection still there, that didn't disconnect correctly?

How can I check that?

0

· · ·

Your Remote Desktop Services session has ended the connection to the remote computer was lost

Mace

OP

bbigford

Your Remote Desktop Services session has ended the connection to the remote computer was lost

This person is a verified professional.

Verify your account to enable IT peers to see that you are a professional.

Feb 15, 2018 at 15:29 UTC

Michael7953 wrote:

DragonsRule wrote:

Michael7953 wrote:

Desktop OS..

WIndows 7 Pro machines..

Desktop OS only supports one RDP connection at a time. Is it possible there is an old connection still there, that didn't disconnect correctly?

How can I check that?

Have you checked the logs? Turn on auditing for success/failure if you haven't already.

0

· · ·

Your Remote Desktop Services session has ended the connection to the remote computer was lost

Mace

OP

AceOfSpades

Your Remote Desktop Services session has ended the connection to the remote computer was lost

This person is a verified professional.

Verify your account to enable IT peers to see that you are a professional.

Feb 15, 2018 at 15:30 UTC

Are they connecting to a VPN first? If so, it maybe be a timeout policy there.

0

· · ·

Your Remote Desktop Services session has ended the connection to the remote computer was lost

Mace

OP

Da_Schmoo

Your Remote Desktop Services session has ended the connection to the remote computer was lost

This person is a verified professional.

Verify your account to enable IT peers to see that you are a professional.

Feb 15, 2018 at 15:30 UTC

Microsoft Remote Desktop Services expert

50 Best Answers

207 Helpful Votes

Michael7953 wrote:

DragonsRule wrote:

Michael7953 wrote:

Desktop OS..

WIndows 7 Pro machines..

Desktop OS only supports one RDP connection at a time. Is it possible there is an old connection still there, that didn't disconnect correctly?

How can I check that?

Event Viewer - Applications and Services Logs, Microsoft, Windows, TerminalServices-RemoteConnectionManager, Operational

1

· · ·

Your Remote Desktop Services session has ended the connection to the remote computer was lost

Serrano

OP

Michael7953 Feb 15, 2018 at 15:46 UTC

Looking at the event viewer it occurred to me that in Goverlan - Power Mode - Autologin is turned on. Might that cause the other user to be dropped?

0

· · ·

Your Remote Desktop Services session has ended the connection to the remote computer was lost

Pure Capsaicin

OP

DragonsRule

Your Remote Desktop Services session has ended the connection to the remote computer was lost

This person is a verified professional.

Verify your account to enable IT peers to see that you are a professional.

Feb 15, 2018 at 15:47 UTC

Microsoft Remote Desktop Services expert

102 Best Answers

339 Helpful Votes

Michael7953 wrote:

Looking at the event viewer it occurred to me that in Goverlan - Power Mode - Autologin is turned on. Might that cause the other user to be dropped?

No. Goverlan Remote isn't RDP. Well, you can run RDP from Goverlan if you want to, but by default it uses its own program.

0

· · ·

Your Remote Desktop Services session has ended the connection to the remote computer was lost

Mace

OP

Da_Schmoo

Your Remote Desktop Services session has ended the connection to the remote computer was lost

This person is a verified professional.

Verify your account to enable IT peers to see that you are a professional.

Feb 15, 2018 at 15:47 UTC

Microsoft Remote Desktop Services expert

50 Best Answers

207 Helpful Votes

Michael7953 wrote:

Looking at the event viewer it occurred to me that in Goverlan - Power Mode - Autologin is turned on. Might that cause the other user to be dropped?

Probably. If someone logs in locally or unlocks the session, the remote user gets bumped off.

0

· · ·

Your Remote Desktop Services session has ended the connection to the remote computer was lost

Chipotle

OP

Treinosaurus

Your Remote Desktop Services session has ended the connection to the remote computer was lost

This person is a verified professional.

Verify your account to enable IT peers to see that you are a professional.

Feb 15, 2018 at 15:56 UTC

You could check the Event Viewer Security logs (Windows Logs > Security). It should log when someone/something logs into the computer.

1

· · ·

Your Remote Desktop Services session has ended the connection to the remote computer was lost

Pure Capsaicin

OP

DragonsRule

Your Remote Desktop Services session has ended the connection to the remote computer was lost

This person is a verified professional.

Verify your account to enable IT peers to see that you are a professional.

Feb 15, 2018 at 15:58 UTC

Microsoft Remote Desktop Services expert

102 Best Answers

339 Helpful Votes

Da_Schmoo wrote:

Michael7953 wrote:

Looking at the event viewer it occurred to me that in Goverlan - Power Mode - Autologin is turned on. Might that cause the other user to be dropped?

Probably. If someone logs in locally or unlocks the session, the remote user gets bumped off.

Oh, right. I was stuck in RDP mode... if that autologin is logging in a local user, RDP will give the error in the OP, because only one user is allowed at a time.

0

· · ·

Your Remote Desktop Services session has ended the connection to the remote computer was lost

Chipotle

OP

Rob Turner Feb 15, 2018 at 16:14 UTC

DragonsRule wrote:

Michael7953 wrote:

Desktop OS..

WIndows 7 Pro machines..

Desktop OS only supports one RDP connection at a time. Is it possible there is an old connection still there, that didn't disconnect correctly?

More specifically it supports one user at a time, be in physically local at the machine (keyboard/team viewer) or remote session protocol.

1

· · ·

Your Remote Desktop Services session has ended the connection to the remote computer was lost

Serrano

OP

Michael7953 Feb 15, 2018 at 17:37 UTC

Thanks everyone for the information. I looking at the security log it show my username as logging to that machine? I think that makes sence because I am looking at the event viewer remotely?

Security ID: MYDOMAINCASCIOMUSICCOMP\myusername
Account Name: myusername
Account Domain: MYDOMAIN
Logon ID: 0x18611c
Logon GUID: {f779c91a-a9c1-71b0-2eb0-86c9988a74e6}

This was at 10:12 CST

0

· · ·

Your Remote Desktop Services session has ended the connection to the remote computer was lost

Pure Capsaicin

OP

DragonsRule

Your Remote Desktop Services session has ended the connection to the remote computer was lost

This person is a verified professional.

Verify your account to enable IT peers to see that you are a professional.

Feb 15, 2018 at 17:40 UTC

Microsoft Remote Desktop Services expert

102 Best Answers

339 Helpful Votes

You'll want to look at the log for a time just before the user tried to RDP in, to see who was logged in at that time.

0

· · ·

Your Remote Desktop Services session has ended the connection to the remote computer was lost

Mace

OP

Da_Schmoo

Your Remote Desktop Services session has ended the connection to the remote computer was lost

This person is a verified professional.

Verify your account to enable IT peers to see that you are a professional.

Feb 15, 2018 at 18:42 UTC

Microsoft Remote Desktop Services expert

50 Best Answers

207 Helpful Votes

Look at the RDP log in the location I mentioned above.

0

· · ·

Your Remote Desktop Services session has ended the connection to the remote computer was lost

Serrano

OP

Michael7953 Feb 15, 2018 at 19:20 UTC

It look like it was the autolongin that was causing the issue. Is there a way that I can set it up so that more thank one user can be logged into a machine at one time? My thought is to keep the admin logged in incase of issues?

Thanks everone

0

· · ·

Your Remote Desktop Services session has ended the connection to the remote computer was lost

Pure Capsaicin

OP

DragonsRule

Your Remote Desktop Services session has ended the connection to the remote computer was lost

This person is a verified professional.

Verify your account to enable IT peers to see that you are a professional.

Feb 15, 2018 at 19:21 UTC

Microsoft Remote Desktop Services expert

102 Best Answers

339 Helpful Votes

Michael7953 wrote:

It look like it was the autolongin that was causing the issue. Is there a way that I can set it up so that more thank one user can be logged into a machine at one time? My thought is to keep the admin logged in incase of issues?

Thanks everone

No. Desktop OS only supports one user session at a time.

Goverlan will allow you to remote in to the existing session if you need to help a user.

0

· · ·

Your Remote Desktop Services session has ended the connection to the remote computer was lost

Tabasco

OP

junkyarddog

Your Remote Desktop Services session has ended the connection to the remote computer was lost

This person is a verified professional.

Verify your account to enable IT peers to see that you are a professional.

Feb 16, 2018 at 15:28 UTC

DragonsRule wrote:

Michael7953 wrote:

Desktop OS..

WIndows 7 Pro machines..

Desktop OS only supports one RDP connection at a time. Is it possible there is an old connection still there, that didn't disconnect correctly?

Wouldn't you get a warning saying there's another user logged in, do you want to sign that user out? That's at least I'm thinking.

0

· · ·

Your Remote Desktop Services session has ended the connection to the remote computer was lost

Pure Capsaicin

OP

DragonsRule

Your Remote Desktop Services session has ended the connection to the remote computer was lost

This person is a verified professional.

Verify your account to enable IT peers to see that you are a professional.

Feb 16, 2018 at 15:29 UTC

Microsoft Remote Desktop Services expert

102 Best Answers

339 Helpful Votes

junkyarddog wrote:

DragonsRule wrote:

Michael7953 wrote:

Desktop OS..

WIndows 7 Pro machines..

Desktop OS only supports one RDP connection at a time. Is it possible there is an old connection still there, that didn't disconnect correctly?

Wouldn't you get a warning saying there's another user logged in, do you want to sign that user out? That's at least I'm thinking.

OP posted the error he's getting, which does say someone else is logged in.

0

· · ·

Your Remote Desktop Services session has ended the connection to the remote computer was lost

Mace

OP

Da_Schmoo

Your Remote Desktop Services session has ended the connection to the remote computer was lost

This person is a verified professional.

Verify your account to enable IT peers to see that you are a professional.

Feb 16, 2018 at 15:44 UTC

Microsoft Remote Desktop Services expert

50 Best Answers

207 Helpful Votes

junkyarddog wrote:

DragonsRule wrote:

Michael7953 wrote:

Desktop OS..

WIndows 7 Pro machines..

Desktop OS only supports one RDP connection at a time. Is it possible there is an old connection still there, that didn't disconnect correctly?

Wouldn't you get a warning saying there's another user logged in, do you want to sign that user out? That's at least I'm thinking.

If logging in with a different account, yes. If the same account, it just bumps the other user.

0

This topic has been locked by an administrator and is no longer open for commenting.

To continue this discussion, please ask a new question.

Why Does My Remote Desktop Session End Because Another User Logs In When I Log In to a Windows ECS?

Updated at: Jan 19, 2022 GMT+08:00

Symptom

An error message is displayed indicating that your remote desktop session has ended because another user has connected to the remote computer.

Figure 1 Ended remote desktop session

Your Remote Desktop Services session has ended the connection to the remote computer was lost

Windows Server 2008

  1. Choose Start > Administrative Tools > Remote Desktop Services > Remote Desktop Session Host Configuration.

    Figure 2 Remote Desktop Session Host Configuration

    Your Remote Desktop Services session has ended the connection to the remote computer was lost

  2. Double-click Restrict each user to a single session and deselect Restrict each user to a single session, and click OK.

    Figure 3 Modifying the configuration

    Your Remote Desktop Services session has ended the connection to the remote computer was lost

Windows Server 2012

  1. Choose Start > Run. In the Run dialog box, enter gpedit.msc and click OK to start Local Group Policy Editor.
  2. Choose Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Connections.

    Figure 4 Connections

    Your Remote Desktop Services session has ended the connection to the remote computer was lost

  3. Double-click Restrict Remote Desktop Services users to a single Remote Desktop Services session, change the value to Disabled, and click OK.

    Figure 5 Modifying the configuration

    Your Remote Desktop Services session has ended the connection to the remote computer was lost

  4. Run gpupdate/force to update the group policy.

Parent topic: Remote Login Errors on Windows