RemoteApp duplicate Session

remoteappterminal-serverwindows-server-2008

We have implemented RemoteApp on Windows 2008 R2 to serve out a few programs,everything work fine except one issue,when a user connects to Server a new session opens and a instance of application runs and work correctly but when this session disconnects because of network fault and user reconnects to the server,another instance of app runs in addition of old instance that ran before,so we have to instance of out application that non of them work fine,session hangs and closes automatically,could somebody please help me to solve this problem! I just want to users connect to the existing session and existing instance that they opened before without any new instance

Best Answer

Assuming the apps themselves have nothing to do with it (shouldn't but still).

You are wanting to look at a couple of settings. You can set these via GPO as well, but assuming a single RemoteApp server, the GUI is easy enough.

In the Remote Desktop Session Host Configuration right click on RDP-Tcp and choose Properties.

In there click on the Sessions tab and verify the settings are what you want them to be:

enter image description here

Then close that screen but leave Remote Desktop Session Host Configuration open and verify that Restrict each user to a single session is set to Yes

enter image description here