Windows Terminal Services and Citrix MetaFrame support

Since the D2000 v7.00, release A040806039, D2000 system can operate in a terminal server environment - Windows Terminal Services. The processes with the graphic user interface (D2000 CNF, D2000 HI, D2000 GrEditor) have been modified. Processes can be started from a remote computer by means of Remote Desktop Connection (mstsc.exe application).

Since the D2000 v7.0, release A050415070, D2000 system is able to work in the environment of Citrix MetaFrame Presentation Server. The processes with the graphic user interface ( D2000 CNF, D2000 HI, D2000 GrEditor) have been modified. Processes can be started from a remote computer by means of ICA Client (tested on Citrix MetaFrame Presentation Server (server) v 3.0 and ICA Client (client) v 8.00.24737 and v 9.150.39151).

In the Windows Terminal Services or Citrix MetaFrame environments, the above-mentioned user processes change their behaviour according to following specifications:

The above-mentioned enhancements facilitate the following operations:

A wtsd21.dll library, distributed with D2000 version 7.02.006 and higher (with newer date than 24.09.2008), enables the transfer of client computer name, hardware key and logon key via several Windows Terminal Services / Citrix MetaFrame connections.
E.g. a Remote Desktop connection from the client computer Workstation1 can be open to computer Server1. From there another Remote Desktop connection can be open to computer Server2, where HI process has been started. This HI process will change its name to Workstation1.HIP.

The new wtsd21.dll library is compatible with old library, i.e. it is not necessary to upgrade D2000 but the replacement of old library with a new one is sufficient. The replacement must be performed on all computers "on the way" with the exception of the first one and the last one (there the replacement is optional). In the mentioned example it would be necessary to replace only wtsd21.dll library on computer Server1.

Note: All above mentioned functionality is facilitated by wtsd21.dll library integrated on client's side. If the library is not present on client's side or the connection to Windows Terminal Server is established from Windows CE client or the connection to Citrix MetaFrame Server from Unix client (in both cases the library wtsd21.dll is unusable), this minimal functionality is still available:

Configuration of Windows Terminal Services client


To work in the Windows Terminal Services environment, the wtsd21.dll library must be installed on the client computer (i.e. the computer, from which the user is connected to the target Windows Server by means of a modem, local network or Internet). The library is installed automatically when installing the D2000 system, but it also can be installed manually (i.e. no need to install D2000 system on the client computer) as follows:

Besides the wtsd21.dll library, you must install a Sentinel driver for hardware keys on the client computer (i.e. the computer with the hardware keys), otherwise the hardware and logon key reading will not work.

If the information about the hardware key are transmitted via more servers (e.g. the situation in which the user starts Remote Desktop Connection within the other Remote Desktop Connection session), the wtsd21.dll library must be installed on the each server through which the connection is done.

Note 1: Starting with D2000 Version 8, a 64-bit Version of wtsd21_64.dll is available. It can be integrated to 64-bit Remote Desktop client in 64-bit Windows environment. Integration can be performed manually using the procedure described above (only the value of String type named Name will be wtsd21_64.dll).
The 64-bit version of library sx32w.dll must be copied too. Please remember that copying must be performed in 64-bit application (e.g. Windows Explorer and not 32-bit Total Commander), as the directory displayed in 64-bit Windows by a 32-bit application as C:\WINDOWS\system32 is in fact C:\WINDOWS\SysWOW64 (Windows on 64-bit Windows) - feature called File system redirection. So even after the libraries are copied they won't be visible in C:\WINDOWS\system32 in 32-bit applications.

Note 2: Starting with D2000 Version 8.00.008, an installation cabinet installs these dll files. It inserts the 64-bit Version of wtsd21.dll and sx32w.dll files into the directory Bin64. This directory also contains the file xcopy64.exe to copy both files into own directory. For example: xcopy64 wtsd21.dll c:\windows\system32\

Configuration of Citrix MetaFrame Presentation Server client


To work in the Citrix MetaFrame environment, Citrix ICA Client software must be installed on client computer (i.e. computer, from which the user is connected to the Citrix MetaFrame Presentation Server by means of a modem, local network or Internet). The wtsd21.dll library must be automatically or manually (using Citrix administrative tools) registered to the client. Manual registration of the library is, as follows:

Besides the wtsd21.dll library, you must install a Sentinel driver for hardware keys on the client computer (otherwise hardware and logon key reading will not work).

Note: Starting with D2000 version 7.02.005, the following feature is supported: if the wtsd21.dll library is not registered in Citrix ICA Client environment, the processes with the graphic user interface will query the name of the client computer by using Citrix API and they'll change their names to the name of the computer, from which the client is connected (e.g. MYCOMP.HIP). This enables to run D2000 processes from client computers for which the library wtsd21.dll is not available (Windows CE, various Unix clones etc).

Change of the logon key search interval


If Enhanced security is part of D2000 system licence and the process D2000 HI has read a logon key (security token), the process checks the presence of the key each 60 seconds. The interval may be changed using the program regedit - create the new value RemoteHwKeyWD of DWORD type in the key HKEY_LOCAL_MACHINE\SOFTWARE\Ipesoft\D2000V70 and set it to required time interval (seconds).