Most of the viruses when attacks your computer they disables Taskmanager, so that you can’t kill the process/program (ie running virus) most of you got stuck when a nasty virus enters your Computer and take away all your happiness. You try hard to find the exe file name of this virus to kill it, but worst it disbales your taskmanager therefore you are not able to know which processs are running.
Do read our previous tutorial on How To: Delete Stored Network Passwords from Windows to Secure Network to improve your security.
Therefore I came up with a tutorial which will show you how to find out which processes are currently running on your system without using taskmanager, so that you can look for any running malicious program or a program of which you don’t have any information.
The command which we are using is TASKLIST.
Syntax: TASKLIST [/S system [/U username [/P [password]]]]
[/M [module] | /SVC | /V] [/FI filter] [/FO format] [/NH]
This command line tool displays a list of application(s) and associated task(s)/process(es) currently running on either a local or remote system.
Here are some eg. which will show you how to use it effectively.Examples:
TASKLIST
TASKLIST /M
TASKLIST /V
TASKLIST /SVC
TASKLIST /M wbem*
TASKLIST /S system /FO LIST
TASKLIST /S system /U domain\username /FO CSV /NH
TASKLIST /S system /U username /P password /FO TABLE /NH
TASKLIST /FI “USERNAME ne NT AUTHORITY\SYSTEM” /FI “STATUS eq running”
So now you have got the list of all process running on your system now its time to kill the malicious program.
The command which we are using for this is TASKKILL.
Syntax: TASKKILL [/S system [/U username [/P [password]]]]
{ [/FI filter] [/PID processid | /IM imagename] } [/F] [/T]
This command line tool can be used to end one or more processes. Processes can be killed by the process id or image name.
Well if you want some more detaliled description go to command propmt and type TaskKill/?
Here are some eg. which will show you how to use it effectively. Examples:
TASKKILL /S system /F /IM notepad.exe /T
TASKKILL /PID 1230 /PID 1241 /PID 1253 /T
TASKKILL /F /IM notepad.exe /IM mspaint.exe
TASKKILL /F /FI “PID ge 1000″ /FI “WINDOWTITLE ne untitle*”
TASKKILL /F /FI “USERNAME eq NT AUTHORITY\SYSTEM” /IM notepad.exe
TASKKILL /S system /U domain\username /FI “USERNAME ne NT*” /IM *
TASKKILL /S system /U username /P password /FI “IMAGENAME eq note*”
To get more security update like this Subscribe to our feeds and get all such Virus defending at security tips in your inbox.
If you face any problem do leave a comment and I will try to help!













Here is the full syntax and all options for taskkill Vista and Server 2008 version
And the ones for tasklist Vista and Server 2088 version