Disclaimer

Any opinions expressed here are my own and not necessarily those of my employer (I'm self-employed).

Mar 26, 2011

Ninja trick: The terminal server has exceeded the maximum number of allowed connections

If you work in an environment where several people fiddle around on the same servers, every once in a while you'll get the message "The terminal server has exceeded the maximum number of allowed connections" when you try to log on to a shared server through Remote Desktop.


In many cases this is because someone is lingering on the server. You could go through the process of figuring out who's logged on and asking them to log out, or kick them from the server. But there's another way.

It's possible to remotely connect to the physical console session on the server (also known as session 0). If someone is already using the console session, you'll learn who's connected and will be asked if you want to disconnect them. Since this feature is only intended for ninja hackers, you'll have to run this from command line.

On Windows 7/2008 Server:
mstsc.exe /admin /v:yourservername
On Windows 2003 server:
mstsc.exe /console /v:yourservername
You probably figured out that the command switches /admin and /console did the trick here. A word of advice, don't share this with your co-workers, you want to keep the console session to your self!

The /admin and /console switches are described in Microsoft's article on changes to remote administration in Windows Server 2008. Also, if you're running Windows Server 2003 or Windows XP it's possible to upgrade to Terminal Services Client 6.0 to get the new and shiny features offered by Remote Desktop on Vista and later.

64 comments:

  1. Also, experiment with

    qwinsta /server:servername.domain
    logoff /server:servername.domain

    ReplyDelete
  2. I was initially using the following ninja hack to access our exchange server via rdp: mstsc.exe/admin/v:[ServerIP]

    It was working at one time, but now I'm receiving the following message:
    https://gyazo.com/e5fffff6a0bc7c2592f94c6b078c6ae7 <== After hitting Ok, the window just closes.

    Is this no longer a viable way of accessing a server from the back door, sorta speak?

    Thanks,

    - Jon

    ReplyDelete
  3. One year later...

    Jon add some spaces and it should work: mstsc.exe /admin /v:ServerIP

    ReplyDelete
  4. freelancing meaning

    Thanks for sharing article nice one..waiting for next one keep it up

    ReplyDelete
  5. Thanks for the always useful information. This is great information to help garage type SEO people like me.Remote Desktop Manager Enterprise 12.5.8.0

    ReplyDelete
  6. This comment has been removed by the author.

    ReplyDelete

  7. Very interesting post thanks for the interesting and useful information
    Everything In Here

    ReplyDelete
  8. This comment has been removed by the author.

    ReplyDelete
  9. This comment has been removed by the author.

    ReplyDelete
  10. افضل شركة تنظيف ونظافة شاملة بالرياض
    شركة الصفرات للتنظيف هي الشركة الرائده
    شركة الصفرات للنظافة بالرياض
    نستخدم افضل الادوات والمعدات التي تساعدنا في عملية التنظيف
    كما لدينا اجهزه مستورده حديثة

    ReplyDelete
  11. I enjoyed over read your blog post. This was actually what i was looking for and i am glad to came here!
    light novel

    ReplyDelete
  12. This comment has been removed by the author.

    ReplyDelete
  13. They either buy or lease the equipment from the facilitating organization, and thus, the facilitating organization underpins and deals with the server. buy vps with bitcoin

    ReplyDelete
  14. Much obliged for the constantly valuable data. buy vps with bitcoin

    ReplyDelete
  15. At Buy Legitimate Custom Essay Services, we usually provide Purchase Research Papers and guidance to our clients to help them have some experience on how to complete assignments on their own.

    ReplyDelete
  16. This is such a great resource that you are providing and you give it away for free. I love seeing blog that understand the value of providing a quality resource for free. https://aboutlogin.email/

    ReplyDelete
  17. What a fantabulous post this has been. Never seen this kind of useful post. I am grateful to you and expect more number of posts like these. Thank you very much. oil tank removal

    ReplyDelete
  18. Great article with excellent idea!Thank you for such a valuable article. I really appreciate for this great information.. pest control Kuala Lumpur

    ReplyDelete
  19. This comment has been removed by the author.

    ReplyDelete
  20. A level of service, high quality, and excellent mastery by a team of hard work and outstanding, and trained on how to exterminate insects using

    Modern equipment and materials, where the company sends a team of work to customers periodically to ensure the final disposal of insects and make sureشركة مكافحة النمل الابيض بالرياض
    شركة مكافحة حشرات بالرياض
    شركة رش مبيدات بالرياض
    افضل شركة مكافحة حشرات

    ReplyDelete
  21. Here is a detailed overview of 18 Productive Chrome Flags for Mobile and PC Users and read all interesting details about them.

    ReplyDelete
  22. Great article with excellent idea!Thank you for such a valuable article. I really appreciate for this great information.. alinshop buy domestic USA

    ReplyDelete
  23. The names of the realms reflect the "nature" of the heart that must deal with, operate within, and solve the problems inherent to two very different types of experiences. How to Lache

    ReplyDelete
  24. Interesting and interesting information can be found on this topic here profile worth to see it. cheap dedicated server germany

    ReplyDelete
  25. thank you for this awesome and informative post www.hotmail.com

    ReplyDelete
  26. This unique appearances utterly suitable. Each one of modest data are prepared with the help of great number of experience practical knowledge. I'm keen it again very much office 365 product key

    ReplyDelete
  27. Instantly this web site will irrefutably frequently end up being notable regarding all weblog consumers, due to diligent reviews as well as checks. removewat

    ReplyDelete
  28. Great job for publishing such a beneficial web site. Your web log isn’t only useful but it is additionally really creative too. There tend to be not many people who can certainly write not so simple posts that artistically. Continue the nice writing www.naps-gear.org

    ReplyDelete
  29. Wondershare Filmora 9 Crack is an expert video editorial manager to express your inventiveness and astonish with delightful outcomes. Filmora Keygen has all the video altering apparatuses to make Hollywood-like home motion pictures with titles, impacts, and changes from every single customary video, sound, Filmora 9 Crackand photographs.

    ReplyDelete
  30. thanks for your post i have found the information that i want on your blog its such a nice theme .
    thanks for your infomative post .
    Free Full Pro Keys for Windows & Mac software

    Full Pro Keys

    ReplyDelete
  31. thanks for your post i have found the information that i want on your blog its such a nice theme .
    thanks for your infomative post .
    Free Full Pro Keys for Windows & Mac software

    Full Pro Keys

    ReplyDelete
  32. OmniSphere Free is definitely a total software method for different wave varieties and functions. It happens to be embedded along with a number of excess capabilities and features that assists buyers recover sound overall performance. With the relieve of searching graphics and information, most recently released sounds and consequences can be instantly navigated.

    ReplyDelete
  33. Idm Crack!
    Crack software!
    Very Interesting Article. It would be great if you can provide more details about this Article . Thanks You

    ReplyDelete
  34. thanks for your post i have found the information that i want on your blog its such a nice theme .
    thanks for your infomative post .
    Free Download Oceanofgames for Windows & Mac software PC Games

    Ocean of Games

    ReplyDelete
  35. Programming is difficult and providing pain? Specialists at Active network teachers are excellent in reporting, developing and executing keys programming assignment our teacher forever ready at your service. online homework help
    online homework help
    online homework help

    ReplyDelete
  36. A good blog always comes-up with new and exciting information and while reading I have feel that this blog is really have all those quality that qualify a blog to be a one.
    Assignment Help
    The best essay writer

    ReplyDelete
  37. Adobe Flash Builder Crack Premium Full Serial With Keygen Abobe Flash Builder 4.7 top quality Crack is just one of those massive players at the category of Flash IDEs, offering a professional progress environment suggested in making remarkable Software and re-creations for its internet adaptive or touch-empowered gadgets, as an instance, high-level cellphones and tablet computers.
    New Crack

    ReplyDelete
  38. thanks for your post i have found the information that i want on your blog its such a nice theme .
    thanks for your infomative post .
    Free Full Pro Keys for Windows & Mac software

    How4Crack

    ReplyDelete
  39. thanks for your post i have found the information that i want on your blog its such a nice theme .
    thanks for your infomative post .
    Free Full Pro Keys for Windows & Mac software

    How4Crack

    ReplyDelete
  40. thanks for your post i have found the information that i want on your blog its such a nice theme .
    thanks for your infomative post .
    Free Full Pro Keys for Windows & Mac software

    How4Crack

    ReplyDelete
  41. thanks for your post i have found the information that i want on your blog its such a nice theme .
    thanks for your infomative post .
    Free Full Pro Keys for Windows & Mac software

    How4Crack

    ReplyDelete
  42. Wow… what a great article on Blog commenting.
    I have various concepts to be clear…now fell better after read this article on blog commenting. Superb.
    Free FL Studio Crack for Windows & Mac software

    FL Studio Crack

    ReplyDelete
  43. The four particular go out with see sinks (Ray Ban New Wayfarer Polarized) into wa also or (Cheap Yeezy Shoes Sale) until now it proves in phoenix az movie cinema in Petaluma on late 21. The live show might be a benefit typically live entertainment, Allowing it to brag beverage incomes just with respect (Cheap Yeezys For Sale) to 21 and also they, Something nearly through inside a wedding venuw. Entry go available Friday and details can be bought perfect..

    He was quoted (New Yeezys 2020) saying just about everywhere (Michael Kors Outlet) else he will go guys and women make clear more or less defined small businesses that fantastic, But also recounted he desire to transfer who (Ray Ban Outlet Store) knows where which often less than ideal. Get to a softball (Coach Outlet Store Online) movie

    ReplyDelete

Copyright notice

© André N. Klingsheim and www.dotnetnoob.com, 2009-2018. Unauthorized use and/or duplication of this material without express and written permission from this blog’s author and/or owner is strictly prohibited. Excerpts and links may be used, provided that full and clear credit is given to André N. Klingsheim and www.dotnetnoob.com with appropriate and specific direction to the original content.

Read other popular posts