NanoTech-kw · Tech Guide Library

TASKKILL CMD (Terminate Task)

Windows · CMD

End a process by PID or image name. Syntax: taskkill /pid [pid] [/f] [/t]

Step-by-step

  1. Open Command Prompt (press Win+R, type cmd, and press Enter)
  2. Syntax: taskkill /pid [pid] [/f] [/t]
  3. Brief: End a process by PID or image name.
  4. Example: taskkill /pid 4521 /f /t
  5. Tip: /f forces termination; /t also kills child processes.

Reference: learn.microsoft.com

Open in the NanoTech-kw library →