RDS 2019 Server - Re-connect causes temporary profile

Lars Olsen 1 Reputation point
2020-09-02T13:13:58.073+00:00

Hi.

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.

22223-disconnected.jpg

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

22251-sidder.jpg

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.

22252-re-connected.jpg

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.

22030-sessioncollection.jpg

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.

Windows Server 2019
Windows Server 2019
A Microsoft server operating system that supports enterprise-level management updated to data storage.
3,458 questions
Remote Desktop
Remote Desktop
A Microsoft app that connects remotely to computers and to virtual apps and desktops.
4,244 questions
{count} votes

9 answers

Sort by: Most helpful
  1. Eleven Yu (Shanghai Wicresoft Co,.Ltd.) 10,676 Reputation points Microsoft Vendor
    2020-09-03T04:46:26.377+00:00

    Hi,

    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
    https://learn.microsoft.com/en-us/windows-server/storage/folder-redirection/troubleshoot-user-profiles-events

    We also find below troubleshooting guide for Temporary Profile Issues with User Profile Disks
    https://helpcenter.itopia.com/en/articles/1906130-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.

    Thanks,
    Eleven

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

    0 comments No comments

  2. Lars Olsen 1 Reputation point
    2020-09-04T08:58:19.143+00:00

    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.

    0 comments No comments

  3. Eleven Yu (Shanghai Wicresoft Co,.Ltd.) 10,676 Reputation points Microsoft Vendor
    2020-09-07T05:44:27.243+00:00

    Hi,

    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
    https://support.microsoft.com/en-us/help/4051701/global-customer-service-phone-numbers

    Thanks,
    Eleven

    0 comments No comments

  4. RaHu 1 Reputation point
    2020-10-27T13:00:18.163+00:00

    any news on this one?

    0 comments No comments

  5. Elhadi 256 Reputation points
    2021-02-08T18:05:31.053+00:00

    Hi,

    Any solutions for this issue?

    0 comments No comments