Windows Server 2022 active directory / remote desktop - SOMETIMES the user account, when created, doesn't work for RDS

Anonymous
2024-01-03T17:47:26+00:00

Hi all,

My setup

  1. Active Directory Server
  2. Licensing Server
  3. RD Gateway
  4. RD Session host 1
  5. RD Session host 2
  6. Web server

We use RemoteApp to share out our own built application. When I create a user in Active Directory, normally, we can log into RemoteApp and the user has no issues; however, sometimes, for no apparent reason, we will create a username / password, the user can not log into the RemoteApp. I get the prompt that the credentials are invalid. If I change the credentials to something simple like ABC1234567, which is accepted and I re-try to log in with RemoteApp, I still get an invalid credentials error.

I have tried logging behind the RD Gateway and it seems to work. (On the Hyper-V Host > mstsc > username / password). It's just at other side of RD Gateway (from outside the network), things don't work.

Again, this is once in a while when I create a user. If that user doesn't work, and I make up a totally different naming / password combo, then it will work. It is as if the username somehow gets permanently locked.

I have even explicitly checked UNLOCK account after giving a new password.

No matter what I do, delete the account and redo it, reboot all the servers, I will never be able to log in.

Still nothing.

In summary:

Windows Server 2022 active directory / remote desktop - SOMETIMES the user account, when created, doesn't work for RDS

Best regards,

Mubeen

Windows Server Identity and access User logon and profiles

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question. To protect privacy, user profiles for migrated questions are anonymized.

0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Anonymous
    2024-01-04T02:18:05+00:00

    Hello Mubeen Deen,

    Thank you for posting in Microsoft Community forum.

    What did you mean "outside the network"?
    Are the work accounts and non-working accounts in the same network? If so, what are the differences between work accounts and non-working accounts?

    If you have any question or concern, please feel free to let us know.

    Best Regards,
    Daisy Zhou

    0 comments No comments
  2. Anonymous
    2024-01-04T16:11:18+00:00

    Hello Mubeen Deen,

    Thank you for posting in Microsoft Community forum.

    What did you mean "outside the network"?
    Are the work accounts and non-working accounts in the same network? If so, what are the differences between work accounts and non-working accounts?

    If you have any question or concern, please feel free to let us know.

    Best Regards,
    Daisy Zhou

    HI Daisy,

    Inside means the user is behind the firewall and RD Gateway.

    Outside the network meaning, if the user is connecting via the Internet through Firewall and RD Gateway.

    Regards,

    Mubeen

    0 comments No comments
  3. Anonymous
    2024-01-05T01:23:39+00:00

    Hello Mubeen Deen,

    Thank you for your reply.

    Did the issue or all non-working users occur outside the network?

    Best Regards,
    Daisy Zhou

    0 comments No comments