Forum Thread: How to Kill Processes in Windows (Using Python)

How to Kill Processes in Windows (Using Python)

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

Share Your Thoughts

  • Hot
  • Active