I'm running a Windows 2008 Enterprise 32-bit installation in Terminal Services mode. I have a program that runs locally, but will not run while connected with RDP. When trying to launch it, I can see the program running in the task manager but it never displays to the user. There are no messages, no errors, no nothing other than a process listed in the task manager. There is no indication that anything is happening.
I have installed the program using the "Install Program on Terminal Server" option in the control panel and I have also tried reinstalling it with the "change user /install" mode.
Any suggestions?
EDIT: It works fine in Terminal Server 2003.
Unfortunately, whether or not the application will run in a terminal session depends on how it was written. More than likely, the compatibility issue is due to the code making use of the Global Namespace, which is not allowed any longer for security reasons. I would try modifying the properties of the executable so it runs in Windows XP Compatibility Mode and seeing if that works. There is an excellent Technet blog entry that explains why this happens with legacy applications: http://blogs.technet.com/askperf/archive/2007/04/27/application-compatibility-session-0-isolation.aspx
I'm not sure which Windows version you are connecting from. If it is Vista or 7, you will need to use mstsc /admin instead of the command Knox described. If that application works while in the admin session, it is likely that the software requires privledge elevation of some sort.
It might be useful as a debugging step to connect to the console session (session 0) and see if the app works there. Perhaps the app is inadvertantly hardcoded to work only in session 0. From the client, try
mstsc -v:servername /F -console
as documented in
How to Connect to and Shadow the Console Session with Windows Server 2003 Terminal Services