Open Applications on Published Desktops are Moved to the Main Screen After Reconnecting.

Open Applications on Published Desktops are Moved to the Main Screen After Reconnecting.

book

Article ID: CTX691686

calendar_today

Updated On:

Description

  • Users connect to VDA from an endpoint with multiple monitors
  • Applications are arranged by the end user so some apps are visible only on the secondary monitor 
  • The user disconnects from the session either manually or due to a disconnect on Lock policy
  • The user reconnects to the session from the same endpoint
  • All applications that were on the secondary monitor are now moved to the primary monitor 

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

Resolved by extending the max wait time to 20 seconds (or even 30 seconds if needed)

This is only the Max time it will wait for a logon to complete before it does not restore window locations, it will not increase the logon times.

1. on the VDA open the registry:
2. Browse to: HKLM\SOFTWARE\Citrix\PortICA\UxPersistence
3. under here create a DWORD called PersistenceRestoreTimeout with a value of 20 decimal (or 0x14 hex)
4. restart the VDA as this is read on system startup.


Problem Cause

The UxPersistance feature that saves the window position on disconnect is timing out because the Authentication process is taking longer than 10 seconds. 

There is a timeout of 10 seconds to prevent the UxPersistance functionality from waiting for a logon to complete indefinitely. 

 

Issue/Introduction

Applications that were moved to a secondary monitor may be moved to the primary monitor on reconnect, without any interaction by the end user.