Windows Server 2003 allows 2 non-console and one console remote desktop connections. Is there a way to increase the number of non-console sessions allowed?
If you run into the problem of not being allowed into the server because the connections are full (and you know it's due to connections left hanging), you can use the command prompt commands qwinsta and rwinsta to query and terminate sessions.
> qwinsta /SERVER:xxx.xxx.xxx.xxx SESSIONNAME USERNAME ID STATE TYPE DEVICE console 0 Conn wdcon rdp-tcp 65536 Listen rdpwd rdp-tcp#14 Administrator 1 Active rdpwd
...and then terminate the desired session (I'm terminating the last row on the list above here):
> rwinsta 1 /SERVER:xxx.xxx.xxx.xxx
No, you need to use Terminal Server to do this, and you have to pay a license fee per user limit.
Although I've seen of hacks where you take 1 DLL from Terminal Server and shove it into Windows to fool the limit (but I think that only works on XP to bring the 1 user limit up to 2), despite, this violates the EULA of the software (although it's legally binding aspect in arguable at best, and may not apply to you depending on your country).
You would need to switch the server mode from Remote Administration to Terminal Server Licensing mode, which allows additional client connections. You will need to acquire the appropriate licenses from Microsoft, however.
Licensing is required to have more than two, as noted.
I find RoyalTS very useful for managing many remote connections, and it allows easy interface to kill other dormant connections to a server.
Licensing is the big restriction.
But more than that, if you're using this server for something other than a Terminal Services system as it's primary function, do you really want more than 2 remote desktop sessions active at the same time? It seems to me that the restriction is a good way to make people to remember to not stay logged in to the server.
Just FYI, Windows Server 2003 does not enforce Terminal Server licensing.
If you enable Terminal Server mode and the TS Licensing service and create licenses using a dummy license number, the licenses will activate anyway and Terminal Server will work with however many simultaneous connections you want.
Obviously this not kosher in a production environment, but I think it's good to know for those of you who just want to try it out for stress testing or mucking around and don't have any licenses to do so.