In order to disable Memshell hooking for specific applications one should follow below steps:
Open registry editor on Terminal Server from which the application in question is published.
Navigate to the following location:
Create a new key called Memshell
Within a created Memshell key create a String named IgnoreHookApplications
IgnoreHookApplications value should match the exact name of executable file of application in question (*.exe file). Please refer to screenshot below:
To disable Memshell hook for several applications specify all executables separated by a semicolon: