Proses Task kill di xp (Taskkill process in Xp)



taskkill [/s Computer] [/u Domain\User [/p Password]]] [/fi FilterName] [/pid ProcessID]|[/im ImageName] [/f][/t]

/s computer Specifies the name or IP address of a remote computer (do not   use backslashes). The default is the local computer.

----------------------------------------------------------------------------
/u domain\userRuns the command with the account permissions of the user specified by User or Domain\User. The default is the permissions of the current logged on user on the computer issuing the command.
----------------------------------------------------------------------------
/p password : Specifies the password of the user account that is specified in the /u parameter.
----------------------------------------------------------------------------
/fi FilterNameSpecifies the types of process(es) to include in or exclude from termination. The following are valid filter names, operators, and values.
NameOperatorsValue
Hostnameeq, neAny valid string.
Statuseq, neRUNNING|NOT RESPONDING
Imagenameeq, neAny valid string.
PIDeq, ne, gt, lt, ge, leAny valid positive integer.
Sessioneq, ne, gt, lt, ge, leAny valid session number.
CPUTimeeq, ne, gt, lt, ge, leValid time in the format of hh:mm:ss. The mm and ss parameters should be between 0 and 59 and hh can be any valid unsigned numeric value.
Memusageeq, ne, gt, lt, ge, leAny valid integer.
Usernameeq, neAny valid user name ([Domain\]User).
Serviceseq, neAny valid string.
Windowtitleeq, neAny valid string.
----------------------------------------------------------------------------
/pid processID : Specifies the process ID of the process to be terminated.
----------------------------------------------------------------------------
/im ImageName : Specifies the image name of the process to be terminated. Use the wildcard (*) to specify all image names.

-----------------------------------------------------------------------------
/f : Specifies that process(es) be forcefully terminated. This parameter is ignored for remote processes; all remote processes are forcefully terminated.
---------------------------------------------------------------------------
/t : Specifies to terminate all child processes along with the parent process, commonly known as a tree kill.
================================================
misalnya anda ingin menghentikan notepad maka perintahnya :

Taskkill /f /im notepad.exe 

( /: forced=paksa     /im : image name=nama process untuk di kill )
perintah diatas sama dengan menghentikan process seperti di task manager...

beberapa perintah lainnya

Examples

The following examples show how you can use the taskkill command:
taskkill /pid 1230 /pid 1241 /pid 1253
taskkill /f /fi "USERNAME eq NT AUTHORITY\SYSTEM" /im notepad.exe
taskkill /s srvmain /f /im notepad.exe
taskkill /s srvmain /u maindom\hiropln /p p@ssW23 /fi "IMAGENAME eq note*" /im *
taskkill /s srvmain /u maindom\hiropln /fi "USERNAME ne NT*" /im *
taskkill /f /fi "PID ge 1000" /im *


Tidak ada komentar: