MS Quick Assist crashes when used in Citrix session

MS Quick Assist crashes when used in Citrix session

book

Article ID: CTX463527

calendar_today

Updated On:

Description

MS Quick Assist is crashing when trying to shadow the Citrix session.
Application crash with Exception Code: c06d007e (ERROR_MOD_NOT_FOUND The specified module could not be found.)
 

Environment

Citrix is not responsible for and does not endorse or accept any responsibility for the contents or your use of these third party Web sites. Citrix is providing these links to you only as a convenience, and the inclusion of any link does not imply endorsement by Citrix of the linked Web site. It is your responsibility to take precautions to ensure that whatever Web site you use is free of viruses or other harmful items.

Resolution

Upgrade the VDA version to 2203 CU3 LTSR or to 2305 depending on whether you are using an LTSR release or a Current Release version. A fix has been implemented to remove the dependency on Picaddapi64.dll (CVADHELP-20383)

Where an upgrade is not currently possible, Copying picaddapi64.dll to C:\Windows\System32 on the VDA may work as a temporary workaround. This file is normally located in C:\Program Files (x86)\Citrix\HDX\bin\.

Problem Cause

In some of UWP apps - in this case MS Quick Assist, picaddapi64.dll fails to load due to sandbox mechanism UWP apps use.

File access permissions for UWP applications: https://docs.microsoft.com/en-us/windows/uwp/files/file-access-permissions

In example of Quick Assist: QuickAssist.exe is getting an exception while cxinjime64.dll is calling HookGetKeyboardType(). 
Picaddapi64.dll is not loaded because its path ("
C:\Program Files (x86)\Citrix\HDX\bin\") is not allowed to be accessed by the application.

Additional Information

Microsoft UWP File Access Permissions: https://learn.microsoft.com/en-us/windows/uwp/files/file-access-permissions