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 ...