User Session Hangs Due to cuAgentHelper.exe


The cuAgentHelper is a process that's related to our new feature in v8.1.5 - the Active Application.

When our ControlUp agent is running on a Citrix machine and the Active Application feature is active, our agent checks if the registry key 'LogoffCheckSysModules' exists and does the following:

1. If the registry key exists, it adds the cuAgentHelper.exe process name to it.
2. If the registry key doesn't exist, it creates it with the cuAgentHelper.exe value.

*The usage of this registry key is embedded in the design of the Active Application feature.
*The location and details of the registry key are:

  • HKLM\SYSTEM\CurrentControlSet\Control\Citrix\wfshell\TWI
  • Value Name: LogoffCheckSysModules
  • Type: REG_SZ
  • String: cuAgentHelper.exe


User sessions are not logged off due to the cuAgentHelper process not closing.


The registry key goes into action when launching a published application. For example, Citrix closes the session only for the published application process that was used. If there's another process like cuAgentHelper that was created, since it's not associated with the published application, Citrix doesn't want to force close this process and the logoff hangs.

This is the Citrix article that refers to this regkey value:


  1. Make sure the ControlUp agent on the machine is up to date with the latest version (recommended).
  2. Check if there's a Group Policy Object or Group Policy Preference (GPO/GPP) that is overriding the value the agent is setting.
    • If you have a GPO/GPP in place, add the cuAgentHelper.exe to it.
    • If you don't have a GPO/GPP in place and you don't see the value, contact support for further assistance at 
1-on-1 Demo
Schedule now
Price Quote
Get it now
Need a Script?
Get it here
Powered by Zendesk