Knowledgebase
Published Applications behave erratically
Posted by Christopher Flores on 20 January 2015 10:30 AM

Overview

The scope of this article is to cover a set of changes which can be put into place should an application be published and it behaves erratically.

The changes outlined within this article are all tweaks to the memshell module which is responsible of mirroring the application from the RDS Server session onto the client machine.

Versions affected

2X RemoteApplicationServer v10.5+

Description

Some 3rd party or custom made applications might behave differently than expected when publishing them through a 2X Farm. Some erratic behavior that might be encountered can include:

  1. Application errors out only when accessed via a published application
  2. Published application loses focus in the client's desktop

A set of registry keys can be created on the RDS Server the TS Agent is installed on to modify the behavior of the memshell module which is responsible of mirroring the application from the RDS Session to the client's machine.

From the registry please navigate to: HKEY_LOCAL_MACHINE\SOFTWARE\2X\ (HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node2X\ for x64 installs) and create the MemShell folder

Once done, do as follows:

  1. Create the following DWORD: "Winhook" and give it a value of 0
  2. Once done, create a DWORD called "DisableHookDll" and give it a value of 1.
  3. Once done, create a DWORD called "IgnoreDesktopCheck" and give it a value of 1.
  4. Once done, please Logoff the session and launch the app again and confirm if the issue persists.

If the changes do not help, the changes can be reverted by simply deleting the dwords set above. The changes come into effect upon a new user session (not resuming a disconnected one). No reboot is necessary, just logging off and back on.

(2 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments: