Run new process without inherit permissions

  • I want to kill a protected process and the problem is that it can only be killed from new started processes (with admin privileges) within the first few ms, when I run a subprocess to do so it doesn't work out though, I'm pretty sure it's because the subprocess inherits something from the main process which got restricted already by the protected process, I'm thinking about creating a temporary tasks and starting the task when ever I want to kill the protected process.


    Any Suggestions?


    Edit: Like I guessed creating a task to actually do the kill part so I can avoid the inheritance from the main process did solve it

    2 Mal editiert, zuletzt von Tyzer (2. Juni 2021 um 14:31)