Product Documentation

ローカルアプリケーションアクセスとURLリダイレクトの構成

Jan 24, 2017
To use Local App Access and URL redirection with Citrix Receiver:
  • Install Receiver on the local client machine. You can enable both features during Receiver installation or you can enable Local App Access template using the Group Policy editor.
  • Set the Allow local app access policy setting to Enabled. You can also configure URL whitelist and blacklist policy settings for URL redirection. For more information, see Local App Access policy settings.

Enable local app access and URL redirection during Receiver installation

To enable Local App Access and URL redirection for all local applications:
  1. Set the Allow local app access policy setting to Enabled. When this setting is enabled, the VDA allows the client to decide whether administrator-published applications and Local App Access shortcuts are enabled in the session. (When this setting is disabled, both administrator-published applications and Local App Access shortcuts do not work for the VDA.) This policy setting applies to the entire machine, as well as the URL redirection policy.
  2. Enable Local App Access and URL redirection when you install Citrix Receiver for all users on a machine. This action also registers the browser add-ons required for URL redirection.
    From the command prompt, run the appropriate command to install the Receiver with the following option:
    CitrixReceiver.exe /ALLOW_CLIENTHOSTEDAPPSURL=1
    CitrixReceiverWeb.exe /ALLOW_CLIENTHOSTEDAPPSURL=1

Enable the local app access template using the Group Policy editor

  1. Run gpedit.msc.
  2. Select Computer Configuration. Right-click Administrative Templates and select Add/Remote Templates > Add.
  3. Add the icaclient.adm template located in the Receiver Configuration folder (usually in c:\Program Files (x86)\Citrix\Online Plugin\Configuration). (After the icaclient.adm template is added to Computer Configuration, it is also available in User Configuration.)
  4. Expand Administrative Templates > Classic Administrative Templates (ADM) > Citrix Components > Citrix Receiver > User Experience.
  5. Select Local App Access settings.
  6. Select Enabled and then select Allow URL Redirection. For URL redirection, register browser add-ons using the command line, as described below.

Provide access to only published applications

To provide access to only published applications:
  1. On the server where the Delivery Controller is installed, run regedit.exe.
    1. Navigate to HKLM\Software\Wow6432Node\Citrix\DesktopStudio.
    2. Add the REG_DWORD entry ClientHostedAppsEnabled with a value of 1. (A 0 value disables Local App Access.)
  2. Restart the Delivery Controller server and then restart Studio.
  3. Publish Local App Access applications.
    1. Select Delivery Groups in the Studio navigation pane and then select the Applications tab.
    2. Select Create Local Access Application in the Actions pane.
    3. Select the desktop Delivery Group.
    4. Enter the full executable path of the application on the user's local machine.
    5. Indicate if the shortcut to the local application on the virtual desktop will be visible on the Start menu, the desktop, or both.
    6. Accept the default values on the Name page and then review the settings.
  4. Enable Local App Access and URL redirection when you install Citrix Receiver for all users on a machine. This action also registers the browser add-ons required for URL redirection.
    From the command prompt, run the command to install the Receiver with the following option:
    CitrixReceiver.exe /ALLOW_CLIENTHOSTEDAPPSURL=1
    CitrixReceiverWeb.exe /ALLOW_CLIENTHOSTEDAPPSURL=1
  5. Set the Allow local app access policy setting to Enabled. When this setting is enabled, the VDA allows the client to decide whether administrator-published applications and Local App Access shortcuts are enabled in the session. (When this setting is disabled, both administrator-published applications and Local App Access shortcuts do not work for the VDA.)

Register browser add-ons

Note: The browser add-ons required for URL redirection are registered automatically when you install Receiver from the command line with the /ALLOW_CLIENTHOSTEDAPPSURL=1 option.
You can use the following commands to register and unregister one or all add-ons:
  • To register add-ons on a client device: <client-installation-folder>\redirector.exe /reg<browser>
  • To unregister add-ons on a client device: <client-installation-folder>\redirector.exe /unreg<browser>
  • To register add-ons on a VDA: <VDAinstallation-folder>\VDARedirector.exe /reg<browser>
  • To unregister add-ons on a VDA: <VDAinstallation-folder>\VDARedirector.exe /unreg<browser>

where <browser> is IE, FF, Chrome, or All.

For example, the following command registers Internet Explorer add-ons on a device running Receiver.
C:\Program Files\Citrix\ICA Client\redirector.exe/regIE
The following command registers all add-ons on a Windows Server OS VDA.
C:\Program Files (x86)\Citrix\System32\VDARedirector.exe /regAll

URL interception across browsers

Description Configuration
By default, Internet Explorer redirects the URL entered. If the URL is not in the blacklist but is redirected to another URL by the browser or website, the final URL is not redirected, even if it is on the blacklist. For URL redirection to work correctly, enable the add-on when prompted by the browser. If the add-ons using Internet options or the add-ons in the prompt are disabled, URL redirection does not work correctly.
The Firefox add-ons always redirect the URLs. When an add-on is installed, Firefox prompts to allow/prevent installing the add-on on a new tab page. You must allow the add-on for the feature to work.
The Chrome add-on always redirects the final URL that is navigated and not the entered URLs. The extensions have been installed externally. If you disable the extension, the URL redirection feature does not work in Chrome. If the URL redirection is required in Incognito mode, allow the extension to run in that mode in the browser Settings.

Configure local application behavior on logoff and disconnect

  1. On the hosted desktop, run regedit.msc.
    1. Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\Client Hosted Apps\Policies\Session State.
      For a 64-bit system, navigate to HKEY_LOCAL_MACHINE\SOFTWARE\wow6432node\Citrix\Client Hosted Apps\Policies\Session State.
    2. Add the REG_DWORD entry Terminate with one of the values:
      • 1 - Local applications continue to run when a user logs off or disconnects from the virtual desktop. Upon reconnection, local applications are reintegrated if they are available in the local environment.
      • 3 - Local applications close when a user logs off or disconnects from the virtual desktop.