Citrix VDA Gets Unregistered As Soon As App Is Launched

Recently, I have experienced an odd issue which took several days to get to the root cause of it and getting it resolved.

Issue: Citrix VDA Version 1912 CU2 gets unregistered as soon as an app is launched. End user would get an error “Could not open the app”. They had 2 VDAs and this was happening on both VDAs. Delivery Controller was at 1912 CU2 version.

This happened in a multi-tenant Citrix environment where delivery controller was being shared among different clients. It was working fine for all other clients except this one, so it was some thing client specific and /or their VDA(s).

Tried the following to fix it but none of them worked:

  • Created new VDAs and put the current one in maintenance mode. That worked for few days only and issue reoccurred.
  • Deleted the VDAs Virtual Machines after deleting the Machine Catalog and Delivery group from the delivery controller.
  • As per VDA and Delivery controller event logs, there was a communication error between the two so confirmed that and did not see any communication issues.
  • Opened a case with Citrix Support but they could not find anything, and they were still researching on it in the back end.

Fix: After comparing with other client’s VDAs it was noticed that this client VDAs were Azure joined whereas others were not. But initial thought was that it would not cause this issue. After disjoining the VDA from Azure AD – Restarting Citrix Desktop Service – app launch was successful. It’s been over a week and it’s been working fine now.

To disjoin a machine from Azure AD, run the following from Command Prompt / PowerShell as Administrator:

dsregcmd /leave

Check the Status:

dsregcmd /status

As per Citrix Support, this should be fixed in version 1912 CU3.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Create a website or blog at WordPress.com

Up ↑

%d bloggers like this: