We use a scheduler (Control-M) to runs some VB scripts to automate some
tasks in a 3rd-pary application QRM. There is a bug in QRM that when
you run it via scripts, it doesn't end the process, so after the script
completes, you still see qrm.exe in the process in task manager. We
are currently running this on a Windows 2000 server, and it's not a
problem, because Control-M reuses the same process every time, so there
is always just the one process hanging around.
We are moving to a Windows 2003 server, and in testing we've found that
Control-M is creating a new process every time. So we end up with 20
qrm.exe process and we have to manually delete them. In evaluating our
options, it looks like the easiest thing to do is to write a simple
script or app that will kill the processes, and automate that to run
every day.
So, is there a way in VB script to end a process with a specific name
being run by a specific user?
Thanks,
Dennis