MS-DOS and Windows command line tskill command

Updated: 05/21/2018 by Computer Hope
tskill command

The tskill command allows a user running Microsoft Windows XP home to kill a task from an MS-DOS prompt.

Availability

Tskill is an external command that is available for the following Microsoft operating systems tskill.exe.

Tip

Windows XP Professional or later versions should use the taskkill command.

Tskill syntax

TSKILL processid | processname [/SERVER:servername] [/ID:sessionid | /A] [/V]
processid Specifies the process ID for the process to be terminated.
processname Specifies the name of the process to be terminated.
/SERVER:servername The server containing process ID (default is current).
/ID or /A must be specified when using processname and /SERVER
/ID:sessionid The end process running under the specified session.
/A The end process running under ALL sessions.
/V Display information about the actions being performed.

Tskill examples

tskill notepad /V

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

Additional information

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