Just recently I learned that Microsoft ClickOnce Applications are a pain in the ass and cannot be published as Published Applications the usual way through Citrix Virtual Apps and Desktops.
Usually the message below shows up before starting or installing the application (which is on a user basis – I absolutely hate that. Thanks for that Microsoft and Developers). If you try to publish the file ending with .application nothing will happen.
Creating a BAT file and publishing that bat file will show the prompt and the desired application will start:
cd /d “C:\Windows\Microsoft.NET\Framework\v4.0.30319”
Having issues with print redirection on Citrix Workspace for Mac OS? Try installing the HP Color LaserJet 2800 Series PS print driver on your terminal server (Server 2019 and newer). It sounds dumb, but Citrix Universal Print Driver (UPD) uses Postscript data that is developed by HP. You can read more about this in the Citrix article at the end of the page.
To install this print driver, open printmanagement.msc on your VDA. Open up Print servers > Servername > Drivers > Add Driver
And then Windows Update to check for drivers through Windows Update service.
If you don’t find the driver, manually download it through Windows Update Catalog, extract it with Winzip or 7Zip and select Have Disk…
Migrating the Citrix Site database to a new database server is pretty straight forward but needs to be planned since there is a downtime when making the switch.
First of all, take a backup of the database with SQL Server Management Studio and restore the database on the new server:
Select the file that has just been backed up.
Run a new query with CTRL + N and add the DDC’s (Delivery Controller) computer account:
create login [domain\ctx1$] from windows
Make sure the computer account has proper roles under Security > Logins > domain\ctx1$ > right click > properties (the computer account needs to have all permission ending with _ROLE in all three databases).
Step 1 is to remove the old database connection string:
Step 2 is to check whether you are able to connect to the new database server. If that does not work, the SQL Server Ports (UDP 1434 for SQL Server Browser and a high port for the SQL server instance) need to be enabled in Windows Firewall. You might also need to enable TCP/IP in SQL Server configuration manager if you are using SQL Server Express.
When using User/Device licensing in Citrix, licenses are occupied for up to 90 days, which is a long time if you have a limited amount of licenses. If you need to release them, here is how you can do it:
Stop the service Citrix Licensing Service, Citrix License Config Service and Citrix Support Service
Delete the following folder (or rename it, just to be sure): “C:\Program Files(x86)\Citrix\Licensing\LS\resource\cache”
Start the service Citrix Licensing Service, Citrix License Config Service and Citrix Support Service