Remote App duplicate processes

Gergely Szabó 10 Reputation points
2025-02-04T10:36:05.12+00:00

We have a Windows server 2022 with RDS role, remote apps, and also the terminal gateway. When a user reconnect after idle timeout disconnected his session, he can reconnect to his disconnected session but the remote app (e.g. SSMS) is started again as a duplicate (two processes can be seen in task manager). This way he cannot continue where he left off. This problem is new to us as our previous Server 2019 RDS did not has this "bug". Any suggestions?

Windows for business | Windows Client for IT Pros | User experience | Remote desktop services and terminal services
{count} vote

1 answer

Sort by: Most helpful
  1. Daphne Huynh (WICLOUD CORPORATION) 160 Reputation points Microsoft External Staff Moderator
    2025-08-11T07:34:29.5266667+00:00

    Welcome to the Microsoft Q&A Platform and thank you for posting your question!

    You are experiencing duplicate RemoteApp processes, which often occur when multiple concurrent Remote Desktop sessions are allowed for the same user. Enforcing a single session per user can help resolve this.

    Restrict Users to a Single Remote Desktop Session

    This policy ensures each user can only have one active RDP session at a time. If a session already exists, Windows will reconnect to it instead of starting a new one, even when using a shared account. Troubleshooting steps:

    1.Open Local or Domain Group Policy Editor (gpedit.msc or gpmc.msc).

    2.Navigate to Computer Configuration → Administrative Templates → Windows Components → Remote Desktop Services → Remote Desktop Session Host → Connections

    3.Locate Restrict Remote Desktop Services users to a single Remote Desktop Services session

    4.Set it to Enabled

    5.Run gpupdate /force to apply immediately on the RDS host

    This prevents duplicate RemoteApp instances by reconnecting to the existing session instead of opening a new one.

    Additionally, if you use Remote Desktop Gateway or RDS Collections, review their timeout and session limit policies to ensure there are no conflicts.

    Please let me know if applying this policy resolves the duplicate session issue. Wishing you a smooth and successful fix!

    0 comments No comments

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.