Home
Microsoft 365
Linux
Windows
Powershell
Cloud Computing
    Citrix Xendesktop
    Citrix XenApp
Useful links
About
  • Home
  • Microsoft 365
  • Linux
  • Windows
  • Powershell
  • Cloud Computing
    • Citrix Xendesktop
    • Citrix XenApp
  • Useful links
  • About
ajni.IT -
Citrix XenApp•Citrix Xendesktop•Hyper-V•VDI•VMware•Windows Server

Citrix Workspace App Session freeze and high response time

October 2, 2024 by AJNI No Comments

If you are having issues with some users having freeze issues and high response time in Citrix Director, this registry key might help you. It happens in conjunction with dedicated GPUs on notebooks. The key disabled GPU acceleration for Citrix Workspace App.

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Citrix\ICA Client\Graphics Engine] “HWacceleration”=dword:00000000

References:

https://support.citrix.com/s/article/CTX297140-screen-freezes-and-takes-a-few-seconds-to-return-to-normal-apps-also-flicker-when-open?language=en_US

Reading time: 1 min
Citrix XenApp•Citrix Xendesktop•VDI

Citrix Netscaler Authentication with nFactor AAA

July 6, 2024 by AJNI No Comments

Classic Authentication Schemes will soon be deprecated in Citrix Netscaler and should be replaced with nFactor AAA.

Here is a quick tutorial on how to configure nFactor Authentication.

Security > AAA Application Traffic > Policies > Authentication > Basic Policies > RADIUS

Select Servers > Add

Name RADIUS_Server

Server IP xxxx

Secret

Also test the radius reachability

Security > AAA Application Traffic > Policies > Authentication > Basic Policies > LDAP

Select Servers > Add

Fill in all the information that apply to your domain

Security > AAA – Application Traffic, Policies, Authentication, Advanced Policies > Policy. Then, click “Add”

Do the same thing for RADIUS

Create AAA virtual server

Configuration > Security > AAA – Application Traffic > Virtual Servers

Import private certificate and root cert

Click on “No Authentication Policy”

Select Policy LDAP_Pol

Click on Select next to “Next Factor”

Add an authentication policy label

Continue

Policy Binding > Select RADIUS_Pol

Goto Expression > Select END and BIND the authentication Policy Label

Done

BIND

Continue

Add a login schema on the right side

Select “No Login Schema”

Select Policy

Bind and Done

Add nFactor to the Gateway virtual server

Citrix Gateway > Virtual Servers > select VIP > Add Authentication Profile on the right

Create > Ok > Done

If you get this error after logging in, you have to enable SSO on the Authentication Template

Go to Security > AAA Application Traffic > Login Schema > lschema_dual_factor_builtin > … Edit

Edit the profile again

Click on the pencil

> More > Check Enable Single Sign On Credentials > OK > OK

References:

https://community.citrix.com/tech-zone/build/deployment-guides/gateway-mfa/#_=_

Reading time: 1 min
Citrix XenApp•Citrix Xendesktop•VDI•Virtualization•Windows Server

Citrix Virtual Apps and Desktops – Grey Screen after upgrading to newest VDA (Mostly Windows Server 2022)

January 22, 2024 by AJNI No Comments

Roughly a year ago I had an issue with grey screen on Windows Server 2022 with Citrix Virtual Apps and Desktops. A script helped clear out some registry key but there seem to still be problems with sessions with grey screens. Check out my post from last year: https://www.ajni.it/2023/03/citrix-virtual-apps-and-desktops-2203-grey-screen-connectionfailure-in-eventviewer/

There is a new fix that seems to be better and does not clear any registry keys. Instead it activates Citrix Universal DLL Injection. After upgrading the VDA, make sure this value is set:

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\CtxUvi]
“UviEnabled”=dword:00000001

This helped in my environment.

References:

https://discussions.citrix.com/topic/412451-just-grey-screen-instead-of-published-desktop/page/7/?sortby=votes

Reading time: 1 min
Citrix XenApp•Citrix Xendesktop•Cloud Computing

Citrix NetScaler allow password change when password expires

June 20, 2023 by AJNI No Comments

In this article we are going to configure password change through Citrix Netscaler, which is very handy nowadays that a lot of people work from home and are rarely in the office. The steps are very simple but you should always think what the impact of the change could be before blindy following my screenshots.

