Desktop Lock disconnect the session if "WSCReconnectMode" is set to a number higher than 7
book
Article ID: CTX224264
calendar_today
Updated On:
Description
If the registry key WSCReconnectMode is set to a number higher that 7 (Enabling OnWindowsLogin as per article https://support.citrix.com/article/CTX200828 ) and Desktop Lock configured, when locking the desktop, session can be disconnected.
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
Set the registry key WSCReconnectMode to a number lower than 8. The registry key can be found in:
- HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Policies\Citrix\Dazzle
- HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Citrix\Dazzle
That key can me used in conjunction with LiveInDesktopDisconnectonLock
On 32-bit Windows:
HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\Dazzle
Name: LiveInDesktopDisconnectonLock
Type: REG_SZ
Value: False
On 64-bit Windows:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Citrix\Dazzle
Name: LiveInDesktopDisconnectonLock
Type: REG_SZ
Value: False
[#LC3579]
Problem Cause
With Desktop Lock, a Desktop is always granted in the first launch, so there is no need to set it in the registry key. That configuration can create a conflict with other configurations (policies and other farm configurations) that can guide to a disconnection of the session when locking the computer.
Was this article helpful?
thumb_up
Yes
thumb_down
No