Detecting a Terminal Services session
Does anyone have any experience with Windows 2000\2003 terminal server?

I'm looking for a way to find out whether or not an installation is being run from within a terminal services session.

Thanks.