TASKKILL CMD (Terminate Task)
End a process by PID or image name. Syntax: taskkill /pid [pid] [/f] [/t]
Step-by-step
- Open Command Prompt (press Win+R, type cmd, and press Enter)
- Syntax: taskkill /pid [pid] [/f] [/t]
- Brief: End a process by PID or image name.
- Example: taskkill /pid 4521 /f /t
- Tip: /f forces termination; /t also kills child processes.
Reference: learn.microsoft.com