Citrix Workspace app Desktop Lock

You can use the Citrix Workspace app Desktop Lock when you do not need to interact with the local desktop. You can use the Desktop Viewer (if enabled), however it has only the following set of options on the toolbar:

  • Ctrl+Alt+Del
  • Preferences
  • Devices
  • Disconnect.

Citrix Workspace app for Windows with Desktop Lock works on domain-joined machines, which are SSON-enabled (Single Sign-On) and store configured. It does not support PNA sites. Previous versions of Desktop Lock are not supported when you upgrade to Citrix Receiver for Windows 4.2 or later.

Installing Desktop Lock using command-line interface

Prerequisites:

  • You must be an administrator on a domain-joined machine.
  • Single sign-on must be enabled.
  • Store must be configured.
  1. Install Citrix Workspace app by running the following command:

    `CitrixWorkspaceApp.exe /includeSSON /Silent STORE0= “AppStore;https://testserver.net/Citrix/MyStore/discover;on;Desktop App Store”`
    
  2. Download the CitrixWorkspaceDesktopLock.msi available from the Citrix Downloads page.
  3. Install the Desktop Lock by running the following command:

    installationSilent : msiexec /i CitrixWorkspaceDesktopLock.msi /qn

Published desktop is launched automatically after logging in as a user.

System requirements

  • Microsoft Visual C++ 2005 Service Pack 1 Redistributable Package. For more information, see the Microsoft Download page.
  • Supported on Windows 7 (including Embedded Edition), Windows 7 Thin PC, Windows 8, and Windows 8.1 and Windows 10 (Anniversary update included).
  • Connects to StoreFront through native protocols only.
  • User devices must be connected to a local area network (LAN) or wide area network (WAN).

Local App Access

Important

Enabling Local App Access might permit local desktop access unless a full lock down has been applied with the Group Policy Object template or a similar policy. For more information, see the Configure Local App Access and URL redirection section in the Citrix Virtual Apps and Desktops documentation.

Working with Citrix Workspace app Desktop Lock

  • You can use Citrix Workspace app Desktop Lock with the following Citrix Workspace app features:
    • 3Dpro, Flash, USB, HDX Insight, Microsoft Lync 2013 plug-in, and local app access
    • Domain, two-factor, or smart card authentication only
  • Disconnecting the Citrix Workspace app Desktop Lock session logs out the end device.
  • Flash redirection is disabled on Windows 8 and later versions. Flash redirection is enabled on Windows 7.
  • The Desktop Viewer is optimized for Citrix Workspace app Desktop Lock with no Home, Restore, Maximize, and Display properties.
  • Ctrl+Alt+Del is available on the desktop viewer toolbar.
  • Most windows shortcut keys are passed to the remote session, with the exception of Windows+L.
  • Ctrl+F1 triggers Ctrl+Alt+Del when you disable the connection or desktop viewer for desktop connections.

Note:

With the Desktop Lock installed, and LiveInDesktopDisconnectOnLock set to False in the registry path HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\Dazzle Or HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Citrix\Dazzle, the active session gets disconnected when the end-point wakes up from hibernation or standby mode.

Install Citrix Workspace app Desktop Lock

This procedure installs Citrix Workspace app for Windows so that virtual desktops appear using Citrix Workspace app Desktop Lock. For deployments that use smart cards, see Smart card.

  1. Log on using a local administrator account.

  2. At a command prompt, run the following command (located in the Citrix Workspace app and Plug-ins > Windows > Citrix Workspace app folder on the installation media).

    For example:

CitrixWorkspaceApp.exe /includeSSON STORE0="DesktopStore;https://my.storefront.server/Citrix/MyStore/discovery;on;Desktop Store"

For command details, see Install.

  1. In the same folder on the installation media, double-click CitrixWorkspaceDesktopLock.msi . The Desktop Lock wizard appears. Follow the prompts.

  2. When the installation completes, restart the user device. If you have permission to access a desktop and you log on as a domain user, the device appears using Citrix Workspace app Desktop Lock.

To allow administration of the user device after installation, the account used to install CitrixWorkspaceDesktopLock.msi is excluded from the replacement shell. If that account is later deleted, you will not be able to log on and administer the device.

To run a silent install of Citrix Workspace Desktop Lock, use the following command line:

msiexec /i CitrixWorkspaceDesktopLock.msi /qn

Configure Citrix Workspace app Desktop Lock

Grant access to only one virtual desktop running Citrix Workspace app Desktop Lock per-user.

Using Active Directory policies prevent users from hibernating virtual desktops.

