Open main menu

First get the ID of the process you want to kill. > HowTo/ListProcessesInWindows , then use the command "taskkill" on the command line (cmd.exe).


Taskkill

Ends one or more tasks or processes. Processes can be killed by process ID or image name. Syntax

  • taskkill [/s Computer] [/u DomainUser [/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 DomainUser : Runs the command with the account permissions of the user specified by User or DomainUser. 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 FilterName : Specifies the types of process(es) to include in or exclude from termination. The following are valid filter names, operators, and values. Name Operators Value


/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.

/?: Displays help at the command prompt.