Storefront Workspace Control


Using PowerShell

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

$dsInstallProp = Get-ItemProperty `
 -Path HKLM:SOFTWARECitrixDeliveryServicesManagement -Name InstallDir 
$dsInstallDir = $dsInstallProp.InstallDir 
& $dsInstallDir..ScriptsImportModules.ps1

Workspace control reconnect can then be turned on/off by the PowerShell command Set-DSAllowSessionReconnect. Its syntax is:

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

For example, if you would like turn off workspace control reconnect for a store in /Citrix/Store, the following command will configure the store appropriately:

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

Editing web.config

Open web.config under the Store Service, e.g. /Citrix/Store in a text editor. Locate the line looks like:

<resourcesService id="f01f7dc4-7f28-4bc1-b8fb-7c0db9570d20"
      anonymousStore="false" allowSessionReconnect="true" />

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

Treating All Desktops as Applications in StoreFront 3.0

Note: You have to import the StoreFront PowerShell modules before you can run any PowerShell commands below

The following code snippet does this for you:

$dsInstallProp = Get-ItemProperty -Path HKLM:SOFTWARECitrixDeliveryServicesManagement -Name InstallDir
$dsInstallDir = $dsInstallProp.InstallDir
& $dsInstallDir..ScriptsImportModules.ps1

Desktops are treated differently from applications in StoreFront/Receivers. They are placed in a separate Desktop tab and in the case of Receiver for Web, they are not reconnected with workspace control. In some use cases, it is desirable to treat desktops as applications so that they are placed together with applications and get reconnected as part of workspace control. With StoreFront 2.x, you have to add theTreatAsApp keyword to all published desktops to achieve this effect. This can be error-prone if you simply want all desktops to be treated as applications. It lacks flexibility too, if you want one store to treat desktops as applications and the other to preserve  the desktop behaviour. StoreFront 3.0 enables you to configure treating all desktops as applications at the store level without the need of adding the TreatAsAppkeyword to all the published desktops. This is configurable using the PowerShell cmdlet. The syntax is:

Continue reading “Treating All Desktops as Applications in StoreFront 3.0”

Citrix Storefront KEYWORDS

It is possible to use multiple KEYWORDS per Desktop or Application. This can be done by specifying more than one keyword in the published application or desktop.

  1. Open Citrix Studio
  2. Go to the Delivery Groups and select the delivery group you want to set the KEYWORDS on or go to the Applications tab
  3. Select the app you want and select edit
  4. Select User Settings and add the desired key words to the description box
  5. Add multiple keywords separating them by a single space: KEYWORDS:Auto Featured
  6. Click OK

Continue reading “Citrix Storefront KEYWORDS”

Reset StoreFront 2.x to Initial Factory Settings

  1. Ensure that the StoreFront Management console is closed
  2. Open a PowerShell command prompt as an Administrator
  3. From prompt C:>
  4. Type C:Program FilesCitrixReceiver StoreFrontScriptsImportModules.ps1
  5. After the modules are imported run Clear-DSConfiguration
  6. When you have run the command and it has completed successfully, open the StoreFront Management console and confirm that all settings are reset. The option to Create a new deployment or Join existing server group will now be available