How to Enable/Disable Workspace Control in StoreFront

How to Enable/Disable Workspace Control in StoreFront

book

Article ID: CTX200828

calendar_today

Updated On:

Description

This article describes how to enable/disable workspace control in StoreFront.


Instructions

Receiver for Web Sites

Workspace control is enabled by default for Receiver for Web. To disable or configure workspace control, edit the site configuration file.
  1. Use a text editor to open the web.config file for the Receiver for Web (aka StoreWeb – which is accessed by browsers). This file is typically located at C:\inetpub\wwwroot\Citrix\<storename>Web\ directory, where <storename> is the name specified for the store when it was created.

  2. Locate the following lines in the file:
    <workspaceControl enabled=”true”, autoReconnectAtLogon=”true”
    logoffAction=”disconnect” showReconnectButton=”false”
    showDisconnectButton=”false” />

  3. Change the value of the enabled attribute to false to disable workspace control for the site.

At the moment, workspace control is controlled on the client side (think of RfW as being just another client). For more information refer to CTX136339 - Applications Launched from Within Published Desktop Disconnects.

There is also a system wide WSCReconnectMode key taking the same values, default is on launch and Refresh. By default, reconnection is to all sessions, you can tune to just disconnected by setting the WSCReconnectAll (REG_SZ, same locations) to “false”. The future intention is that it will be possible to specify the values of these settings from the Account document.

Legacy / PNAgent Sites

If you are using PNAgent, edit the config.aspx for the legacy site to configure workspace control.
  1. The config.aspx file is tpically under C:\inetpub\wwwroot\Citrix\Store\Views\PnaConfig).

  2. Search for the below:
        <ReconnectOptions>
            <ReconnectFromLogon forcedefault="false" modifiable="true">
                <Disconnected>true</Disconnected>
                <Active>true</Active>
            </ReconnectFromLogon>
            <ReconnectFromButton forcedefault="false" modifiable="true">
                <Disconnected>true</Disconnected>
                <Active>true</Active>
            </ReconnectFromButton>
        </ReconnectOptions>

  3. Change the highlighted values to false.  

Store Sites (Receiver Based Access)

You will have to upgrade StoreFront to StoreFront 2.6 to use workspace control for store services.

You can enable workspace control for Store URL (/Citrix/store) for Receiver access by using either PowerShell or by editing web.config file.

  1. To edit the web.config file, go to C:\inetpub\wwwroot\Citrix\store.

  2. Locate the following lines:
    <resourcesSource id=”f01f7dc4-7f28-4bc1-b8fb-7c0db9570d20”
    storeLockedDown=”false”
    anonymousStore=”false” allowSessionReconnect=”true” />

  3. Change the value of "allowSessionReconnect" to false to disable workspace control for the site. It is enabled by default.

For more information refer to Citrix blog - How to Disable Workspace Control Reconnect.

Windows Receiver Clients

Workspace control for native Receiver for Windows is controlled by a registry key - HKLM\Software\[ Wow6432Node\]Citrix\Dazzle.
  1. Go to the registry key: HKLM\software\Wow6432Node\Citrix\Dazzle.

  2. REG_SZ WSCReconnectMode controls when reconnects are attempted. Set to number which has bits set per the following values:
    OnLaunch = 0x1,    (any time Receiver is launched)
    OnRefresh = 0x2,   (App Refresh in UI)
    OnReceiverOpen = 0x4,   (Opening Receiver UX)
    OnWindowsLogin = 0x8,  (On First launch)

  3. By default it will be set for OnLaunch | OnRefresh.

Issue/Introduction

This article describes how to enable/disable Workspace Control in StoreFront.