Microsoft DirectAccess breaks Citrix/XenApp application launches – Fix


If you have implemented DirectAccess for your users so that they could connect to corporate network whilst they work from home, you might have come across this issue while using Citrix. Users would be able to connect to Storefront portal and authenticate themselves but when they try to launch applications it fail. Users will also notice the below Citrix Receiver dialog with no apparent error messages.

The users who connect directly to Storefront without DirectAccess have no issues to launch applications.

The Cause

When you have DirectAccess enabled on user PCs, it expects hostname/FQDN values for initiating traffic between the client and the DA gateway. By default, Citrix XenApp tries to connect on IP addresses to bypass the infrastructure reliance on DNS. So, we will need to find a way to switch that behaviour to an FQDN based connection initiation.

Let’s look at the .ICA files to see what’s in there. The below screenshot is of an ICA file that shows IP addresses. This setup will NOT work for DirectAccess connections.

The Fix

To fix this, you will need to change a DNS parameter in XenApp/XenDesktop 7.x farms.

asnp citrix*
Get-BrokerSite

You will need to change the value from False to True

Set-BrokerSite -DnsResolutionEnabled $True

Running a Get-BrokerSite after that will show that the value has been changed from False to True

Now, let’s inspect the ICA file again. You can find the ICA files from your User profile folder. I had mine under

C:\Users\<username>\AppData\Local\Citrix\Web Helper v2\Temp

If you open the file in Notepad, you can see that the IP addresses have been replaced with FQDNs

That should resolve the issue.

Stay safe and Stay at home. Cheers people!!

What happens when you reset Citrix Receiver?


Hello Folks,

Have you ever wondered what happens when Citrix Receiver is reset?  There are times when Receiver needs a bit of love and care from the Citrix admins. I came across an issue recently where I had to reset Receiver client and thought I should put this down on what gets removed and what gets retained for future reference.

Resetting Receiver to factory defaults removes the following items:

  • All accounts and stores.
  • All apps delivered by the Self-Service Plug-in, along with their icons and registry keys.
  • All file type associations created by the Self-Service Plug-in.
  • Cached files and saved passwords.
  • Per-user registry settings that are user preferences and, for per-machine installations, all user-specific registry settings.
  • NetScaler Gateway registry settings for Receiver.

 

Resetting Receiver does not impact the following items:

  • Receiver or Plug-in installation.
  • Per-machine ICA lockdown settings.
  • GPOs.

How do you reset Receiver?

CLI Method

You can also use the  command line interface to reset Receiver or try and create a script for the same:

"C:\Program Files (x86)\Citrix\ICA Client\SelfServicePlugin\CleanUp.exe" -cleanUser"

GUI Method

Right click the Receiver icon in the notification area and select Advanced Preferences

In the dialog, select Reset Receiver and click OK

receiver

Quick shout out to Trishanka Saikia from Citrix Technical Support for this info.

How to Configure ICA Proxy for XenApp & XenDesktop for Citrix Receiver for iPhone, iPod, iPad – Deployment Guide


I came across this super informative document from Citrix detailing the setup of Citrix access on iPads and other iOS devices. The document has been written for the older version of Netscaler and XenDesktop versions but i would think there isnt much changes in terms of configuration so is worth a look.

Solution Requirements

  • Windows Desktops delivered to iPhone, iPod or iPad
  • Windows Applications delivered to iPhone, iPod, iPad
  • ICA Proxy for Citrix Receiver iPhone, iPod & iPad
  • ICA Proxy for XenApp & XenDesktop
  • ICA Proxy for NetScaler Access Gateway Enterprise Edition – AGEE

Prerequisites

  • Citrix NetScaler L4/7 Application Switch, version 9.1 build 101.5+ running Access Gateway (Quantity x 2 for High Availability)
  • Citrix XenApp Server 5.0+ or XenDesktop 4.0+
  • Microsoft Server with Active Directory
  • iPhone Configuration Utility
  • iPhone OS 3.0+, iPad OS
  • Citrix Receiver for iPhone v2.1+

The document can be downloaded  here citrix_agee_icaproxyxaxdreceiver.pdf