Legal Notice Message Configured on 2012 VDA has Incorrect X coordinates for OK Button

Legal Notice Message Configured on 2012 VDA has Incorrect X coordinates for OK Button

book

Article ID: CTX209568

calendar_today

Updated On:

Description

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.

User-added image

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.

Environment

Caution! Using Registry Editor incorrectly can cause serious problems that might require you to reinstall your operating system. Citrix cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk. Be sure to back up the registry before you edit it.

Resolution

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.

User-added image

After making the registry change, you do not need to reboot the 2012 VDA. The setting will take effect the on next application launch.

Issue/Introduction

When 2012 VDA is configured to display a Legal Notice the mouse X coordinates for the OK button may be incorrect.