Skip to content

Commit c10633d

Browse files
committed
update as tech review comments.
1 parent 903b00b commit c10633d

1 file changed

Lines changed: 10 additions & 3 deletions

File tree

support/windows-server/remote/troubleshoot-unexpected-rds-session-locks-or-disconnections.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@ Disconnects occurring without a consistent timing pattern are more likely caused
2929

3030
On a Windows computer, when **MaxIdleTime** or **MaxConnectionTime** are configured, RDS sessions disconnect when conditions are met with distinct messages. Additional RDS session time limit policies determine the behavior after a session is disconnected.
3131

32-
The two registry values locate at `Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp`.
33-
3432
| Configuration | Set time limit for active but idle RDS sessions | Set time limit for active RDS sessions |
3533
| :------------------------ | :-------------------------------------------------------------------------------------------------------- | :--------------------------------------------------------------------------------------------------------------------------------------------- |
3634
| Registry (Type:REG_DWORD) | MaxIdleTime | MaxConnectionTime |
@@ -42,9 +40,11 @@ You can use the following two methods to configure the above registry values.
4240

4341
The default configuration for these session limits should be set at the **Collection** > **Properties tasks** > **Session** on the server that manages the RDS deployment. Usually, the server is the Remote Desktop Connection Broker. These settings are then applied to the registry of the Remote Desktop Session Hosts in that collection.
4442

43+
The registry values locate at `Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp`.
44+
4545
> [!NOTE]
4646
>
47-
> - If users connect to the RDS Deployment through a Remote Desktop Gateway (RDGW), similar configuration can be done in **RDGW manager > Policies > Connection Authorization Policies > Timeouts tab**. Users that bypass the RDGW won't be affected.
47+
> - If you connect to the RDS Deployment through a Remote Desktop Gateway (RDGW), similar configuration can be done in **RDGW manager > Policies > Connection Authorization Policies > Timeouts tab**. Users that bypass the RDGW won't be affected.
4848
> - Session time-out has a distinct disconnect message compared to the message caused by the **MaxConnectionTime** setting: **The connection has been disconnected because the session timeout limit was reached.**
4949
5050
### Computer and User policies
@@ -57,6 +57,13 @@ Policy configurations are applied to the corresponding registry path:
5757
- Computer policy registry path: **HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services**
5858
- User policy registry path: **HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows NT\Terminal Services**
5959

60+
> [!IMPORTANT]
61+
>
62+
> - Policies have precedence to default configurations.
63+
> - Computer policies have precedence to user policies.
64+
> - Registry values are expressed in miliseconds.
65+
> - For these configurations to apply, users must reconnect or logoff/logon.
66+
6067
## Verify if the session time-out is a Lock
6168

6269
On a Windows machine, there are two distinct forms of configuring a session lock:

0 commit comments

Comments
 (0)