- Newest
- Most votes
- Most comments
Hello there,
If there is an error when the disconnect happens, the error message would have helped us understand the issue.
You can configure the logs collection to trace the error: Useful log files for troubleshooting RDS issues https://learn.microsoft.com/en-us/troubleshoot/windows-server/remote/log-files-to-troubleshoot-rds-issues?source=recommendations
As this issue is specific to the Microsoft Windows roles - Remote Desktop Services, I will be sharing the troubleshooting articles from Microsoft documentations.
1.1 To start with, check the GPO hat target users that use remote apps. User Configuration\Policies\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Session Time Limits Change the settings if you need. Respective Registry settings: HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services\RemoteAppLogoffTimeLimit
Create a WMI Filter on that GPO that will make the GPO execute only on Terminal Server; Select * From Win32_TerminalServiceSetting Where TerminalServerMode=1
2.1. Check the number of simultaneous remote connections On RD session host server, click Start > Administrative Tools and navigate to Remote Desktop Services > Under Connections, right click and open Properties of the connection. In the Network Adapter tab, click Maximum connections and enter the number of simultaneous connections required and click OK. Note: If the Maximum connections option is selected and dimmed, the Limit number of connections Group Policy setting has been enabled and has been applied to the RD Session Host server. You need to change the maximum number of simultaneous connections to avoid frequent disconnections.
2.2 Check the 'Limit number of connections' policy Open the appropriate group policy or the local security policy in the Group Policy snap-in. Navigate to Computer Configuration >> Administrative Templates >> Windows Components >> Remote Desktop Services >> Remote Desktop Session Host >> Connections. Click enabled for 'Limit number of connections' options. Change the required number of simultaneous connections in the 'RD Maximum Connections allowed' box and click OK.
3.1 Review if this scenario is applicable: https://learn.microsoft.com/en-us/troubleshoot/windows-server/remote/remoteapp-sessions-disconnected
4.1 Finally, go through all the possible causes mentioned in the article below to see if that is applicable to your case. https://learn.microsoft.com/en-us/troubleshoot/windows-server/remote/troubleshoot-remote-desktop-disconnected-errors
All the best!
Thank you so much. I will see if any of this help. I've been banging my head against this for a week now.
Relevant content
- asked 9 months ago
- asked 7 months ago
- asked a year ago
- asked 2 years ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated a year ago