I'd like to stop annoying background process from running shortily after it starts (by another task in task Scheduler). But I do need it to start, at least shortly, as it is important!
Idea was to have task with action
taskkill with arguments
/im "GPUTweakII.exe", but I get "Last Run Result"
0x1, when test running it.
Ofcourse if I type it in cmd directly it works fine. I am running it with "highest privileges", I have tried both owner user and SYSTEM. Tried running with cmd as task action too, but could not get it to work.
edit: Okay so I tried it with a script from http://blog.uvm.edu/jgm/2010/04/09/killing-process-as-a-scheduled-task/
I guess one of mistakes I made, I did not use
/f (force argument), as I am not sure how closing task will react. If anyone else thinks of something please let me know