

To terminate a running process by using its PID from Command Prompt:Ģ. To terminate a process from command prompt, you can use either its name or its PID.Ī. How to Kill a Process from Command Prompt. Terminate a Process from the Command Prompt or the PowerShell.Īfter finding the Name or the PID of the process/service that you want to stop, proceed to stop it by following the instructions below: to view all the PID of the "BITS" service process, type: To view the PID of a specific service type:Į.g. to view all the PIDs of the "Chrome.exe" process, type:Ģ.

* Note: The Process Identifier (PID), is a unique number that identifies each of the running processes on the Operating System. In order to stop an application or service from the command prompt or from the PowerShell, you need to know the Process Name or the Process Identifier (PID)*. Find the Name or the PID of the Running Process. * Note: Keep in mind, that critical Windows services cannot be stopped in any way. How to Terminate any Running Process (Program or Service) from Command prompt or PowerShell.* However, another useful way to terminate a running service or program, is to use the Command Line or the PowerShell, especially in cases where you cannot terminate the process using Task Manager. Additionally, if you want to Stop a service, you have to navigate to services and to select the "Stop" option, after right-clicking on the service. The usual way to terminate a running process in Windows, is to open the Task Manager, to right click on the process and to select 'End Task' or "End process tree". If you want to learn how to stop a running service or a program from command prompt or from the Windows PowerShell, then continue reading this tutorial.
