When 2012 VDA is configured to display a Legal Notice, the mouse X coordinates for the OK button may be incorrect. Below is a screenshot of the dialog that displays and the yellow box represents the approximate active area for mouse click for the OK button.
Caution! Refer to the Disclaimer at the end of this article before using Registry Editor.
You can reproduce this issue by setting the registry or GPO to display a legal notice then launch a published application (not published desktop).
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Winlogon
Name: LegalNoticeCaption
Data: <any text>
Name: LegalNoticeText
Data: <any text>
When the legal notice displays move the mouse over the OK button, and note that on mouse over the event is offset.
Modify the registry on the 2012 VDA and add the following registry setting:
HKLM\Software\Wow6432node\Citrix\CtxHook\AppInit_DLLS\Multiple Monitor Hook\
Name: LogonUIWidth
Type: DWORD
Value: 800
Name: LogonUIHeight
Type: DWORD
Value: 600
Note: The values 800 and 600 are the decimal values.
After making the registry change, you do not need to reboot the 2012 VDA. The setting will take effect the on next application launch.