O'Reilly logo

Microsoft® Windows Server™ 2003 Inside Out by William R. Stanek

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Other Useful Terminal Services Commands

There are a few other useful commands for working with Terminal Services, including the following:

  • MSG [UserName | SessionName | SessionId | *] [/Server:ServerName] [Message]—Use MSG to send a console message to users by user name, session name, and session ID. Use the asterisk wildcard (*) to send the same message to all sessions on a designated server.

  • TSKILL ProcessId | ProcessName [/Server:ServerName] [/ID:SessionId | /a] [/v]—Use TSKILL to end a process using the process ID or process name. A process can be shut down for a particular session ID using /ID:SessionID or for all sessions running the process by using the option /a.

  • TSSHUTDN [SecondsToWait] [/Server:ServerName] [/Reboot] [/Powerdown] [/ Delay: ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required