Visual effects in Citrix are not kept after logoff and logon
set the system to show Frames around the Explorer windows in Citrix not save settings
cannot see the issue in the RDP
If we manually provide the show shadow under windows option under the control panel it will work until the same session logs off
Visual effect setting gets saved in HKEY_CURRENT_USER.
You can configure a logon script or group policy to automate this process for each user logon
Start with setting VisualFXSetting = 3 (custom) instead of 2 (best performance) and then the UserPreferencesMask to the desired value.
The "Show shadows under windows" setting is saved to the UserPreferencesMask REG_BINARY value in the key below in Registry Editor.
for example:
HKEY_CURRENT_USER\Control Panel\Desktop
Binary sets (3)
1001ABC0 00D1EF10 00000G11
0=off and 1=on
Visual Effects and their assigned letters
(A) Smooth-scroll list boxes
(B) Slide open combo boxes
(C) Fade or slide menus into view
(D) Show shadows under mouse pointer
(E) Fade or slide ToolTips into view
(F) Fade out menu items after clicking
(G) Show shadows under windows
The setting should be :
[HKEY_CURRENT_USER\Control Panel\Desktop]
"UserPreferencesMask"=hex(2):90,12,07,80,10,00,00,00
to confirm use WIN+R to open up the Run dialog, and type "SystemPropertiesPerformance"

for ICA session set the registry:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Citrix
Create the below DWORD:
Name: EnableVisualEffect
Type: REG_DWORD
Value: 1

The "Show shadows under windows" setting is saved to the UserPreferencesMask REG_BINARY value in the key
Visual effects in Citrix session are not kept after a logoff and logon