Skip to content

Commit 135444c

Browse files
committed
fix some error
1 parent 52a7717 commit 135444c

1 file changed

Lines changed: 14 additions & 14 deletions

File tree

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

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Troubleshoot unexpected RDS session locks or disconnections
3-
description: Introduces how to configure RDS session timeouts to troubleshoot unexpected session locks or disconnections.
3+
description: Introduces how to configure RDS session time-outs to troubleshoot unexpected session locks or disconnections.
44
ms.date: 01/15/2025
55
manager: dcscontentpm
66
audience: itpro
@@ -12,27 +12,27 @@ ms.custom:
1212
---
1313
# Troubleshoot unexpected RDS session locks or disconnections
1414

15-
A Remote Desktop Services (RDS) session can enter **locks** and **disconnects** status at regular intervals. This requires users to log in or reconnect to the session. This article introduces how to troubleshoot unexpected **locks** and **disconnects** time intervals.
15+
A Remote Desktop Services (RDS) session can enter **locks** and **disconnects** status at regular intervals. In this situation, the session requires users to sign in or reconnect to the session. This article introduces how to troubleshoot unexpected **locks** and **disconnects** time intervals.
1616

1717
## Introductions
1818

1919
RDS can have the following status:
2020

2121
- **active**: the user is currently connected and interacting with the system.
22-
- **idle**: the user is connected but has not interacted with the server for a specific period.
22+
- **idle**: the user is connected but hasn't interacted with the server for a specific period.
2323
- **locked**: users are redirected to the login screen, but their sessions remain active without any error message.
24-
- **disconnected**: The user's connection to the server has been severed, and then the RDP window typically closes with an error message. The session remains running on the server.
24+
- **disconnected**: The user's connection to the server has been severed, and then the RDP window typically closes with an error message. The session remains to run on the server.
2525

2626
Disconnects occurring without a consistent timing pattern are more likely caused by **network issues** rather than configuration settings.
2727

28-
## Verify if the session timeout is a disconnect
28+
## Verify if the session time-out is a disconnect
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

3232
| Configuration | Set time limit for active but idle RDS sessions | Set time limit for active RDS sessions |
3333
| :------------------------ | :-------------------------------------------------------------------------------------------------------- | :--------------------------------------------------------------------------------------------------------------------------------------------- |
3434
| Registry (Type:REG_DWORD) | MaxIdleTime | MaxConnectionTime |
35-
| Message when disconnected | Your Remote Desktop Services session ended because the remote computer didn't receive any input from you. | The remote session ended because the total logon time limit was reached. This limit is set by the server administrator or by network policies. |
35+
| Message when disconnected | Your Remote Desktop Services session ended because the remote computer didn't receive any input from you. | The remote session ended because the total sign-in time limit was reached. This limit is set by the server administrator or by network policies. |
3636

3737
You can use the following two methods to configure the above registry values.
3838

@@ -45,7 +45,7 @@ Registry path: `Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Ter
4545
> [!NOTE]
4646
>
4747
> - 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.
48-
> - Session timeout will have 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.**
48+
> - 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
5151

@@ -57,14 +57,14 @@ 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-
## Verify if the session timeout is a Lock
60+
## Verify if the session time-out is a Lock
6161

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

6464
1. **Machine inactivity limit** policy.
6565
2. Configuring a **Screen saver**.
6666

67-
If any of the above is configured, sessions will be locked when conditions are met.
67+
If any of the above settings is configured, sessions are locked when conditions are met.
6868

6969
> [!IMPORTANT]
7070
>
@@ -73,7 +73,7 @@ If any of the above is configured, sessions will be locked when conditions are m
7373
7474
### Machine inactivity limit policy
7575

76-
The policy can only be configured at the Computer level, with the value specified in seconds. The configuration policy path and the corresponding registry path where it will be applied are outlined below:
76+
The policy can only be configured at the Computer level, with the value specified in seconds. The following are the configuration policy path and the corresponding registry path:
7777

7878
- Policy path: **Computer Configuration > Windows Settings > Security Settings > Local Policies > Security Options** - **Interactive logon: Machine inactivity limit**
7979
- Registry path: Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System - InactivityTimeoutSecs
@@ -95,7 +95,7 @@ To configure on Screen Saver Settings:
9595

9696
- open CMD and run following command to open the console: *control desk.cpl,,1*
9797
- Select from **Screen saver** dropdown box.
98-
- Define a timeout.
98+
- Define a time-out.
9999
- Select **On resume, display logon screen** checkbox.
100100

101101
Values are written on registry path: `Computer\HKEY_CURRENT_USER\Control Panel\Desktop`
@@ -104,17 +104,17 @@ Values are written on registry path: `Computer\HKEY_CURRENT_USER\Control Panel\D
104104

105105
Three below policies must be configured to enable Screen Saver: **Enable screen saver**, **Password protect the screen saver**, and **Screen saver timeout**.
106106

107-
The configuration policies path and the corresponding registry path where it will be applied are outlined below:
107+
The following are the configuration policies path and the corresponding registry path:
108108

109109
- Policy path: **User Configuration > Administrative Templates > Control Panel > Personalization**.
110110
- Registry path: `Computer\HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Control Panel\Desktop`.
111111

112112
## Contact Microsoft Support
113113

114-
If the preceding steps cannot resolve the issue, collect data on the affected machine while replicating the issue. Download [TSS script](https://aka.ms/getTSS), and run the following command on an elevated Powershell:
114+
If the preceding steps can't resolve the issue, collect data on the affected machine while replicating the issue. Download [TSS script](https://aka.ms/getTSS), and run the following command on an elevated PowerShell:
115115

116116
```powershell
117117
.\TSS.ps1 -Scenario UEX_RDSsrv -start -UEX_Logon
118118
```
119119

120-
For more information see [Gather information by using TSS for user experience-related issues](../../windows-client/windows-tss/gather-information-using-tss-user-experience.md).
120+
For more information, see [Gather information by using TSS for user experience-related issues](../../windows-client/windows-tss/gather-information-using-tss-user-experience.md).

0 commit comments

Comments
 (0)