Skip to Content
Microsoft® Windows Server™ 2003 Inside Out
book

Microsoft® Windows Server™ 2003 Inside Out

by William R. Stanek
June 2004
Intermediate to advanced
1488 pages
45h 53m
English
Microsoft Press
Content preview from Microsoft® Windows Server™ 2003 Inside Out

Managing Terminal Services from the Command Line

In addition to the tools in Terminal Services Manager, there are quite a few command-line tools for working with Terminal Services. These commands can be divided into two categories:

  • Gathering information

  • Controlling user sessions

Gathering Terminal Services Information

Several commands are available for gathering Terminal Services information from the command line including the following:

  • QUERY PROCESS [* | ProcessId | UserName | SessionName | /ID:SessionId | Program-Name] [/Server:ServerName]—Displays information about processes being run in Terminal Services sessions on the server

  • QUERY SESSION [SessionName | UserName | SessionId] [/Server:ServerName]—Displays information about Terminal Services sessions ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Inside Windows® Server 2003

Inside Windows® Server 2003

William Boswell
Windows® 8.1 IN DEPTH

Windows® 8.1 IN DEPTH

Brian Knittel, Paul McFedries
Windows Server® 2008 Active Directory® Resource Kit

Windows Server® 2008 Active Directory® Resource Kit

Conan Kezema Stan Riemer Mike Mulcare, Byron Wright, and Microsoft Active Directory

Publisher Resources

ISBN: 0735620482Supplemental ContentCatalog PageErrata