0 pts.
 Terminal Services Vs RDP
From my application, I would like to know if I'm running under Terminal Services or Remote Desktop. If I use; GetSystemMetrics(SM_REMOTESESSION) I get "true" in both environments (TS and RDP). I would like to differentiate between the two as I don't want my APP running under TS but allow it under RDP. My app is being written in C/C++. Thanks for your help...

Software/Hardware used:
ASKED: February 8, 2006  3:57 PM
UPDATED: February 9, 2006  1:28 PM

Answer Wiki:
I think you are going to be out of luck on this one. TS and RD are the same thing to the OS. Full TS is available on servers and RD is available on WindowsXP only. What I would do is check for the version of OS and not what type of TS you are running. If your system call returns a TS type environment, then check for the OS type. If it is XP Pro, then you are on RD, if it is Windows 2000 Server or Server 2003, then you are in full TS.
Last Wiki Answer Submitted:  February 9, 2006  1:28 pm  by  Jwr4027   0 pts.
All Answer Wiki Contributors:  Jwr4027   0 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _