Limiting an App to one thread

  • Thread starter Thread starter Edward Maule
  • Start date Start date
E

Edward Maule

I have an application that runs on a terminal server. I want to limit the
application so that the users can only ever run the application once per
session. What would be the best way to accomplish this?
 
You could write a script that could query all running
processes and check if there is already a running process
for this application. If it detects a previously running
process, then the script could warn the user.

I could probably craft something like this in a jiffy.
Please reply to this post if you'd like to investigate
this.

-M
 
Thanks, This is basically what I've done. I was just wondering if there was
a policy that would make it a bit cleaner.
 
Ah. I'm sure there is software out there to control this
type of thing, but in my experience, the money that you
spend on those programs isn't worth it, especially when
you can create a script to do it already.

-M
 
Back
Top