Use the same administrator account to configure Citrix Workspace app Desktop Lock as you did to install it.

  • Ensure that the receiver.admx (or receiver.adml) and receiver_usb.admx (.adml) files are loaded into Group Policy (where the policies appear in Computer Configuration or User Configuration > Administrative Templates > Classic Administrative Templates (ADMX) > Citrix Components). The .admx files are located in %Program Files%\Citrix\ICA Client\Configuration\.
  • USB preferences - When a user plugs in a USB device, that device is automatically remoted to the virtual desktop; no user interaction is required. The virtual desktop is responsible for controlling the USB device and displaying it in the user interface.
    • Enable the USB policy rule.
    • In Citrix Workspace app > Remoting client devices > Generic USB Remoting, enable and configure the Existing USB Devices and New USB Devices policies.
  • Drive mapping - In Citrix Workspace app> Remoting client devices, enable and configure the Client drive mapping policy.
  • Microphone - In Citrix Workspace app > Remoting client devices, enable and configure the Client microphone policy.

Configure smart cards for use with Windows Desktop Lock

  1. Configure StoreFront.
    1. Configure the XML Service to use DNS Address Resolution for Kerberos support.
    2. Configure StoreFront sites for HTTPS access, create a server certificate signed by your domain certificate authority, and add HTTPS binding to the default website.
    3. Ensure pass-through authentication with smart card is enabled (enabled by default).
    4. Enable Kerberos.
    5. Enable Kerberos and pass-through authentication with smart card.
    6. Enable Anonymous access on the IIS Default Web Site and use Integrated Windows Authentication.
    7. Ensure the IIS Default Web Site does not require SSL and ignores client certificates.
  2. Use the Group Policy Management Console to configure Local Computer Policies on the user device.
    1. Import the Receiver.admx template from %Program Files%\Citrix\ICA Client\Configuration\.
    2. Expand Administrative Templates > Classic Administrative Templates (ADMX) > Citrix Components > Citrix Workspace > User authentication.
    3. Enable Smart card authentication.
    4. Enable Local user name and password.
  3. Configure the user device before installing Citrix Workspace app Desktop Lock.
    1. Add the URL for the Delivery Controller to the Windows Internet Explorer Trusted Sites list.
    2. Add the URL for the first Delivery Group to the Internet Explorer Trusted Sites list in the form desktop://delivery-group-name.
    3. Enable Internet Explorer to use automatic logon for Trusted Sites.

When Citrix Workspace app Desktop Lock is installed on the user device, a consistent smart card removal policy is enforced. For example, if the Windows smart card removal policy is set to Force logoff for the desktop, the user must log off from the user device as well, regardless of the Windows smart card removal policy set on it. This ensures that the user device is not left in an inconsistent state. This applies only to user devices with the Citrix Workspace app Desktop Lock.

Remove Desktop Lock

Be sure to remove both of the components listed below.

  1. Log on with the same local administrator account that was used to install and configure Citrix Workspace app Desktop Lock.
  2. From the Windows feature for removing or changing programs:
    • Remove Citrix Workspace app Desktop Lock.
    • Remove Citrix Workspace app for Windows.

Passing Windows shortcut keys to the remote session

Most windows shortcut keys are passed to the remote session. This section highlights some of the common ones.

Windows

  • Win+D - Minimize all windows on the desktop.
  • Alt+Tab - Change active window.
  • Ctrl+Alt+Delete - via Ctrl+F1 and the desktop viewer toolbar.
  • Alt+Shift+Tab
  • Windows+Tab
  • Windows+Shift+Tab
  • Windows+All Character keys

Windows 8

  • Win+C - Open charms.
  • Win+Q - Search charm.
  • Win+H - Share charm.
  • Win+K - Devices charm.
  • Win+I - Settings charm.
  • Win+Q - Search apps.
  • Win+W - Search settings.
  • Win+F - Search files.

Windows 8 apps

  • Win+Z - Get to app options.
  • Win+. - Snap app to the left.
  • Win+Shift+. - Snap app to the right.
  • Ctrl+Tab - Cycle through app history.
  • Alt+F4 - Close an app.

Desktop

  • Win+D - Open desktop.
  • Win+, - Peek at desktop.
  • Win+B - Back to desktop.

Other

  • Win+U - Open Ease of Access Center.
  • Ctrl+Esc - Start screen.
  • Win+Enter - Open Windows Narrator.
  • Win+X - Open system utility settings menu.
  • Win+PrintScrn - Take a screen shot and save to pictures.
  • Win+Tab - Open switch list.
  • Win+T - Preview open windows in taskbar.