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


Instructions

  1. Open Command Prompt.

  2. Type tasklist and press Enter.

    Tasklist has been entered into the command prompt and is highlighted

  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.

    An example of a program being terminated is shown

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

Outcome

The process you chose to end has been terminated.