How to monitor and kill a process automatically on windows by process name - Super User most recent 30 from superuser.com2010-03-20T12:17:41Zhttp://superuser.com/feeds/question/69783http://www.creativecommons.org/licenses/by-nc/2.5/rdfhttp://superuser.com/questions/69783/how-to-monitor-and-kill-a-process-automatically-on-windows-by-process-name4How to monitor and kill a process automatically on windows by process nameuser17810http://superuser.com/users/178102009-11-12T22:26:37Z2010-02-04T16:18:29Z
<p>Is there a program or utility to monitor the running process and automatically kill specific processes? My work laptop has a whole bunch of useless crap that I cannot uninstall. Some of these processes keeps popping a specific intervals and consume tons of cpu and make my laptop useless. I always have to manually kill these processes which is annoying. I can't uninstall these otherwise they will automatically reinstall.</p>
http://superuser.com/questions/69783/how-to-monitor-and-kill-a-process-automatically-on-windows-by-process-name/69785#697852Answer by Molly7244 for How to monitor and kill a process automatically on windows by process nameMolly7244http://superuser.com/users/02009-11-12T22:28:58Z2009-11-12T22:41:36Z<p><strong><a href="http://www.softpedia.com/get/Security/Security-Related/AnVir-Task-Manager-Free.shtml" rel="nofollow">AnVir Task Manager</a></strong></p>
<blockquote>
<p>Freeware process and startup manager.
Remove spyware and optimize
performance. Monitor and manage
processes, services, internet
connections, DLLs, drivers.
Descriptions for startup programs and
all Windows services. Alerts on new
startups.</p>
<p>Icons in tray for CPU usage and disk
load. Quick access to last launched
programs in tray. Hide windows to
system tray.</p>
<p>Automatically change process priority,
permanently block undesired processes.
Furthermore, comes with an attractive
user interface.</p>
<p>Advanced startup manager allows you
to: · Get full list of applications
running automatically on Windows
startup including all hidden
applications. · Get all additional
information about startup
applications. · Disable/enable,
add/delete, edit startup entries. ·
Stop or run once again startup
application.</p>
<p>Startup guard allows you to: · See
alert when any new application adds
itself to startup. · Forbid some
applications to be added to startup. ·
See alert when Internet Explorer home
page was changed.</p>
<p>Process manager allows you to: · Get
full information about all processes:
CPU and memory usage, executable name
with full path, priority, work time,
user name. · Get executable file
properties, icon and version
information. · Stop many processes
with one click. · Change process
priorities.</p>
<p>Tray icons allows you to: · Get
current information about CPU usage
including list of most active
programs. · Get current information
about HDD usage. Protection against
viruses includes: · Detection and
destruction of most propagated
viruses. · Virus database update. ·
Minimum usage of system resources.</p>
</blockquote>
<p><em>A free and portable version can be downloaded <a href="http://www.anvir.com/download.htm" rel="nofollow">here</a>.</em></p>
<p>however, you may consider the <strong>Pro</strong> version, to permanently block undesired processes:</p>
<blockquote>
<p>create a 'black list' of <strong>processes that are automatically terminated immediately after these processes start</strong>. Add to this list annoying and undesired processes that are started automatically without your will.</p>
</blockquote>
<p><em>Anvir Task Manager Pro is shareware, try before you buy.</em></p>
http://superuser.com/questions/69783/how-to-monitor-and-kill-a-process-automatically-on-windows-by-process-name/69786#697860Answer by Mehper C. Palavuzlar for How to monitor and kill a process automatically on windows by process nameMehper C. Palavuzlarhttp://superuser.com/users/135672009-11-12T22:29:56Z2009-11-12T22:29:56Z<p>You should try <a href="http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx" rel="nofollow">Sysinternals Process Explorer</a> from Microsoft TechNet.</p>
http://superuser.com/questions/69783/how-to-monitor-and-kill-a-process-automatically-on-windows-by-process-name/69791#697910Answer by jatanp for How to monitor and kill a process automatically on windows by process namejatanphttp://superuser.com/users/69002009-11-12T22:39:55Z2009-11-12T22:39:55Z<p>If you know Microsoft Developer Tools, you can use PSAPI (Process status API) <a href="http://msdn.microsoft.com/en-us/library/ms684884%28VS.85%29.aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/ms684884%28VS.85%29.aspx</a> to write nifty utility to do the things you want.</p>
http://superuser.com/questions/69783/how-to-monitor-and-kill-a-process-automatically-on-windows-by-process-name/69864#698640Answer by ghostdog74 for How to monitor and kill a process automatically on windows by process nameghostdog74http://superuser.com/users/170452009-11-13T03:10:16Z2009-11-13T03:10:16Z<p>you can make a vbscript, (or batch), then run as scheduled task,eg</p>
<pre><code>Set objArgs = WScript.Arguments
strProcess = objArgs(0)
strComputer = "."
Set objWMIService = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
Set colProcesses = objWMIService.ExecQuery("Select * from Win32_Process Where Name ='" & strProcess & "'")
If colProcesses.Count = 0 Then
Wscript.Echo strProcess & " is not running."
Else
Wscript.Echo strProcess & " is running."
'Kill the process
For Each objProcess in colProcesses
objProcess.Terminate()
Next
End If
</code></pre>
<p>save the above as terminate.vbs and put this as schedule task</p>
<pre><code>cscript /nologo terminate.vbs "sleep.exe"
</code></pre>
http://superuser.com/questions/69783/how-to-monitor-and-kill-a-process-automatically-on-windows-by-process-name/69939#699390Answer by Jimmy for How to monitor and kill a process automatically on windows by process nameJimmyhttp://superuser.com/users/26852009-11-13T08:11:15Z2009-11-13T08:11:15Z<p>Try attaching a debugger to the process and break. It shouldn't pop up anymore (since it's still running), but it shouldn't bother you anymore either (from the break). Apparently one of my co-workers used to do this to avoid automatic reboots after installing updates.</p>
http://superuser.com/questions/69783/how-to-monitor-and-kill-a-process-automatically-on-windows-by-process-name/104750#1047500Answer by TImothy Kukler for How to monitor and kill a process automatically on windows by process nameTImothy Kuklerhttp://superuser.com/users/271972010-02-04T16:18:29Z2010-02-04T16:18:29Z<p>This VB script worked perfectly for me - thanks! I configured a scheduled task each 30 min to kill a process that was respawning here.</p>