Skip to main content
Terminal Services Managerv26.11 · Nov 2026 Download View Pricing

Ending a task

End task stops the process immediately, without giving it a chance to save state or warn its user. Use it when a process is consuming runaway resources or has hung.

The End task confirmation

How to do it

Select one or more processes in the Processes list, then either:

  • Click End task in the command row,
  • Right-click and choose End task, or
  • Choose Processes > End task from the main menu.

A confirmation dialog appears. It is titled with the process, its PID, and its server, for example End task - EXCEL.EXE (PID 170) on RDS-NYC-01, and says This will end the selected process. Unsaved data in it is lost. With several processes selected the title is End tasks. Click End task to proceed.

The dialog also has a checkbox such as End all processes with this name: 13 on 5 servers. It says how many processes share the name and on how many servers before you tick it (these names when several processes are selected). Tick it to end every process that shares the name on every server in the list, including rows the filter hides, not just the ones you selected.

What happens on the server

The Windows API call WTSTerminateProcess runs against each selected process on its host server. Buffers are not flushed, file handles are closed by the OS without giving the process a chance to write final data, and no logoff prompt appears for the user whose session the process was in.

A log entry is written for each process: Task ended on ... on success, or Couldn't end task on ... with the Windows error message. Check the Application log if ending a task did not work as expected.

Common reasons ending a task fails

  • Access denied - the current connection credentials do not have the right to end that process on that server. System and other elevated processes always require admin privileges on the target.
  • The process has already exited between the time you selected it and the time the action ran. The row disappears on the next refresh.

Multi-server selection

Selecting processes across several servers is allowed. The confirmation dialog applies to the entire selection; each process is ended on its own server.

See also

Was this page helpful?