RDS session using wrong profile

Motola Oshin 20 Reputation points
2023-08-09T14:34:43.43+00:00

I have a user with two AD accounts. "profile_A" and "profile_Z", the user is logged into the workstation using the profile_A account.
The user needs to launch an RDS application using the profile_Z's profile, however the RDS session is usually created with the profile_A profile.
I found that the remote RDS session is always created with the profile of the local user logged into the workstation.
This is a strange behavior, I never saw any issue like this with Citrix, is this the expected behavior in the RDS world?

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

Accepted answer
  1. Limitless Technology 44,696 Reputation points
    2023-08-10T12:29:26.38+00:00

    Hello,

    When a user initiates an RDS session from a local machine, the RDS session inherits the user profile and credentials of the local user who initiated the session. This behavior applies to both Microsoft's native RDS and third-party solutions like Citrix.

    This design has its roots in security and user isolation principles. Each user's RDS session is intended to be a separate, isolated environment, and it's consistent with the way the Windows operating system handles user profiles.

    My recommendation would be to use the "RUNAS" commandline to open RDS as a different user, or instead create a batch file for the simplicity of the user to not execute commandline each time.

    Reference for RUNAS: https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-r2-and-2012/cc771525(v=ws.11)

    Hope this resolves your Query !!

    --If the reply is helpful, please Upvote and Accept it as an answer–


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.