Scenario :
1. A single store is configured to launch published applications and desktops.
2. A published desktop is launched : This is a Windows Desktop session.
3. From this session , a published application is launched.
4. As soon as we launch the published application , the published desktop session disconnects.
Modify the following key from the default value of 3 to zero
64-Bit - [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Citrix\Dazzle]
32-Bit - [HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\Dazzle]
Name: WSCReconnectMode
Type: REG_SZ
Value data: 0
Solution 2 :
Modify or create the following key from the default value of True to False
1. HKCU \Software\Citrix\Dazzle
2. HKCU \Software\Citrix\Receiver\SR\Store\+ primaryStoreID + \Properties
3. HKLM\SOFTWARE\Policies\Citrix\Dazzle
4. HKLM\SOFTWARE\Citrix\Dazzle