Kill a Windows process from the command line with taskkill

if we have difficulties to terminate such a dangerous program like virus on your computer through the features endtask manager in windows,
then we can terminate that program through command promt, here the way:

1. open command promt
2. type taskkill / F / IM “apps name” [enter]

This will cause the program to terminate gracefully, asking for confirmation if there are unsaved changes. To forcefully kill the same process, add the /F option to the command line. Be careful with the /F option as it will terminate all matching processes without confirmation.

example taskkill /F /IM virus.exe [enter]

for more information type taskkill /?

Advertisements