How to disable Workspace Control Session Roaming on Citrix Virtual Apps and Desktops

How to disable Workspace Control Session Roaming on Citrix Virtual Apps and Desktops

book

Article ID: CTX218855

calendar_today

Updated On:

Description

This article describes how to disable workspace control session roaming from occurring on Citrix Virtual Apps and Desktops.


Instructions

Use following Powershell commands on one of the Delivery Controller

For desktop sessions:

Set-BrokerEntitlementPolicyRule <Published Desktop rule name> -SessionReconnection <value>

Example:

 

 

For application sessions:

Set-BrokerAppEntitlementPolicyRule <Delivery-Group-name> -SessionReconnection <value>

Example:

 

Where <value> can be one of the following:

  • Always: Sessions always roam, regardless of the client device and whether the session is connected or disconnected. This is the default value.
  • DisconnectedOnly: Reconnect only to sessions that are already disconnected; otherwise, launch a new session. (Sessions can roam between client devices by first disconnecting them, or using Workspace Control to explicitly roam them.) An active connected session from another client device is never used; instead, a new session is launched.
  • SameEndpointOnly: A user gets a unique session for each client device they use. This completely disables roaming. Users can reconnect only to the same device that was previously used in the session.

Issue/Introduction

This article describes how to disable work space control session roaming from occurring on XenApp/XenDesktop.

Additional Information

https://developer-docs.citrix.com/en-us/citrix-virtual-apps-desktops-sdk/2402/Broker/Set-BrokerEntitlementPolicyRule.html

https://developer-docs.citrix.com/en-us/citrix-virtual-apps-desktops-sdk/2402/Broker/Set-BrokerAppEntitlementPolicyRule.html