I have a COM singleton exe which is started as administrator. The exe is responsible to launch another exe (COM exe) with UserName (in task manager) same as the user requesting to launch the exe. This works fine in remote desktop services but in terminal server it launches as the first user launching the exe 2. (i.e. if user1 requested singleton to launch COM exe it launches as user1. After this if user 2 requests to launch exe it launches again as User1 even though User2 requested it.).
Note that it works absolutely fine in remote desktop services but is errornous in terminal server only.