I am on a Windows Server 2008 R2. Is it possible to limit the number of concurrent instances of a program/an executable file for a user?
An example: I would like to prevent the users from starting paint.exe if another paint.exe is still running.
I am on a Windows Server 2008 R2. Is it possible to limit the number of concurrent instances of a program/an executable file for a user?
An example: I would like to prevent the users from starting paint.exe if another paint.exe is still running.
I'm pretty sure the program would need to have this sort of checking built inside itself for this to work. Or then you need to build a custom program launcher script or similar which checks the process list before starting the program.
AppLocker comes close, but even with AppLocker policies you can't do quite what you're after.
I ended up writing a windows service in C# that frequently checks for multiple opened instances and terminates the latter started.
No, it is not possible and it rarely makes sense to star with. I have such a program here (turbo floorplan) sucks - like hell when I try to replicate a bnuilding plan. Can not open 2 diocuments at the same time.