I'm looking into creating a python script that will kill some of the common processes within Windows such as some anti-virus processes, and cmd.exe (including explorer.exe to check if it works).
I've learnt about os.kill and ctypes. Does anyone have an example that I could follow and adapt to fit for purpose?
Let me know.
1 Response
Retrieving windows PIDs:
http://code.activestate.com/recipes/305279-getting-process-information-on-windows/
Terminating a process:
http://code.activestate.com/recipes/347462-terminating-a-subprocess-on-windows/
Many more examples available on the glorious internet...
Share Your Thoughts