[x]

Site Alert(s):

  • Server maintenance Saturday Nov 22, 2008, 12:00 PM - 3:00 PM. The Knowledge Center will be unavailable during this time.
Rate this Article:
You must be signed in to rate again
Article Feedback Print View
Alternate Languages:

How to Disable Citrix API Hooks on a Per-application Basis

Document ID: CTX107825   /   Created On: Nov 7, 2005   /   Updated On: Aug 20, 2008
Average Rating: 5

Summary

This article describes how to disable Citrix Application Programming Interface (API) hooks on a per-application basis.

Background

Certain Citrix Presentation Server features are implemented by loading a number of DLL modules into the address space of each application and hooking certain API calls. It is possible to prevent the loading of these modules on a per-application basis by following this procedure.

Note: Either PSE450R02W2K3028 or PSE450R02W2K3X64018 is a prerequisite before attempting this procedure on Presentation Server 4.5

Procedure

Caution! This fix requires you to edit the registry. Using Registry Editor incorrectly can cause serious problems that may 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.

All Citrix API hooks can be disabled for a single executable by creating the following registry value(s).

For the 32-bit version:

Key: HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\CtxHook

Value Name
: ExcludedImageNames
Type
: REG_SZ
Value
: badapp1.exe,badapp2.exe,badapp3.exe

For the 64-bit version:

Keys: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Citrix\CtxHook and HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Citrix\CtxHook64

Value Name
: ExcludedImageNames
Type
: REG_SZ
Value
: badapp1.exe,badapp2.exe,badapp3.exe

More Information

CTX107824 – Citrix API Hooks (mfaphook.dll) Explained and Enumerated


Search
Knowledge Center
XenApp
XenApp Plugins (Clients)
XenServer
XenDesktop
NetScaler Application Delivery
Access Gateway
EdgeSight
Provisioning Server
WANScaler
Password Manager
Does it work with Citrix? Verify it - introducing the new Citrix Ready Community Verified