Example configuration

A combination of application specific and the default settings can be used to minimize the risk of application incompatibilities, and allow an optimal environment to run in.

A FH Web Edition server has the following applications installed and registered in the FH Web Edition Connection Manager.

Application Description

DataDownloader.exe

A Windows application that reads data from a serial device and saves it to a file. Client sound is needed for error conditions alerts that can be signaled while data is being downloaded. Client files access stores the data file on the client system. The Windows GetComputerName() API must be redirected so that the client computer name indicates the source of the data within the data file.

Because the serial device that contains the data is connected to the client computer, client serial and parallel ports need to be enabled. Because this is the only process that accesses client serial and parallel ports on this system, a registry entry specifically for DataDownloader.exe is added. This minimizes the risks and overhead associated with this level-two redirector setting by disabling client serial and parallel ports in all other applications.

The settings for this application are calculated as follows:

  • 0x00000110 - These are the bits originally set in DefaultLoaderOptions.
  • 0x00000800 - This is the bit that enables the Windows GetComputerName() API redirection.
  • 0x00000910 – This is the hexadecimal DWORD to be set in the DataDownloader.exe registry value.

DataProcessor.exe

A console application that needs client file access to read in the serial data file from the client and to write out the processed data file to the client. It also uses the client time zone to properly process the times recorded in the serial data file. All other settings are disabled to minimize the risks and overhead associated with redirector settings.

The settings for this application are calculated as follows:

  • 0x00000110 - These are the bits originally set in DefaultLoaderOptions.
  • 0x00000008 - This is the bit that disables client printing.
  • 0x00000200 - This is the bit that disables client sound.
  • 0x00000400 - This is the bit that disables client serial and parallel ports.
  • 0x00000718 – This is the hexadecimal DWORD to be set in the DataProcessor.exe registry value.

DataViewer.exe

A Windows application that displays the data so that it can be analyzed. It needs client file access to read the processed data file from the client. It needs client sound so that application sounds can be heard. It needs client printing so that the analyzed data can be printed on paper. These are some of the settings needed by most applications, so the DefaultLoaderOptions registry value is used for the calculation below.

The default setting is changed to disable the client serial and parallel ports. This can be done because the only application that uses client serial and parallel ports, DataDownloader.exe, has its own registry setting that specifically enables it.

  • 0x00000110 - These are the bits originally set in DefaultLoaderOptions.
  • 0x00000400 - This is the bit that disables client serial and parallel ports.
  • 0x00000510 – This is the hexadecimal DWORD to be set in the DefaultLoaderOptions registry value.