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

Disable Terminal Server Client Logons

· 52CE 我爱测

Describes how to temporarily disable Terminal Server Client Logons.

This article describes how to temporarily disable Terminal Server Client Logons.

Original KB number:   186627

Summary

If you need to disable connectivity to the Terminal Server, you have several options. Disabling connectivity for Terminal Server Clients is different from disabling normal user connectivity. For non-client connectivity, you can pause or stop the Net Logon or Server services in Control Panel/Services. However, the Terminal Server service can't be paused, stopped, or disabled.

Disable Client connectivity

To disable Client connectivity, you can:

  1. Stop connectivity to the Terminal Server at the command prompt with the Command, "Change Logon /Disable." You can re-enable connectivity with "Change Logon /Enable."

  2. Stop connectivity to a specific socket connection in Terminal Server Connection Configuration under Connection/Disable. It's the same action as opening the connection and selecting Logon/Disabled under the Advanced Configuration.

  3. Stop connectivity for a user or group to a specific socket connection in Terminal Server Connection Configuration under Security/Permissions.

  4. Stop connectivity for a specific user in User Manager by opening the user account and selecting CONFIG. Here you can uncheck the box, Allow Logon to Terminal Server. If you modify the user's domain account, the user can't connect to the domain from ANY Terminal Server. The other options are specific to the Terminal Server on which they're set.

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)

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

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