Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Tskill

Updated: January 21, 2005

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

Tskill

Ends a process.

Syntax

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

Parameters
ProcessID
The ID of the process you want to end.

ProcessName
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.

/a
Ends the process running in all sessions.

/v
Displays information about the actions being performed.

/?
Displays help at the command prompt.

Remarks
  • 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.

Examples

To end process 6543, type:

tskill 6543

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

tskill explorer /id:5

Formatting legend

 

Format Meaning

Italic

Information that the user must supply

Bold

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft. All rights reserved.