RemoteApp Disconnected

reuvygroovy 776 Reputation points
2021-03-04T06:24:00.03+00:00

We receive the following error when the Session Host Server the user was connected to was rebooted (for example when we do nightly maintenance and patch updates). This warning/error message really bothers users when they arrive in the morning.

Is there any way to disable it?

74055-remoteappdisconnected.png

Remote Desktop
Remote Desktop
A Microsoft app that connects remotely to computers and to virtual apps and desktops.
4,341 questions
0 comments No comments
{count} votes

4 answers

Sort by: Most helpful
  1. Carl Fan 6,836 Reputation points
    2021-03-05T10:16:54.96+00:00

    Hi,
    Please check the group policy below:
    RemoteApp sessions are disconnected when all RemoteApp windows and user-launched notification area icons are closed
    https://learn.microsoft.com/en-us/troubleshoot/windows-server/remote/remoteapp-sessions-disconnected
    Hope this helps and please help to accept as Answer if the response is useful.
    Best Regards,
    Carl

    0 comments No comments

  2. reuvygroovy 776 Reputation points
    2021-03-07T06:21:42.333+00:00

    I don't think that could be the issue, since the server is up and running and the session is active. We are also already using the setting "Set time limit for disconnected sessions". The problem is when the server reboots, the client disconnects (obviously) with a strange error above.

    0 comments No comments

  3. Carl Fan 6,836 Reputation points
    2021-03-25T09:32:12.323+00:00

    Hi,
    This issue occurred after session host restart, the clients can't connect. So I consider you could try to check the setting below
    On your RDSH server, please enable RD keep-alives and then restart the server for the change to take effect. You may do this via group policy setting:

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

    Configure keep-alive connection interval Enabled

    Keep-Alive interval: 1
    Hope this helps and please help to accept as Answer if the response is useful.
    Best Regards,
    Carl

    0 comments No comments

  4. reuvygroovy 776 Reputation points
    2021-03-25T10:04:55.443+00:00

    Won't that basically though create a sticky session between the client and server forever? The load balancing mechanism on the broker will never work?

    0 comments No comments