Article ID: 121586, created on May 15, 2014, last review on May 15, 2014

  • Applies to:
  • Virtuozzo containers for Windows


It is not possible to connect to a container via RDP, the following message is shown:

The terminal server has exceeded the maximum number of allowed connections


All available RDP sessions are currently occupied by other container users.


There are two possible ways to forcibly terminate other sessions:

  1. Connect to the container with /admin switch:

    mstsc /v: /admin

    After the connection is established, it's possible to log off some other user via Task Manager, Users tab.

  2. Login to the container via vzctl enter and log off a user with command line utilites:

    C:\Documents and Settings\Administrator>vzctl enter 2257
    Microsoft Windows [Version 5.2.3790]
    (C) Copyright 1985-2003 Microsoft Corp.
     SESSIONNAME       USERNAME                 ID  STATE   TYPE        DEVICE
    >console                                     0  Conn    wdcon
     rdp-tcp                                 65536  Listen  rdpwd
     rdp-tcp#149       parallels                 1  Active  rdpwd
    C:\WINDOWS\system32>rwinsta 1
    rwinsta 1

Search Words


965b49118115a610e93635d21c5694a8 2897d76d56d2010f4e3a28f864d69223 d02f9caf3e11b191a38179103495106f

Email subscription for changes to this article
Save as PDF