zoukankan      html  css  js  c++  java
  • 终端服务器超出了最大允许连接数

    错误信息的英文:

    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

  • 相关阅读:
    Exe4j 打包: this executable was created with an evaluation version of exe4j
    使用fidder对安卓模拟器进行抓包
    PowerMock学习(八)之Mock Argument Matcher的使用
    PowerMock学习(七)之Mock Constructor的使用
    adb devices无法连接mumu模拟器
    PowerMock学习(六)之Mock Final的使用
    PowerMock学习(五)之Verifying的使用
    PowerMock学习(四)之Mock static的使用
    KMP(Knuth-Morris-Pratt)算法
    并查集-连通性问题
  • 原文地址:https://www.cnblogs.com/awpatp/p/1630569.html
Copyright © 2011-2022 走看看