How to keep UserPreferencesMask key settings unchanged in an ICA session?

How to keep UserPreferencesMask key settings unchanged in an ICA session?

book

Article ID: CTX205067

calendar_today

Updated On:

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

The key and value in registry location HKEY_CURRENT_USER\Control Panel\Desktop\UserPreferencesMask on the VDA might be overwritten by the wfshell.exe process each time a user logs into the session.

To prevent this, create the following registry key on the VDA (server side) and set the value to 1:


HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Citrix
Name: EnableVisualEffect
Type: REG_DWORD
Value: 1

Then after the session log on, UserPreferencesMask will not be modified .

Problem Cause

It is expected behavior for wfshell.exe to overwrite this registry key to optimize and control functionality in an ICA session.

Issue/Introduction

Users sometimes require particular Windows visual effects enabled for an ICA session for certain application functionality and features. Microsoft Office 2010 / 2013 Live Preview or slide open combo boxes would be some examples. This article explains how to configure the ICA session to not change the UserPreferencesMask for a session. Please note that using this setting might introduce unwanted side-effects or performance degradation as some of the Windows visual settings increase load on the affected resource considerably.