mstsc 3389

Filed Under (计算机相关) by 郑海山 on 2007-07-22

电脑用太久了,最近一直无缘无故重起,重起就会导致连接到的远程终端断开,再也无法再连接,会提示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

Post a comment

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word

使用http://dog.xmu.edu.cn访问郑海山的blog

记住这个域名,你能想象我会在76岁那年还在写这个blog么?

联系我: 郑海山,在厦大BBS现在叫Haishion,以前是Dog。
eMail: haishanzheng AT sina DOT com
QQ: 2194037

==< 全部文章 >==

tag cloud