天天看點

the terminal server has exceeded the maximum number of allowed connections

the terminal server has exceeded the maximum number of allowed connections

參考解決方法:

<a href="http://dog.xmu.edu.cn/2007/07/22/mstsc-3389/">http://dog.xmu.edu.cn/2007/07/22/mstsc-3389/</a>

電腦用太久了,最近一直無緣無故重起,重起就會導緻連接配接到的遠端終端斷開,再也無法再連接配接,會提示the terminal server has exceeded the maximum number of allowed connections。原來遠端管理模式下的終端伺服器最多允許 2 個并發會話(包括活動的和斷開的)。以前一直都是暴力重起的:shutdown -r -m \\xxx.xxx.xxx.xxx

最近找了個新方法,使用mstsc去連接配接控制台,mstsc /v:xxx.xxx.xxx.xxx /console,然後在控制台找到被斷開的使用者connect過去,再把控制台登出掉,相當于控制台是一個永遠的備份。

還有一個方法,win2k3才可以的

query session /server:servername

reset session [id] /server:servername

the terminal server has exceeded the maximum number of allowed connections