Command/script to kill a process in Windows Vista

google:command + “windows vista” + “kill process” -> http://nuuxio.blogspot.com/2008/04/to-kill-process-from-taskmanager-from.html

To kill a process from taskmanager from command-line

First you should check that process is really found at taskmanager. You can list processes with command TASKLIST. To kill a process use TASKKILL.
E.g. c:\>tasklist
To kill a process if you know it’s process id (PID)
E.g. c:\>taskkill /pid 12345
To kill a process if you only know it’s name
E.g. c:\>taskkill /im “winamp.exe”
To find a process if you know partial name
E.g. c:\>tasklist /fi “imagename eq win*”
For more examples
E.g. c:\>tasklist /?
E.g. c:\>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

%d bloggers like this: