Remote Desktop when all Terminal Services Connections are in Use

This comes up more often than we’d like. And while I’d love Microsoft to fix this and allow unlimited Remote Desktop connections to a server, it doesn’t seem like it’s going to happen. If you get the dreaded “The terminal server has exceeded the maximum number of allowed connections” message, here’s how you can force connect and boot someone else:

Mstsc /v:192.168.0.x /admin /F

It used to be /console instead of /admin, but that went away in XP SP3.

But let’s be clear on what the real fix here is: Microsoft needs to release the 2-user limit on administrator connections for servers that are never going to be used as interactive applications servers. If I’m setting up a new web server or SQL server, there’s no reason I shouldn’t be able to have three or five or 10 administrators logged in at once.

One thought on “Remote Desktop when all Terminal Services Connections are in Use

  1. I use this enough that I converted it to a batch file…

    if “%1″==”” goto prompt
    Mstsc /v:%1 /admin /F
    goto done
    :prompt
    SET /P %RDPForceHost%=Enter the IP Address to Force a Connection to:
    Mstsc /v:%RDPForceHost% /admin /F
    :done

Leave a Reply

Your email address will not be published. Required fields are marked *