How to: End a process from the Command Prompt in Windows


Instructions

1) Open Command Prompt.

2) Type tasklist and press Enter.

example screenshot

3) In the "PID" (ProcessĀ ID) column, make note of the number associated with the process that you want to kill.

4) Type taskkill /PID PID#, where PID# is the processĀ ID of the process that you wish to kill.

EXAMPLE: taskkill /PID 7100

The above example command stops the process SnippingTool.exe, seen in the list below.

example screenshot

TIP: To view further options, type taskkill /? and press Enter


OUTCOME

The process you chose to end has been terminated.