Limiting an app to a single process

  • 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?
 
Hello Edward,

You may want to post this to the Terminal Services or a Windows Application
group.

Buz Brodin
MCSE NT4 / Win2K
Microsoft Enterprise Domain Support

Get Secure! - www.microsoft.com/security

This posting is provided "as is" with no warranties and confers no rights.

Please do not send e-mail directly to this alias. This alias is for
newsgroup purposes only.
 
Just a quick thought on this, it may not be the best method however I do not
know of a setting to allow an app to run once per session.

Create a batch file on the desktop or start menu that runs another batch
file or vb script.

The vbscript starts the app in question and then deletes the batch file from
the desktop or start menu and then recreates it or creates a new one in the
STARTUP folder or the registry run key??

1. So batch1 on the desktop - executes batch2

2. Batch2 runs the app and deletes batch1 (may need a pause statement in
there in case batch1 isn't closed yet)

3. You don't need batch2 to do this for you.... create a static registry run
key or something in the startup folder that recreates a Batch1 on the
desktop.


Just a thought, it is likely the Terminsl Server App guys have a better
solution.


Buz Brodin
MCSE NT4 / Win2K
Microsoft Enterprise Domain Support

Get Secure! - www.microsoft.com/security

This posting is provided "as is" with no warranties and confers no rights.

Please do not send e-mail directly to this alias. This alias is for
newsgroup purposes only.
 
Back
Top