SafeGuard LAN Cypt Client: when opening Desktop of Terminal server remotely, error message "missing cutildll.dll" is displayed

  • Article ID: 112997
  • Rating:
  • 2 customers rated this article 6.0 out of 6
  • Updated: 09 Nov 2015
If you open the Desktop of the Terminal server from a remote host, lchelper.exe returns the error:

The program can't start because cutildll.dll is missing from your computer. Try reinstalling the program to fix this problem.


The same message may also be displayed when starting sglcinit.exe or sglcstatus.exe (title bar adapted to the current program).

After displaying the message, SafeGuard LANCrypt works normally.

If SafeGuard LANCrypt is used locally on the Windows 2008 Server, no such messages are shown, it is only displayed when accessing it from a remote host. (With Citrix online plug-in from Citrix xenapp 6.0.)

Client OS
Windows Server 2008 R2 64bit with Terminal Services

Technical background
Citrix uses Dll hooking for published applications and loads some Dlls, like cutildll.dll, in the address space. If cutildll.dll and ctxwsapi.dll are not in the System32 or SysWOW64 folder, a LANCrypt executable forbids the loading. This is because of a security fix to prevent Dll Hijacking.

What to do

As a workaround copy the files cutildll.dll and ctxwsapi.dll to Windows\SysWOW64 (both can be found in Program Files (x86)\Citrix\system32).
You must copy the files again after a Citrix hotfix, patch or upgrade is applied to the system.

If you need more information or guidance, then please contact technical support.

Rate this article

Very poor Excellent