Problem Definition:

After upgrading a Citrix Server to Citrxi Virtual Apps and Desktops 1912 (Desktop Configuration 4.10 and above), certain Windows applications crash.  The issue occurs in programs like Microsoft Excel when enumerating a dropdown menu.

The Windows Application Event Viewer has Event ID 1000 logged.


The application .exe process is listed in the General Tab of the event ID details, and the Exception Code listed is 0xc0000005

 

Cause:

 The issue is likely related to a Citrix Hooking.

Resolution:

Disable Citrix hooking for the affected process.  Create the following Registry Key.  For example, if the application crashing is Microsoft Excel, the process name is Excel.exe, and the key would be as follows:

        HKLM\SOFTWARE\Wow6432Node\Citrix\CtxHook\AppInit_DLLs\CtxMFPlugin\Excel.exe


        Create a DWORD Property in the Key named HookProcess.  Set the DWORD value to 0



Additional Information:

Citrix API Hooking generally enhances application compatibility in a Citrix environment.  Hooking is enabled by default.  However, if an application has stability issues with hooking enabled, it should be disabled.

Applies To:

Citrix Virtual Apps and Desktops (CVAD) 1912.

Microsoft Windows Server 2012 R2, 2016, and 2019.