Terminating processes

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm using a small vb.net app to open up applications within a Citrix/terminal
services session. Under some conditions, I'd like the app to close those
applications. However, code I've found online will kill all instances of an
executeable on a server, effectively killing the apps for other users'
sessions. Obviously that's bad.

I'd like to find out how I can kill an instance of an executeable that was
started by the user.
 
Ive created something similar, but the processes as I understood them
(and im new to vb) but the processes are local to the person logged in.

So I have a little Listener prog that runs on each client machine and when I
want to kill
certain processes they are running, i set up a txt file on the / in the same
directory as the
listener program is running from.

The Listener program that runs on each machine has a file system watch on it
and checks every
so many minutes for that file. If it finds the file, it kills the Processes
( locally ) on the users machine.
-They can only see their own processes.

Id be curious to know if someone knows how to kill processes on other
machines from the server.
It would have made my life easier back then :)

M.
 
Back
Top