CodeTwo Base.title

How to kill a process

Problem:

You cannot stop a process.

Solution:

  1. Start Windows command line (cmd.exe).
  2. Type in and execute the following command where <name> is the name of the process or service you want to kill. You can find it in Task Manager or Windows Services Menu (services.msc). The command will show you some info about the process, among which you will see PID which is Process ID.
    sc queryex <name>
  3. Type in and execute the below command swapping <PID> for the PID number you have got using the command from point 2. 
    taskkill /F /PID <PID>

See also:

  • Applies to: Other
  • Categories: How-To
  • Last modified: 2014-10-20
  • Created: 2014-08-01
  • ID: 389
  • Keywords: kill, stop, close, service, process
Our Clients:
Unicef
Facebook
Shell
T-Systems
Loreal
Casio
UPS Israel
Oford University
Mitsubishi Motors
Toshiba TEC UK Imaging Systems Ltd
Illinois Institute of Technology
MAN Diesel
McDonalds India
Skoda Auto
Bank of Israel
Fujifilm
China Mobile
Santander
Samsung SDI
Skanska
Generali
Telmex
Toyota Tsusho
BECHTEL
Ricoh
BAE SYSTEMS
Federação Portuguesa de Futebol
Credit Agricole
HYUNDAI
Rothschild
Toyota Boshoku
Oriflame Romania
ING
Ikea
Nordea

Partners, certificates & awards