Taskkill


Taskkill \ windows \system32\taskkill.exe

Taskkill, included with Windows XP Professional only, is used to end one or more running processes from the command line. Task Manager, described previously, provides a more convenient interface for this function, but Taskkill can be used remotely. Taskkill takes the following command-line parameters:

 taskkill [/s   system   [/u [   domain   \]   username   [/p [   password   ]]]] [/pid   process_id   /im   image   ]     [/f] [/t] 

Option

Description

/s system

Specifies the remote system to which to connect.

/u [ domain \] username

Specifies the user context under which to execute.

/p [ password ]

Specifies the password for the specified user.

/f

Forcefully terminates the process.

/pid process_id

Specifies the process ID of the process to be terminated . To obtain the process IDs, use Tasklist (later in this chapter).

/im image

Specifies the image name of the process to be terminated; specify * to terminate all image names .

/t

Terminates the specified process and process tree, which includes any child processes that were started by it.



Windows XP Pocket Reference
Windows XP Pocket Reference
ISBN: 0596004257
EAN: 2147483647
Year: 2001
Pages: 154
Authors: David A. Karp

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net