Avatar of DwightIVD
DwightIVD
 asked on

How do I allow a Specific Number of Logins per User to TS Shared Applications

I am running a shared application through Terminal Services using Windows Server 2008.  Some users are running as many as 5 instances of the application at one time, causing resource issues.  There are many users that legitimately need two instances, so I can't restrict to one.  Can anyone guide me in the procedure to limit each user to two instances of the application, either at the terminal server or group policy level?  Any help would be appreciated.

Thanks

Dwight
Windows Server 2008Active Directory

Avatar of undefined
Last Comment
Lazarus

8/22/2022 - Mon
DarinTCH

?limit concurrent connections....to 2 or 3
ASKER CERTIFIED SOLUTION
Azhrei1

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Lazarus

This is not an exact fix for you but might help. As Azhrei1 says, MS doesnt really help you out here.

You can do this several ways. You can install the application on a shared drive or shared
folder that the application is installed in, and put a limit on the number of connections to the share. The shortcuts to the application must use the UNC path, i.e. \\server\share\myapp.exe, and not a local path like D:\app_folder\myapp.exe

Or you could also use this tool, which uses a different approach:
Keeping compliant with software licensing through a batch file  http://terminal.servebeer.com/php/license_compliance.php
Azhrei1

lazarus's options won't limit your usage per user though, just the usage in total.
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
Lazarus

yes, that is true. It's more of a lisence issue monitoring fix than a per user. Your only really way to counter the issue is thru a script that iniated the program that will count and deny on count limits.