Microsoft DOS tskill command

Updated: 05/21/2018 by Computer Hope

About tskill

Allows a user running Microsoft Windows XP home to kill a task from an MS-DOS prompt.


The tskill command is an external command that is available in the below Microsoft operating systems tskill.exe.

Tip: Windows XP professional or later versions of Windows should use the taskkill command.

Tskill syntax

TSKILL processid | processname [/SERVER:servername] [/ID:sessionid | /A] [/V]

processid Process ID for the process to be terminated.
processname Process name to be terminated.
/SERVER:servername Server containing process ID (default is current).
/ID or /A must be specified when using processname and /SERVER
/ID:sessionid End process running under the specified session.
/A End process running under ALL sessions.
/V Display information about actions being performed.

Tskill examples

tskill notepad /V

Kills the open notepad task, if open and displays a message similar to: End Process (1328).

Additional information

  • See our task definition for further information and related links on this term.