I'm trying to use a DOS batch file to kill an application that somettimes get stuck in memory. I am logged on as Adminstrator on Windows Server 2003 machine. PSKILL works beautifully, but I don't want to knock everyone else using the application to get kicked out, so I am attempting to use tskill. I think this worked in the past but it is not working now. This is the synax of what I'm using:
c:\windows\system32\tskill.exe "filemaker pro.exe" /ID:0
(and 0 is the correct session - I double checked). I can't use Process ID because this always changes, etc. and way complicated - just want tskill to use Session ID. Is there something wrong with my syntax?