This is the Title of the Book, eMatter Edition
Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.
Chapter 10: Windows Terminal Services
Views the display for another user’s session. You must run this over a Terminal
Services connection to the host machine. See earlier in this chapter for detailed
information on this command.
Connects to another session running on a server. See earlier in this chapter for
detailed information on this command.
Disconnects from another session running on a server. See earlier in this chapter
for detailed information on this command.
Kills a certain process. Use tskill processid or tskill processname. To specify a
server, use the
/server switch, and to specify a certain session under which a
process is running, use
/ID:sessionid. To end a process running under all ses-
sions, issue the
Configures profiles for users connecting to a terminal server. See earlier in this
chapter for detailed information on this command.
Shuts down a terminal server. You can specify an amount of time to wait before
shutting down the machine by adding the number as an argument after the com-
mand name (i.e.,
tsshutdn 120 to wait two minutes). You also can specify
whether to simply restart the machine by using the
/reboot switch, or to power it
down completely with the
The Last Word
Windows Terminal Services is a useful inclusion to Windows Server 2003, allowing
administrators to manage their servers without having to be directly in front of the
console, and also allowing corporations to centrally host applications to reduce total
cost of ownership and management and administrative requirements. In this chap-
ter, I explored both the user and the administrator side of TS and how it can add
value to your Windows infrastructure.