Terminal Server Commands: KILL

ID: Q186526


The information in this article applies to:
  • Microsoft Windows NT Server version 4.0, Terminal Server Edition


SUMMARY

KILL is a utility from the Windows NT Server Resource Kit. It terminates a process.

Syntax

kill [processID] [/server:servername] [/v] [/?]

kill [pattern] [/server:servername] [/id:logonid] [/a] [/v] [/?]

Parameters

processID
Identifies a process.
pattern
Identifies a pattern.
/server:servername
Specifies the Terminal Server containing the process to be terminated. Otherwise, the current Terminal Server is used.
/id: logonid
Specifies a session on the Terminal Server containing the process to be terminated.
/a (all)
Specifies all sessions on the Terminal Server.
/v (verbose)
Displays information about the actions being performed.
/? (help)
Displays the syntax for the command and information about the command's options.

Security Restrictions

You can use kill only to terminate processes belonging to you, unless you have security classification to terminate processes belonging to other users. Administrators have full access to all kill functions.

KILL -- Additional Notes

If no process ID is specified, kill displays an error message. When all processes running in a session terminate, the session also terminates.

KILL -- Examples

To kill process 8, type:
kill 8

Additional query words:

Keywords :
Version : WinNT:4.0
Platform : winnt
Issue type : kbinfo


Last Reviewed: July 20, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.