Quick Answer: How to Kill a Process in Windows?
Contents

Kill a process using Taskkill

  • Open the command prompt as the current user or as Administrator.
  • Type tasklist to see the list of running processes and their PIDs.
  • To kill a process by its PID, type the command: taskkill /F /PID pid_number.
  • To kill a process by its name, type the command taskkill /IM “process name” /F.

How do you kill a process?

It is very easy to kill processes using the top command. First, search for the process that you want to kill and note the PID. Then, press k while top is running (this is case sensitive). It will prompt you to enter the PID of the process that you want to kill.

How do I close a program in CMD?

Click on the application you want to close and then press the Alt+F4 keys together and leave them after the application closes. Open the Command Prompt as Administrative and run the Tasklist command, it will show you a list of all the running processes. To view the processes, type Taskview and hit Enter.

Marcus Vance

Marcus Vance

Cybersecurity & Digital Privacy Researcher

Marcus Vance is a cybersecurity auditor and technology writer dedicated to educating the public about online safety, data privacy regulations, enterprise security, and emerging cyber threats.

Share this article
Twitter Facebook Pinterest