Citrix Virtual Desktop Agent Upgrade

Somewhere down the line, Citrix Admins need to upgrade their Citrix Site from one version to another, Example, from XenDesktop 71.5 LTSR to CVAD 1912 LTSR. For Citrix site upgrade, we have to mount the product ISO in Citrix server and run the setup file. But What about VDIs? Based on your company’s VDA usage, you may have hundreds to thousands of VDIs in your company. How do you upgrade VDA agent on all those VDIs?

Install Hugo, Create site and Host on github pages. Finally, Automate with github actions - Part 1

Images by Susanne F, Clker-Free-Vector-Images from Pixabay, and my own customization. I have used a few hosting websites like Hpage, wordpress.com, etc.. for a long time. But I wanted to host my website on something free and fast. I thought of using GitHub pages, but converting my WordPress site to Github pages was a very big task for me. I was looking for easy to use software to generate MD pages.

Auto Deploy new VDI in xendesktop catalog

As part of day to day tasks, one of the major activity for citrix admins is to maintain free VDIs in xendesktop delivery groups. If we dont have registered free VDI machines, and when new users try to connect to VDI, they would get errors like “Cannot start VM”. So, we have to make sure we have enough free VDIs in delivery groups. As a part of this process, I wrote a powershell script that would auto provision new VDIs to a given catalog and add them to delivery group.

GSLB Reference Architecture

NetScaler Application Delivery Controller (ADC) Global Server Load Balancing (GSLB) is a DNS-based solution which describes a range of technologies to distribute resources around multi-site data center locations. This document describes the deployment topology and configuration architecture needed to set up GSLB between multi-sites where Citrix Virtual Apps and Desktops StoreFront servers are load-balanced by NetScaler Gateway and NetScaler ADC. Fundamental Design Factors The following includes fundamental design factors during an assessment and design phase that affects the formation of the design to cater for requirements.

There Are No Apps or Desktops Assigned to You at This Time

When users login to Citrix Gateway portal or storefront load balanced vip, they endup in the error, “There Are No Apps or Desktops Assigned to You at This Time”. There are multiple solutions to this error. Verify which solution works for you. User does not have access to any apps When user does not have access to any applications or desktops, user will endup in same message when he logs into the Citrix gateway portal.

You Cannot Login Using Smartcard Please Close This Browser

You’ve configured SAML authentication on your netscalers for your Citrix gateway or configured FAS in your environment. After you login to the gateway and logoff from the gateway or storefront url, when you try to login again on the same browser or same tab, you might end up in the error, “You cannot login using smartcard. Please close this browser to protect your account”. There are multiple solutions to this issue.

Change XML Port in XenApp 6.0 and 6.5

The commands (ctxxmlss) to unregister the XML port and to reregister the XML port have not changed and can still be used as described in the Instructions. In addition, you must set the new XML service port policy in the Citrix GPO settings as shown in the screen shots. Note: The XML service port policy is a Computer policy and must also be set, even if the ctxxmlss command is successfully completed and states that the XML port is changed.

Find XML Port Number in Citrix Products

XML port in XenApp and XenDesktop 7.x version Open command prompt and navigate to cd “c:\Program Files\Citrix\Broker\Service” Type BrokerService.exe /show and press Enter to show the current ports. Based on your CVAD or XenDesktop version, you will find “WI port” or “Storefront port” in the output which is your xml port number. XML port in XenApp 4.5, 5, 6.0 and 6.5 versions Open registry and navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\CtxHttp path. Check the value for key “TcpPort”.

Time Change on NetScaler Reboot

Change Time manually on NetScaler To change time and date on NetScaler, run the below command on NetScaler putty shell. 1 date +val YYMMDDHHMM where: YY = Year MM = Month DD = Day HH = Hour MM = Minutes Example" date +val 2208011111. This will set time as august 1st 2022. Issue On newer netscaler machines, if you run above command, post reboot, time will change automatically. This is tested on NetScaler 13.

NetScaler Gateway Continously Looping Back to Login Page

When configuring citrix gateway page, after entering credentials, it redirects back to login page. This happens continously. To resolve this issue, Open storefront console, and click manage receiver for websites. Check session policy timeout value. use that same value in Gateway – Virtual server – Session policy – Edit session profile – Client experience – Session timeout option. Also check in Citrix Gateway – Global Settings – Change Gloabl Settings – Client Experience – Session TIme-out (mins).