I have a COM Singleton exe which always runs as administrator. It is responsible to start other COM servers for each user based on which user requests to start the COM server. (eg. If user 1 requests COM singleton to start COM server then the COM server is started as user 1(in task manager)). This works absolutely fine in remote desktop services. But in terminal server this functionality breaks.
In terminal server if user 1 requests to start COM server then COM server is started as User 1. After user 1 if any other user requests to start COM server it gets started as user 1 instead of the user requesting to start com server.
This is a critical issue and any help is appreciated.