max login

C

Ching-Lung

Hi,

How to set maximum number of user to login to a W2K
Advance Server terminal server? I think by default is
only 2 users.

Also, is there a way to disconnect a user session not from
terminal service manager but from a script? Well, with
assumption that only admin can run this script.

Please help. Thanks!
-CL
 
T

Tom Decaluwe

1) A terminal server can be installed in 2 modes:
Mode1 => remote admin => any client can connect to the TS, you don't
have to worry about licensing,... BUT only 2 sessions can be active at the
same time
Mode2 => application mode => you do have to worry about licensing
server, TScals,... BUT any number of sessions can be active

you can see the mode you are in by going to the TS configuration menu
and looking at the Server Settings. There you will see the TS server mode:

2) Yes you can disconnect users using command lines. Ts has a great number
of command line functions

The one you are looking for is "logoff" but here is a complete list of
commands you can use

LOGOFF [sessionname | sessionid] [/SERVER:servername] [/V]

sessionname The name of the session.
sessionid The ID of the session.
/SERVER:servername Specifies the Terminal server containing the user
session to log off (default is current).
/V Displays information about the actions performed.
Commands:

Command Meaning
change logon Used to disable, enable, or check the status of logons
change port Modify DOS com ports or query for the status of ports.
change user Change .ini file mapping for the current user. Applicable
change user parameters are install, execute, and query.
cprofile Remove user's profile file associations
dbgtrace Enable or disable debug tracing
flattemp Enable or disable temporary flat directories
logoff End a client session
msg Send a message to a client
query process Display process information
query session Display terminal services session information
query termserver Display terminal server list
query user Display logged on user list with information. Like "who" in
UNIX.
register Register a program
reset session Reset or delete a terminal session.
shadow Monitor or remotely control a Terminal Service session
tscon Start a Terminal Services session
tsdiscon End a Terminal Services session
tskill Terminate a Terminal Server process
tsprof Change a user profile path or copy user information
tsshutdn Shut down a terminal server.


greetz

Tom
 
D

Dan

It seems that only one user has the problem. This user
is connecting to the same terminal server that he did
before, although I have changed the port number. The new
terminal server uses the default (3389) and the new one
uses (54545)
Any thoughts, Dan
 
V

Vera Noest [MVP]

I'm not sure which port you want the users to connect to, since
you made a typo and wrote "new server" twice. If the old server
uses 3389 and the new server uses 54545, then you'll have to
change the port number on the client as well.

304304 - Configuring the Remote Desktop Client to Connect to a
Specific Port
http://support.microsoft.com/?kbid=304304

326945 - How to Change the Listening Port in the Windows Terminal
Server Web Client
http://support.microsoft.com/?kbid=326945
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top