Posted On October 6, 2021

Use CMD to Kill All Instances of a Program / Process

kimconnect 0 comments
blog.KimConnect.com >> Windows >> Use CMD to Kill All Instances of a Program / Process

This can be invoked in an un-elevated session. The command is:

taskkill /F /IM <PROGRAM.EXE>

Sample output:

PS C:\WINDOWS\system32> taskkill /F /IM iexplore.exe
SUCCESS: The process "iexplore.exe" with PID 14060 has been terminated.
SUCCESS: The process "iexplore.exe" with PID 41036 has been terminated.
SUCCESS: The process "iexplore.exe" with PID 12836 has been terminated.
SUCCESS: The process "iexplore.exe" with PID 40696 has been terminated.
SUCCESS: The process "iexplore.exe" with PID 26112 has been terminated.
SUCCESS: The process "iexplore.exe" with PID 3272 has been terminated.
SUCCESS: The process "iexplore.exe" with PID 80368 has been terminated.
SUCCESS: The process "iexplore.exe" with PID 52624 has been terminated.
SUCCESS: The process "iexplore.exe" with PID 23604 has been terminated.
SUCCESS: The process "iexplore.exe" with PID 34608 has been terminated.
SUCCESS: The process "iexplore.exe" with PID 37360 has been terminated.
SUCCESS: The process "iexplore.exe" with PID 23164 has been terminated.
SUCCESS: The process "iexplore.exe" with PID 29096 has been terminated.
SUCCESS: The process "iexplore.exe" with PID 59356 has been terminated.
SUCCESS: The process "iexplore.exe" with PID 56920 has been terminated.
SUCCESS: The process "iexplore.exe" with PID 79644 has been terminated.
SUCCESS: The process "iexplore.exe" with PID 58124 has been terminated.
SUCCESS: The process "iexplore.exe" with PID 16884 has been terminated.
SUCCESS: The process "iexplore.exe" with PID 54112 has been terminated.
SUCCESS: The process "iexplore.exe" with PID 75388 has been terminated.
SUCCESS: The process "iexplore.exe" with PID 3092 has been terminated.
SUCCESS: The process "iexplore.exe" with PID 38984 has been terminated.
SUCCESS: The process "iexplore.exe" with PID 76288 has been terminated.

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

How to connect to the Keri system (door access)

Connect to the Controller Client   Start > Run > mstsc > input DOORSECURITY01 >…

Dell OpenManage and ESXi 6.0 Integration

Install OpenManage on ESX 5.1 to 6.0: ----------------------------------------------- Check to see whether OpenManage is already…

PowerShell: Deploy Certs on Remote Windows Servers

Quick Script for Local Machines: $certPath="C:\kimconnect_cert.pfx" $certPlaintextPassword='PASSWORD' $certEncryptedPassword=ConvertTo-SecureString $certPlaintextPassword -AsPlainText -Force Import-PfxCertificate -CertStoreLocation Cert:\LocalMachine\My -FilePath…