Tuesday, January 25, 2011

Killing all processes that have a DLL loaded

To kill all the tasks or processes that have a DLL loaded or open, use taskkill.exe:

PS C:\> taskkill.exe /im * /t /f /fi "modules eq [YOURMODULENAME.DLL]"
SUCCESS: The process with PID 7664 (child process of PID 2572) has been terminated.

0 comments:

Post a Comment