Re: terminal server has exeeded the maximum number of allowed conn

From: Rajneesh Mahajan \(MSFT\) (rmahajan_at_online.microsoft.com)
Date: 04/21/04


Date: Wed, 21 Apr 2004 10:53:56 -0700

You can also use the command rwinsta to directly end a session. Also you can
specify IP address if the server name can't be resolved for some reason. An
example would be:

To list all sessions on server 1.2.3.4
qwinsta /SERVER:1.2.3.4

To end a session:
rwinsta /SERVER:1.2.3.4 <session id>

-- 
This posting is provided "AS IS" with no warranties, and confers no rights.
TS FAQ:
http://www.microsoft.com/windows2000/community/centers/terminal/terminal_faq.mspx
"Jason Hall [MSFT]" <v-jashal@online.microsoft.com> wrote in message
news:C1lRjD8JEHA.3564@cpmsftngxa10.phx.gbl...
>
> --------------------
> >Content-Class: urn:content-classes:message
> >From: "Stefan Lauer" <anonymous@discussions.microsoft.com>
> >Sender: "Stefan Lauer" <anonymous@discussions.microsoft.com>
> >Subject: terminal server has exeeded the maximum number of allowed conn
> >Date: Wed, 21 Apr 2004 03:50:03 -0700
> >
> >Hi erveryone,
> >
> >how can I log of the users remote?
> >with the terminal service manager I can't reach the server
> >because it is not in a domain. I can also not reboot the
> >machine because it is a live system.
> >I must find a way to log one user of, so that I can reach
> >the server again per terminal services.
> >
> >Thanks for the answers in advance
> >Stefan
> >
>
> Check out KB article 321705: HOW TO: Disconnect a Session by Using the
> TSDISCON Command in Windows
>
> The following steps should allow you to log in:
>          1. Determine the session ID of the user, use the "query session"
> as outlined in the article
>              (create a batch file with the command, and use the "At"
> command to schedule it on the server. Direct the output to a text file)
>          2. Use the TSDISCON command to disconnect the session
>               (it needs to be run on the server, you can possibly get
> around this by running it in a batch file, and using the "At" command to
> schedule it on the server
> Then, provided that you have the RDP-TCP properties set to end
disconnected
> sessions, you should have a free session soon
> (or, you could reconnect to the users session if you have their credential
> information)
>
> Let me know if this does not suit your needs, or if you have any further
> questions
>
> -- 
> ~~ JASON HALL ~~
> ~ Performance Support Specialist,
> ~ Microsoft Enterprise Platforms Support
> ~ This posting is provided "AS IS" with no warranties, and confers no
> rights.
> ~ Use of included script samples are subject to the terms specified at
> http://www.microsoft.com/info/cpyright.htm
> ~ Note:  For the benefit of the community-at-large, all responses to this
> message are best directed to the newsgroup/thread from which they
> originated.
>