Monitoring and Terminating Processes

One of the basic questions about remote sessions is what processes are executing inside those sessions. As we’ve discussed in previous chapters, some processes are common to all sessions, but other processes tell you what users are doing in their remote session. You can even use processes to determine whether a user is connected to a full desktop or to a TS RemoteApp. Additionally, you may need to terminate a hung process in a session or terminate all instances of a specific application.

Monitoring Application Use

You can monitor processes on a terminal server from Terminal Services Manager or by using the query command-line tool with the process parameter as shown here:

query process

From Terminal Services Manager, ...

Get Windows Server® 2008 Terminal Services Resource Kit now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.