Windows - How to kill a process from command line, Tskill command on windows

How to kill a process from command line


I cant believe this when I tried it on windows, Do you ever believe that windows acting so efficient as linux, indeed Nooo..

tasklist command to view the process running in your windows machine. for eg,
 C:\>tasklist


Image Name                     PID Session Name        Session#    Mem Usage
========================= ======== ================ =========== ============
System Idle Process              0 Services                   0         24 K
System                           4 Services                   0        720 K
smss.exe                       312 Services                   0        180 K
csrss.exe                      428 Services                   0      1,428 K
wininit.exe                    480 Services                   0        144 K
csrss.exe                      488 Console                    1      8,092 K

you can kill the process using tskill/pskill commands as,
 C:\>tskill notepad

The topic on Windows - How to kill a process from command line is posted by - Maha

Hope you have enjoyed, Windows - How to kill a process from command lineThanks for your time

Tech Bluff