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.
>


Relevant Pages

  • Re: Explanation of macros; Haskell macros
    ... > server and I got to dictate the form of the commands and arguments. ... it boiled down to (funcall command client-session args). ... Let's assume there is a type "Session" for sessions. ... You don't need the first constraint, ...
    (comp.lang.python)
  • Re: Explanation of macros; Haskell macros
    ... > server and I got to dictate the form of the commands and arguments. ... it boiled down to (funcall command client-session args). ... Let's assume there is a type "Session" for sessions. ... You don't need the first constraint, ...
    (comp.lang.lisp)
  • Storing and Accessing email Addresses
    ... As I continue to work on an email parsing and forwarding application my ... 'Change current state of the session ... 'Send MAIL FROM command to the server ...
    (comp.lang.basic.visual.misc)
  • Re: COCreateInstance fails from service for non-admin
    ... When you specify a user on the DCOMCnfg Identity tab, ... your server fails to activate). ... whatever the logon session of the caller ... logon session has its own windowstation. ...
    (microsoft.public.vc.atl)
  • Re: xemacs like a server
    ... must be executed from a live xemacs session, ... The session can be started automatically, from the command line, ... I have a separate init file used only when invoking the server ... and then execute the gnuserv-start command. ...
    (comp.emacs.xemacs)