First of all, you need a certificate on the Domain Controller(s). Since Microsoft does not allow plaintext password change through port 389, you need a certificate for the SSL Port 636. This can be achieved with an internal Certificate Authority. Check my article here: https://www.ajni.it/2020/08/active-directory-certificate-services-ad-cs-on-windows-server-2019/

There is a quick way with a self signed certificate, but I would recommend using a Certificate Authority.

New-SelfSignedCertificate -DnsName dc01, dc01.ajni.it, dc02, dc02.ajni.it -CertStoreLocation cert:\LocalMachine\My

You can also insert multiple Subject Alternative Names separated by comma, that might include two or more Domain Controllers like in the example above.

Testing can be done with lpd.exe, make sure that the newly generated certificate is also placed in the Trusted Root Certificate Authorities.

In Citrix Netscaler go to Citrix Gateway > Virtual Servers > Select the VIP > Primary Authentication > Select the LDAP Policy:

Edit Server

Select SSL under Security Type and Port 636

Further down, select Allow Password Change.

In Citrix Storefront, make sure Password Change is enabled:

The password reminder can also be enabled.

That’s it. Make sure your NetScaler Config is saved!

References:

https://c4rm0.wordpress.com/netscaler-allow-user-ad-password-changes/

https://anandthearchitect.com/2019/10/10/active-directory-self-signed-certificate-for-ldaps/

Reading time: 1 min
Citrix XenApp•Citrix Xendesktop•VDI

Citrix Virtual Apps and Desktops 2203+ (or even older) cannot reconnect disconnected session

April 12, 2023 by AJNI No Comments

Having issues with users reconnecting a disconnected Citrix Virtual Apps and Desktops session? These keys might help you. Citrix support confirmed, that they help starting at Server 2016 VDA.

Fastreconnect is a feature that was introduced by Microsoft to enhance session reconnect through RDP, but through Citrix ICA it seems that is does not improve anything.

HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\Reconnect
FastReconnect REG_DWORD 0

HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\Ica\GroupPolicy
EnforceUserPolicyEvaluationSuccess REG_DWORD 0

References:

https://www.reddit.com/r/Citrix/comments/x6frfq/ltsr_2203_disconnected_sessions_are_lost_upon/

Reading time: 1 min
Page 1 of 3123»

Like what you are reading? Buy me a coffee.

Tip Of the Day

  • Add Alias to Windows Fileserver (Server 2019, 2022, 2025)

    1 month ago

Keep in touch

Oh hi there!
It’s nice to meet you.

Sign up to receive awesome content in your inbox, every month.

Check your inbox or spam folder to confirm your subscription.

Categories

  • AI & Deep Learning (1)
  • Azure (20)
  • Citrix XenApp (21)
  • Citrix Xendesktop (13)
  • Cloud Computing (40)
  • Coding (1)
  • Hyper-V (10)
  • Linux (8)
  • Microsoft 365 (26)
  • Powershell (21)
  • Security (7)
  • VDI (16)
  • Virtualization (21)
  • VMware (12)
  • Windows (21)
  • Windows Client OS (39)
  • Windows Server (92)

Archives

  • May 2025
  • April 2025
  • February 2025
  • January 2025
  • December 2024
  • November 2024
  • October 2024
  • September 2024
  • July 2024
  • June 2024
  • May 2024
  • April 2024
  • March 2024
  • February 2024
  • January 2024
  • December 2023
  • September 2023
  • August 2023
  • July 2023
  • June 2023
  • April 2023
  • March 2023
  • January 2023
  • December 2022
  • November 2022
  • October 2022
  • September 2022
  • August 2022
  • July 2022
  • June 2022
  • May 2022
  • February 2022
  • January 2022
  • December 2021
  • November 2021
  • October 2021
  • September 2021
  • August 2021
  • June 2021
  • May 2021
  • April 2021
  • March 2021
  • February 2021
  • December 2020
  • November 2020
  • September 2020
  • August 2020
  • July 2020
  • June 2020
  • May 2020
  • April 2020
  • March 2020
  • February 2020
  • November 2019
  • October 2019
  • September 2019
  • August 2019
  • July 2019
  • June 2019
  • May 2019
  • April 2019
  • March 2019

ajni IT © 2019