Remote Desktop Max Connections Fix

If you have the problem of not being able to log onto a server because it has exceed the maximum number of connections (usually 2) here is an easy fix.

Open a command prompt and type:
query user /server:{YOUR SERVER NAME}

You will get something back like this:

USERNAME SESSIONNAME ID STATE IDLE TIME LOGON TIME
user1   1 Disc none 2011-03-10 20:25
user2 rdp-tcp#121 2 Active 6 2011-03-20 11:29

You can then either ask the users to log off or you can forcibly log them off by typing:
logoff {ID FROM ABOVE} /server:{YOUR SERVER NAME}

If the query user syntax doesn’t work (e.g. Win XP) you can type:
qwinsta /server:{YOUR SERVER NAME}

Comments are closed.