Friday, February 11, 2011

Tskill

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.

No comments: