Was this page helpful?
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All


Updated: January 21, 2005

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2


Ends a process.


Tskill {ProcessID | ProcessName} [/server:ServerName] [{/id:SessionID | /a}] [/v]

The ID of the process you want to end.

The name of the process you want to end. You can use wildcards to specify this parameter.

/server: ServerName
Specifies the terminal server containing the process you want to end. Otherwise, the current terminal server is used.

/id: SessionID
Ends the process running in the specified session.

Ends the process running in all sessions.

Displays information about the actions being performed.

Displays help at the command prompt.

  • You can use tskill to end only those processes belonging to you, unless you are an administrator. Administrators have full access to all tskill functions and can end processes running in other user sessions.

  • When all processes running in a session end, the session also ends.


To end process 6543, type:

tskill 6543

To end process "explorer" running on session 5, type:

tskill explorer /id:5

Formatting legend


Format Meaning


Information that the user must supply


Elements that the user must type exactly as shown

Ellipsis (...)

Parameter that can be repeated several times in a command line

Between brackets ([])

Optional items

Between braces ({}); choices separated by pipe (|). Example: {even|odd}

Set of choices from which the user must choose only one

Courier font

Code or program output

See Also

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft