Handy Citrix Tips
Stuck session - if session cannot be logged off and does not show on the server you can log off the session in powershell:
- add-pssnapin *citrix*
- Get-BrokerSession -username Domain\User | Set-BrokerSession -Hidden $true
Find location of the citrix database used by delivery controllers and netscaler:
- Get-Brokerdbconnection
Remove citrix licence from account to free up for another user
On the citrix controller:
- cd "<C:\Program Files (x86)\Citrix\Licensing\ls>"
- Udadmin -list -times
- udadmin -f XDT_ENT_UD -user <username@domain> -delete (example udadmin -f xdt_adv_ud -user <username@domain> -delete)
You might have to repalce the license type with
- XDT_ADV_UD XenDesktop Advanced
- XDT_PLT_UD Citrix Virtual Apps and Desktop Premium
Citrix Troubleshooting
If there are no apps available in the storefront check the citrix database for connection - look at the netscaler and see if there are any connection errors showing on console.
For errors when connecting from a new environment check that ports 8080, 1494, 80, 2598, 443 are open between client and all xenapp servers and netscaler.