How to kill processes on Windows backend


taskkill command is what you looking for;

first try with tasklist after

C:\Users\tunatore>tasklist

Image Name PID Session Name Session# Mem Usage
========================= ======== ================ =========== ============
System Idle Process 0 Services 0 24 K
System 4 Services 0 984 K
smss.exe 428 Services 0 68 K
wininit.exe 656 Services 0 116 K
services.exe 720 Services 0 7,768 K
lsm.exe 792 Services 0 3,136 K
Excel.exe 892 Services 0 93,136 K

After learning the process name just apply the following command
/im stands for image name “*” wildcards are also supported
/f stands for forcing
/t terminates child processes as well

C:\Users\tunatore>taskkill /f /im Excel.exe /t

more details

taskkill /?

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s