终端服务器超出了最大允许连接数

本文介绍了解决远程桌面连接数量超出限制的方法。当遇到终端服务器连接数已达上限时,可以通过管理员权限强制断开一个现有连接,或者使用MSTSC命令进行更详细的管理操作。文章还提供了微软官方的解决方案。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

错误信息的英文:

The terminal server has exceeded the maximum number of allowed connections

 

远程访问服务器时如果遇到这个问题, 可以尝试使用windows的remote desktop.

1. Start + Run

2. mstsc /admin

如果你是管理员的话, 通过这种方式你可以踢掉一个正在连接的用户, 你作为管理员成功登陆远程主机.

 

关于MSTSC的完整命令行如下:

---------------------------
Remote Desktop Connection Usage
---------------------------
MSTSC [<connection file>] [/v:<server[:port]>] [/admin] [/f[ullscreen]] [/w:<width> /h:<height>] [/public] | [/span] [/multimon] [/migrate] [/edit "connection file"]

"connection file" -- Specifies the name of an .RDP file for the connection.

/v:<server[:port]> -- Specifies the remote computer to which you want to connect.

/admin -- Connects you to the session for administering a server.

/f -- Starts Remote Desktop in full-screen mode.

/w:<width> -- Specifies the width of the Remote Desktop window.

/h:<height> -- Specifies the height of the Remote Desktop window.

/public -- Runs Remote Desktop in public mode.

/span -- Matches the remote desktop width and height with the local virtual desktop, spanning across multiple monitors, if necessary. To span across monitors, the monitors must be arranged to form a rectangle.

/multimon -- Configures the remote desktop session monitor layout to be identical to the current client-side configuration.

/edit -- Opens the specified .RDP connection file for editing.

/migrate -- Migrates legacy connection files that were created with Client Connection Manager to new .RDP connection files.
---------------------------

 

微软的知识库中有如下的解决方案

To resolve this issue:

  1. Log on to the Terminal Services-based server locally.
  2. Click Start, point to Programs, point to Administrative Tools, and then click Terminal Services Manager.
  3. Click the appropriate Terminal Services-based server. Note the Users Tab in the right pane.
  4. If there are two remote sessions, right-click one of the users with a Remote Desktop Protocol (RDP) session, and then click Logoff. (A reset also accomplishes this goal, but does not save profile changes.)
If you cannot gain access to the console on the Terminal Services-based server, you may have to ask someone to log off. If there are disconnected sessions, you can log on to those sessions.
If you cannot access the local console, you can run the Terminal Services Administration tool from another computer. Using an Administrator account in the domain, click Start, click Run, type \\ terminalservername\c$, and then click OK. Open the Winnt\System32 folder, and then double-click Tsadmin.exe. In Terminal Services Administrator, click your server, and then click the Sessions tab. Right-click the disconnected session, and then click Reset.
NOTE: All data not saved in this session will be lost.

 

http://support.microsoft.com/?scid=kb%3Ben-us%3B250991&x=11&y=10

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值