大网数据广告活动
远程桌面与会话

Client is disconnected during Group Policy update

· 52CE 我爱测

Describes an issue in which clients are disconnected from Remote Desktop sessions.

This article provides a solution to an issue where clients are disconnected from Remote Desktop sessions during Group Policy updates.

Original KB number:   2083411

Symptoms

When you use the Remote Desktop Services role to enable clients to connect remotely, those clients may be suddenly disconnected. After this issue occurs, connections can then be reestablished within a brief period.

Cause

This issue may occur if the following conditions are true:

  • You have configured the Don't allow connections to this computer Remote Desktop setting on the server. Or, you have installed the unattended Remote Desktop role, without configuring the allowed connections.
  • You have configured the Allow users to connect remotely using Terminal Services Group Policy setting to override the setting on the server.
    When the policy is refreshed (by default, every 90 minutes, or manually through GPUPDATE), the policy settings are deleted and then reset. During this period, the configuration on the server is temporarily valid. Therefore, all sessions may be disconnected.

Resolution

To resolve this issue, set the fDenyTSConnections registry value to 0. (See the "More information" section.)

Note: When Remote Desktop Services is installed, the default setting is Allow connections only from computers running Remote Desktop with Network Level Authentication (more secure).

More information

This setting is controlled by the following registry subkey:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server fDenyTSConnections
When this value is set to 1, no connections are allowed. However, Group Policy can override this setting. During the Group Policy refresh process, this local setting may be temporarily valid.

Source: Microsoft Learn / IT Pro troubleshooting by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / IT Pro troubleshooting
适用范围
- Supported versions of Windows Server · Source date 02/12/2026
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。