we have a Windows Server 2008 R2 RDP Server. Users (Win7) are running a Program X from the Server through their RDP client. When the user closes the program, the RDP session logs off the user and the session ends correctly.
Also the program X on the server can launch Microsoft Word through a button. Now when the user runs the program through RDP and then klicks the button to launch Word and then he closes word and then he closes the Program X, the RDP client is not logged off and the session keeps open (with a blank blue screen). So he has to disconnect, instead being logged off.
Does anyone know why this happens and is there a solution to this?