I am running a Remote Desktop Services farm environment on Windows Server 2008 R2 Standard servers. For licensing purposes, I wish to limit the number of times a specific application can be run concurrently across the farm. That is, I have 'x' licenses for application 'y', and need to make sure that no more than 'x' users are running the application at any one time inside their remote desktop sessions.
I can't find any documentation as to how I might be able to do this using Remote Desktop Services, or a third party tool. I do know that this is somewhat possible using Citrix products.
Any advice as to how I might achieve this would be appreciated.