title: In python how to disable Task Manager?
body: <p>I tried this code but it didn't worked:</p>
  
  <pre><code>import subprocess
  from time import sleep
  
  si = subprocess.STARTUPINFO()
  si.dwFlags |= subprocess.STARTF_USESHOWWINDOW
  
  while True:
    subprocess.call("taskkill /F /IM Taskmgr.exe", startupinfo=si)
    sleep(1)
  </code></pre>
  
  <p>ERROR: The process "Taskmgr.exe" with PID 5220 could not be terminated.</p>
  
  <p>Reason : Access denied.</p>