Microsoft DOS tskill command

Quick links

About tskill
Availability
Syntax
Examples

About tskill

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

Availability

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

Windows XP Home

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

Syntax

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

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

Examples

tskill notepad /V

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