Processes, Services & Scheduling

taskkill

End a running process by name or process ID.

taskkill /IM notepad.exe /F

/im image name · /pid process ID · /f force

Practice line — try it from memory, then reveal

taskkill /IM notepad.exe /F

Try it safely

Run taskkill /IM notepad.exe /F in the practice shell →

Chapter 16: Summoning and Banishing. A sandboxed Command Prompt; nothing touches your PC.