Terminating a thin client application that is running on a Citrix server might not close the user session on the server. Consequently, when the user logs out of the server, the roaming profile data for the user session is not saved.
To close the user session on the Citrix server, perform the following steps on the server:
Open the Registry Editor.
Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Citrix\wfshell\TWI.
Change the value of LogoffCheckSysModules from ZCMUMHelper.exe to ZenUserDaemon.exe.
Reboot the device.