RDS 2019 Server - Re-connect causes temporary profile

Lars Olsen 1 Reputation point


First, let's list up my servers and their roles:
RDF-01 = Dedicated file server for UPD (User Profile Disks)
RDG-01 = Gateway & RDweb
RDB-01 = Session Broker & Licensing
RDH-01...04 = Session Host severs

All servers are Windows Server 2019 version 1809, fully patched as I'm writing this post.

Now the issue:
When using RemoteApps (Published Apps) - closing the last running application of the session, will cause a disconnect after a 20 second delay. So far so good.


While the session is disconnected, Sidder.exe tells me that the UPD is still active (in use). Also to be expected.


But if I open another (or the same) application while the session is disconnected, the UserProfile is no longer loaded successfully. Instead the user now has been logged on with a temporary UserProfile.

Seems to me that the user now has a new session, and the old one is just gone somwhere in cyberspace.

Looking at the Connection list of the Collection inside Server Manager, I can see that the user has no longer any disconnected sessions. Only one Active session is listed for the user. But it looks strange, as the user now has an Active session state. But also a Disconnect Time and an Idle Time.

But still, logging off the user - will in any case affect all sessions for that user, thus releaseing the UPD. And when opening a new application, it loads the UPD just fine.


Looking at my Session Collection settings, I would say that a session should be available for re-connection for 1 hour after the last application is closed.
I have also tried the "End the session" option, whitout any change in behavior.


To make this even more strange, there is no issue while using "Full Desktop". Then disconnecting and re-connecting works just fine.

I'm out of ideas and need some help.

Remote Desktop
Remote Desktop
A Microsoft app that connects remotely to computers and to virtual apps and desktops.
3,046 questions
Windows Server 2019
Windows Server 2019
A Microsoft server operating system that supports enterprise-level management, data storage, applications, and communications.
2,199 questions
{count} votes

9 answers

Sort by: Most helpful
  1. Eleven Yu (Shanghai Wicresoft Co,.Ltd.) 10,441 Reputation points Microsoft Employee


    We suggest that you could first check if there is any event log created on the session host server during the issue time

    Troubleshoot user profiles with events

    We also find below troubleshooting guide for Temporary Profile Issues with User Profile Disks

    Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.


    ---Please do not forget to accept answer if it is helpful---

    No comments

  2. Lars Olsen 1 Reputation point

    Hello @Eleven Yu (Shanghai Wicresoft Co,.Ltd.) and thanks for replying.

    The UPD is in use, as I have written in my original post. This behavior is expected, as the client session is in a disconnected state and not logged off state.

    The problem as it seems to me, is that the user is given a new session instead of re-using the already existing (disconnected) session.

    When using Full Desktop, there is no issue. Only when using RemoteApps is the issue present. So I highly doubt there is a profile issue.

    If all I want to do is to release the UPD, I could reduce the "End a disconnected session" time down to 1 minute. But this is not what I want.

    My preferred outcome, is that the user can re-connect to he's existing (disconnected) RemoteApp session.

    No comments

  3. Eleven Yu (Shanghai Wicresoft Co,.Ltd.) 10,441 Reputation points Microsoft Employee


    Since the provided information could not help troubleshoot your issue, you might need to capture some dumps or traces to further investigate the issue, which I suggest to contact Microsoft Customer Support and Services where more in-depth investigation can be done so that you would get a more satisfying explanation and solution to this issue.
    You may find phone number for your region accordingly from the link below:

    Global Customer Service phone numbers


    No comments

  4. RaHu 1 Reputation point

    any news on this one?

    No comments

  5. Elhadi 256 Reputation points


    Any solutions for this issue?

    No comments