I've used "kill" & "psKill" & Windows XPs "taskkill" but I'm not at a solution yet....
I have an NT 4.0 box that I want to kill a specific task on. BUT....I need to specify the username running the task. This is on an NT 4.0 server.
If I want to kill "cmd.exe" (for instance) I need to specify the user running it, because I may have 6 users with that task open at a given moment.
I can do this with "Taskkill" (in XP) but I read it does not work with Windows NT 4.0.
...for instance, with taskkill I'd type: taskkill /F /FI "username eq johnsmith" /IM cmd.exe
This would kill the cmd.exe task running under user johnsmith and leave the other cmd.exe processes intact.
Is there a way I can stop a few specific tasks in NT 4.0 that makes use of the username? I cannot use the PID - that will not work for me.