Have you tried the pstool set from sysinternals? More specifically the pskill function? It may be more... direct... rather than taskkill, which IIRC, is more graceful ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results