Forum Discussion
Jgq85
Mar 02, 2020Brass Contributor
Where to control settings when closing the remote connection?
When a connection is open to the Remote Desktop via the web or Windows client, when you close/disconnect the window, does that cause things running in Windows to stop? Is there a way to leave everyth...
Dolf
Mar 03, 2020Copper Contributor
Hi Jgq85,
Please have a look at the following regedits:
| reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v RemoteAppLogoffTimeLimit /t REG_DWORD /d 0 /f reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v fResetBroken /t REG_DWORD /d 1 /f reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v MaxConnectionTime /t REG_DWORD /d 10800000 /f reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v RemoteAppLogoffTimeLimit /t REG_DWORD /d 0 /f reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v MaxDisconnectionTime /t REG_DWORD /d 5000 /f reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v MaxIdleTime /t REG_DWORD /d 10800000 /f |
link for reference.
https://docs.microsoft.com/en-us/azure/virtual-desktop/set-up-customize-master-image#software-preparation-and-installation
Please take note that the time set, could interrupt your end-users / they get disconnected if the time window is too small vs the working hours of your client.
Kind regards,
- Jgq85Mar 04, 2020Brass Contributor
- benjamink9Mar 04, 2020Copper Contributor
Jgq85 i've found that limiting user to a single session and setting a "sign out disconnected users" in the group policy for remote desktop services is pretty important in our deployment -- especially with fslogix.