Instructions
Caution! Refer to the Disclaimer at the end of this article before using Registry Editor.
From XenApp and XenDesktop version 7.9 and newer, changes to API hooks configuration must be followed by a reboot.
Renaming an API hook DLL to disable it is not supported.
You can disable all Citrix API hooks for a single executable file by creating the following registry values:
For Windows 32-bit version
Key: HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\CtxHook
Value Name: ExcludedImageNames
Type: REG_SZ
Value: chrome.exe,firefox.exe
Value Name: ExcludedImageNames
Type: REG_SZ
Value: chrome.exe,firefox.exe
For Windows 64-bit version
Keys:
HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\CtxHook
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Citrix\CtxHook
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Citrix\CtxHook64
Value Name: ExcludedImageNames
Type: REG_SZ
Value: chrome.exe,firefox.exe
Note: The CtxHook64 key does not exist on Windows 2008 R2 or higher and it is not required.
HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\CtxHook
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Citrix\CtxHook
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Citrix\CtxHook64
Value Name: ExcludedImageNames
Type: REG_SZ
Value: chrome.exe,firefox.exe
Note: The CtxHook64 key does not exist on Windows 2008 R2 or higher and it is not required.
Note: You can disable a specific Citrix API hook, corresponding to an associated feature, for all processes by creating the following registry values:
For the 32-bit version
Key:HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\CtxHook\AppInit_Dlls\<Feature>
Value Name: Flag
Type: REG_DWORD
Value: 0
Type: REG_DWORD
Value: 0
For the 64-bit version
Keys:
HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\CtxHook\AppInit_Dlls\<Feature>
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Citrix\CtxHook\AppInit_Dlls\<Feature>
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Citrix\CtxHook64\AppInit_Dlls\<Feature>
Value Name: Flag
Type: REG_DWORD
Value: 0
HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\CtxHook\AppInit_Dlls\<Feature>
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Citrix\CtxHook\AppInit_Dlls\<Feature>
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Citrix\CtxHook64\AppInit_Dlls\<Feature>
Value Name: Flag
Type: REG_DWORD
Value: 0
Note: The CtxHook64 key does not exist on Windows 2008 R2 or higher and it is not required.
<Feature> is replaced with the name of the relevant registry key; for example Smart Card Redirection is controlled by the key “Smart Card Hook”.
An alternative to setting each value Flag to zero, is to remove the Hook DLL subkey from HKLM\SOFTWARE\Citrix\CtxHook\AppInit_Dlls, and then reboot.
No comments:
Post a Comment