Product Documentation

Working With Applications

May 08, 2015

When you create an application, you assign desktop groups to deliver the application to users. All desktops in a desktop group publish the same application or set of applications.

Publishing Multiple Applications on a Desktop Group

If a user accesses one of the applications on a desktop, none of the other applications on that desktop are available to other users. Other users access applications published by the desktop group using other desktops in the desktop group, if other desktops are available.

If session sharing is enabled, applications published from the same desktop group share a session when they are accessed by the same user from the same user device. If session sharing is disabled, applications published from the same desktop group are launched in separate sessions.

Session sharing requires applications to have the same values for these settings:
  • Color depth
  • Encryption
  • Audio quality
  • Domain name
  • User name
  • Farm name
  • Special folder redirection
  • Virtual COM port mapping
  • Display size
  • Client printer port mapping
  • Client printer spooling
  • EnableSessionSharing
  • TWIDisableSessionSharing

Applications that require different values for these settings cannot share sessions.

To help determine if applications are compatible with each other for session sharing, use the Get-BrokerSessionSharingIncompatibleApplication cmdlet in the XenDesktop SDK.

Publishing an Application to Multiple Groups

By publishing the same applications to different types of desktop groups containing different machine types, you can provide a different user experience for the application depending on which desktop group users access the application from. For example, you might want to give one set of users access to an application on a private desktop group, allowing the users to customize the application and retain their changes after ending a session, but give another set of users access to an application on a shared desktop group, so that their changes are discarded when the session ends.

If you publish an application from a private desktop group and a shared desktop group, when a user who has access to the application in both desktop groups accesses the application, VM hosted apps launches the application from a desktop in the private desktop group if a desktop is available in that group. If no desktop is available in the private desktop group, VM hosted apps launches the application from the shared desktop group.

Using Content Redirection

You can configure an application to redirect content from the user device to the desktop hosting the application by associating file types with the application. When a user opens a file on the user device of the type associated with the application, this launches the application on a desktop hosting the application.

File types available for association with applications are stored in the VM hosted apps site database. The list of file types can be updated by importing file types from desktops in the desktop group assigned to an application while you are configuring content redirection for the application. A desktop must be in maintenance mode to update file types.

When you create or modify an application using Desktop Studio, the list of file types you see is filtered to include only those file types likely to be used with the application. To associate other file types with the application, use the XenDesktop SDK.

To create an application

  1. In Desktop Studio, select the Applications node in the left pane and click Create Application.
  2. Use the Create Application wizard to create the application:
    Wizard page What to do

    Desktop groups

    Select existing desktop groups or create new desktop groups to host the application.

    Location

    Specify the application executable file.

    Optional: Specify the command-line and working directory to locate the application.

    Users

    Specify users that can access the application.

    Shortcut

    Specify how shortcuts to the application appears to users:

    • Select the icon displayed. Browse to the icon you want or accept the default icon.
    • Optional: Specify a folder on the user device for the application shortcut, whether the shortcut appears on the user device Start menu and its location there, and whether it appears on the user device desktop.

    Advanced

    Set advanced options or accept the defaults:

    • Advanced access control.
      • To allow connections through Citrix Access Gateway only, select Allow connections made through Access Gateway.
      • To allow a subset of those Access Gateway connections: Select Any connection that meets any of the following filters, define the Access Gateway farm, and specify the SmartAccess strings that define the allowed user access scenarios for the desktop group.

        SmartAccess is a feature of Access Gateway. For more information, see the Access Gateway documentation.

    • Appearance. Specify the window size of the application (full screen, pixel size, or percent of display) and color depth.
    • Content redirection. Select the file types you want to associate with the application to redirect content from the user device.
      Note: If the file types you want are not displayed, update the file types from an available desktop that is in maintenance mode.
    • Multimedia. Choose whether to enable legacy audio for the application.
    • Resources. Set the application's CPU priority level and specify whether the application waits for printer creation on start-up.
    • Security. Specify whether the user device is required to use a secure ICA connection. Selecting this option means the user device must connect to the application with a minimum encryption level of 128-bit RC-5 encryption. If the user device does not use this level of encryption, the application fails to launch.

    Name

    Specify the name displayed to users for the application.

    Optional: Type a description or tip displayed to users.

    Set the application's availability and visibility to users.

To modify applications

Modifications made to an application might not take effect for users connected to the application until the users have logged off their sessions.

To modify any application properties

You can modify any of an application's properties using a wizard similar to the one used to create applications.

  1. In Desktop Studio, select the Applications node in the left pane.
  2. Select the application you want to modify and click Application Properties.
  3. Use the Application Properties wizard to modify the application. Click the name of the wizard page in the right pane of the wizard to go to that page.

To add or remove desktop groups hosting the application

  1. In Desktop Studio, select the Applications node in the left pane.
  2. Select the application you want to modify.
  3. Add or remove desktop groups:
    • To add or remove desktop groups, click Edit Desktop Groups.
    • To remove desktop groups, select the desktop group you no longer want to host the application and click Remove.

    Clicking Remove does not delete the desktop group or alter any of its other properties.

To add or remove users who can access the application

  1. In Desktop Studio, select the Applications node in the left pane.
  2. Select the application you want to modify.
  3. Add or remove users:
    • To add users or remove, click Edit Users.
    • To remove users, select the users you no longer want to have access to the application and click Remove.

To change the application name displayed to users

  1. In Desktop Studio, select the Applications node in the left pane.
  2. Select the application you want to modify.
  3. From the right-click menu, choose Rename and type the name you want displayed to users for the application.

To remove applications from a desktop group

  1. In Desktop Studio, select the Applications node in the left pane.
  2. Select the desktop group you want to remove applications from.
  3. Select the Applications tab.From the right-click menu, choose Rename and type the name you want displayed to users for the application.
  4. Select the applications you want to remove.
  5. Click Remove Assignment from....

Organizing Applications with Folders and Tags

Use folders and tags to organize applications within Desktop Studio

To use folders

  1. To create a folder:
    1. Select the Applications node or expand the node and select a folder within the node.
    2. Click Create Folder.
  2. To manage the folders and the applications:
    • Select the folder or application and use the right-click menu.
    • To copy a folder or application, drag and drop it.
    • To move a folder or application, hold the Shift key while dragging and dropping it.

To use tags

In VM hosted apps, tags let you categorize applications in Desktop Studio.
Note: Tags used with VM hosted apps cannot be used to restrict access to machines or applications.
To add tags to an application or edit tags added to an application:
  1. In Desktop Studio, select the Applications node in the left pane.
  2. Select an application and click Edit tags.