How to disable session sharing

How to disable session sharing

book

Article ID: CTX232362

calendar_today

Updated On:

Description

The default behavior in Citrix Virtual Apps and Desktops, when launching applications, is to attempt to reuse existing sessions when possible. Application session sharing saves the costs of launching new sessions helping applications start faster and use fewer resources. It also offers other features that involve the clipboard such as copy-paste operations.

However, in some circumstances it might be desirable to have each application instance start in a separate session. For example, this might be particularly useful when starting multiple application sessions in full screen mode on separate monitors.

With the 7.13 and later release of Citrix Virtual Apps and Desktops, the Broker Service exposes a new setting at the Application Group level named SingleAppPerSession to allow that.


Instructions

Step 1:  Create an Application group

Step 2: Disable session sharing

Logon to one of the Delivery Controller and open Powershell
Load Citrix Powershell snap-in by executing Add-PSSnapin Citrix*
Set application group property SessionSharingEnabled to false and SingleAppPerSession to true by executing 

Set-BrokerApplicationGroup -Name "<Application Group Name>" -SessionSharingEnabled $false -SingleAppPerSession $true



This setting apply to users trying to launch the same app with the same user account on multiple devices or different app from the same client device.
 

Additional Information

https://www.citrix.com/blogs/2017/02/27/xenapp-and-xendesktop-7-13-launching-an-application-in-multiple-sessions/