"LogoffCheckSysModules" registry value is automatically cleared or overwritten after VDA reboot

book

Article ID: CTX697264

calendar_today

Updated On:

Description

In a Citrix Virtual Apps and Desktops environment, the LogoffCheckSysModules registry key continuously resets or has its values cleared approximately one hour after the VDA (Virtual Delivery Agent) is rebooted.

Affected Registry Path: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Citrix\wfshell\TWI

Value Name: LogoffCheckSysModules

This issue can prevent third-party applications or modules from properly clearing during user logoff, leading to hung sessions or delayed logoffs.

Cause

This issue is caused by the Adobe Software Update service running on the VDA host.

When the Adobe Updater executes its scheduled task (typically 1 hour after system startup), it automatically inspects and overwrites the Citrix TWI registry key, resetting the LogoffCheckSysModules string to its default setting (acrotray.exe) and clearing any custom modules previously defined.

Resolution

Disable Adobe Update Services and Scheduled Tasks

  1. Open Services (services.msc).
  2. Locate the Adobe Acrobat Update Service.
  3. Right-click the service, select Properties, change the Startup type to Disabled, and stop the service.
  4. Open Task Scheduler (taskschd.msc).
  5. Navigate to Task Scheduler Library and Disable all tasks related to Adobe updates (e.g., Adobe Acrobat Update Task).

Issue/Introduction

In a Citrix Virtual Apps and Desktops environment, the LogoffCheckSysModules registry key continuously resets or has its values cleared approximately one hour after the VDA (Virtual Delivery Agent) is rebooted.

Affected Registry Path: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Citrix\wfshell\TWI

Value Name: LogoffCheckSysModules

This issue can prevent third-party applications or modules from properly clearing during user logoff, leading to hung sessions or delayed logoffs.