Product Documentation

Disable workspace control reconnect for all Receivers

Aug 30, 2017

Workspace control enables applications to follow users as they move between devices. This allows, for example, clinicians in hospitals to move from workstation to workstation without having to restart their applications on each device.

StoreFront contains a configuration to disable workspace control reconnect in the Store Service for all Receivers. Manage this feature by using PowerShell or by editing web.config.

Use PowerShell

Make sure that you close the Administration Console. Run the following code snippet to import the StoreFront PowerShell modules:

$dsInstallProp = Get-ItemProperty `
-Path HKLM:\SOFTWARE\Citrix\DeliveryServicesManagement -Name InstallDir
$dsInstallDir = $dsInstallProp.InstallDir
& $dsInstallDir\..\Scripts\ImportModules.ps1

Then the PowerShell command Set-DSAllowSessionReconnect turns Workspace control reconnect on or off.

Syntax

Set-DSAllowSessionReconnect [[-SiteId] <Int64>] [[-VirtualPath] <String> ] `
[[-IsAllowed] <Boolean>]

For example, to turn off workspace control reconnect for a store in /Citrix/Store, the following command configures the store:

Set-DSAllowSessionReconnect -SiteId 1 -VirtualPath /Citrix/Store ` -IsAllowed $false

Edit web.config

Open web.config under the Store Service (for example, /Citrix/Store) in a text editor. Locate the lines similar to:

<resourcesService id="f01f7dc4-7f28-4bc1-b8fb-7c0db9570d20"

      storeLockedDown="false"

      anonymousStore="false" allowSessionReconnect="true" />

Change the value of allowSessionReconnect to false to disable workspace control reconnect or true to enable it.