Wednesday, December 1, 2010

How to find and kill process in Windows


How to find and kill process in Windows:
How to find PID of the Process:
Open the Command Prompt or click on run and type cmd.
Type           tasklist /v
It should give you the list of processes and their PID’s.
Otherwise,  press Ctrl+Alt+Delete. It will open the Task Manager.
In the  Task Manager go to View -> Select Columns.. and select PID.
How to Kill Process in Windows:
If you know the name of the process then open the Command Prompt and type:
taskkill /IM notepad.exe
If you know the PID of the process, type following command in the Command Prompt:
taskkill /PID 827
If you want to all the Processes owned by a specific user, let say you want to kill all the process for the user QASIM, type the following in your Command Prompt:
taskkill /F /FI "USERNAME eq QASIM"
Cheers

No comments:

Post a Comment