System Grab Bag

View all TLDR pages from Windows (or from all pages)

taskkill

Terminate a process by its process ID or name. More information: https://learn.microsoft.com/windows-server/administration/windows-commands/taskkill.
  • Terminate a process by its ID:
    taskkill /pid {{process_id}}
  • Terminate a process by its name:
    taskkill /im {{process_name}}
  • Forcefully terminate a specified process:
    taskkill /pid {{process_id}} /f
  • Terminate a process and its child processes:
    taskkill /im {{process_name}} /t
  • Terminate a process on a remote machine:
    taskkill /pid {{process_id}} /s {{remote_name}}
  • Display information about the usage of the command:
    taskkill /?

License and Disclaimer

The content on this page is copyright © 2014—present the tldr-pages team and contributors.
This page is used with permission under Creative Commons Attribution 4.0 International License.

While we do attempt to make sure content is accurate, there isn't a warranty of any kind.