internetexplorer-softgridbox If you’re deploying applications on Citrix Presentation Server via Application Virtualisation/SoftGrid, you may run into issues with applications that utilise a local HTML based help system. These applications will generally launch Internet Explorer as the viewer and in our case, we’ve found that IE is launched outside of the protected environment and thus never sees the help content located inside the environment.

This behaviour only happens inside an ICA session and does not occur in an RDP session or on the console. Exactly why Internet Explorer is executed outside the environment but it has something to do with WFSHELL.EXE being the calling process.

Citrix Presentation Server implements some changes to the system during install to enable Server to Client content redirection. The following registry keys are modified to point to C:\Program Files\Citrix\system32\iexplore.exe which make the decision on where content is executed.

  • HKEY_CLASSES_ROOT\htmlfile\shell\open\command
    • HKEY_CLASSES_ROOT\htmlfile\shell\opennew\command
      • HKEY_CLASSES_ROOT\HTTP\shell\open\command
        • HKEY_CLASSES_ROOT\https\shell\open\command
          • HKEY_CLASSES_ROOT\MMS\shell\open\command
            • HKEY_CLASSES_ROOT\pnm\shell\open\command
              • HKEY_CLASSES_ROOT\rtsp\shell\open\command

                The registry keys that the article states to change this behaviour do indeed implement a workaround for the issue experienced from within SoftGrid. However once implemented they will prevent Server to Client content redirection, as they must be changed natively in Windows - they don’t work by changing them with the OSD file. Not something you’ll want to implement if you’re using this type of content redirection.

                Fortunately through a little bit of digging around and testing, I’ve found that by adding the following registry entry to your OSD files will execute Internet Explorer directly and keep the process within the protected environment, allowing the user to view Help:

                <img border=”0” alt=”SoftGridIEReg” src=”/media/2008/05/softgridiereg-thumb.png

                (I’ve had to use an image here because WordPress keeps formatting the code)