wfshell.exe consumes high CPU

wfshell.exe consumes high CPU

book

Article ID: CTX579025

calendar_today

Updated On:

Description

While the ICA session is closed, Citrix WinFrame Shell (wfshell.exe) process doesn't exit. 
This process consumes high CPU in Task Manager.

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

Disable Twain Hook using below registry and reboot the VDA machine.

HKLM\SOFTWARE\Wow6432Node\Citrix\CtxHook\AppInit_Dlls\Twain Hook
Value Name: Flag
Type: REG_DWORD
Value: 0

Problem Cause

From dump log, most threads that have consumed high CPU are related to Twain.dll.