How to monitor and kill a process automatically on windows by process name - Super User most recent 30 from superuser.com 2010-03-20T12:17:41Z http://superuser.com/feeds/question/69783 http://www.creativecommons.org/licenses/by-nc/2.5/rdf http://superuser.com/questions/69783/how-to-monitor-and-kill-a-process-automatically-on-windows-by-process-name 4 How to monitor and kill a process automatically on windows by process name user17810 http://superuser.com/users/17810 2009-11-12T22:26:37Z 2010-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#69785 2 Answer by Molly7244 for How to monitor and kill a process automatically on windows by process name Molly7244 http://superuser.com/users/0 2009-11-12T22:28:58Z 2009-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#69786 0 Answer by Mehper C. Palavuzlar for How to monitor and kill a process automatically on windows by process name Mehper C. Palavuzlar http://superuser.com/users/13567 2009-11-12T22:29:56Z 2009-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#69791 0 Answer by jatanp for How to monitor and kill a process automatically on windows by process name jatanp http://superuser.com/users/6900 2009-11-12T22:39:55Z 2009-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#69864 0 Answer by ghostdog74 for How to monitor and kill a process automatically on windows by process name ghostdog74 http://superuser.com/users/17045 2009-11-13T03:10:16Z 2009-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}!\\" &amp; strComputer &amp; "\root\cimv2") Set colProcesses = objWMIService.ExecQuery("Select * from Win32_Process Where Name ='" &amp; strProcess &amp; "'") If colProcesses.Count = 0 Then Wscript.Echo strProcess &amp; " is not running." Else Wscript.Echo strProcess &amp; " 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#69939 0 Answer by Jimmy for How to monitor and kill a process automatically on windows by process name Jimmy http://superuser.com/users/2685 2009-11-13T08:11:15Z 2009-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#104750 0 Answer by TImothy Kukler for How to monitor and kill a process automatically on windows by process name TImothy Kukler http://superuser.com/users/27197 2010-02-04T16:18:29Z 2010-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>