错误信息的英文:
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:
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.
- Log on to the Terminal Services-based server locally.
- Click Start, point to Programs, point to Administrative Tools, and then click Terminal Services Manager.
- Click the appropriate Terminal Services-based server. Note the Users Tab in the right pane.
- 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 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