Mr.savin Mr.savin 2009-08-07 183315
TASKKILL [S System [U username [P [password]]
{[FI filter] [PID ProcessID IM ImageName]} [F] [T]
Describe
This command-line tool can be used to end at least one process.
You can end a process based on the process ID or image name.
Parameter list
The S system specifies the remote system to connect to.
U [domain]user Specifies which user context should be in
Execute this command.
P [Password] Specifies for the provided user context
Password. If omitted, prompt for input.
F Specifies to forcibly terminate
Process.
The FI filter specifies that the filter is filtered into or filtered out of the query
The task.
The PID process ID specifies the
Pid.
The IM image name specifies which process to terminate
The image name. wildcard character '
Can be used to specify all image names.
T Tree kill terminates the specified process
And any child processes that are started from this.
Displays the help usage.
Filter
Filter name valid operator valid value
----------- --------------- --------------
STATUS eq, ne Run no response
IMAGENAME eq, NE image name
PID eq, NE, GT, lt, GE, le PID value
Session eq, NE, GT, lt, GE, le session number
CPUTime eq, NE, GT, lt, GE, le CPU time, format
Hhmmss.
HH-When,
MM-Clock, SS-Sec
Memusage eq, NE, GT, lt, GE, le memory used, in kilobytes
USERNAME eq, NE user name, formatted as
[Domain]user
MODULES eq, NE DLL name
Services EQ, NE service name
WindowTitle eq, NE window title
Note You can use the wildcard character ' for IM switching only with a filter.
Note that remote processes are always forced to terminate,
Whether or not the F option is specified.
For example
TASKKILL S system F IM notepad.exe T
TASKKILL PID 1230 PID 1241 PID 1253 T
TASKKILL F im notepad.exe im MSPaint.exe
TASKKILL F fi PID ge windowtitle ne untitle
TASKKILL F FI USERNAME eq NT authoritysystem IM notepad.exe
TASKKILL S system U domainusername FI USERNAME ne NT IM
TASKKILL S system U username P password FI IMAGENAME eq Note
Taskkill command Use Daquan