Citrix metaframe; Terminal Services; Scan to network; Scan to PC; Scan to profile
What you will see
Unable to scan in a Terminal Services environment.
NOTE: Make sure your Lexmark MFP supports local and network TWAIN before reading or attempting any of the suggested remedies found within this article.
Terminal Server Modes
Before suggesting a remedy, it is important to know what terminal service mode is being utilized in your workplace:
Remote Administration Mode
Remote Administration mode is equivalent to Remote Desktop Connection and, as its name implies, is for servers administering from a different physical location.
Application Server mode
Application Server mode serves applications to users from a central server.
Click here for more information for Microsoft's white paper about terminal service modes.
Why does scanning fail?
First, in Application Server mode, each user gets their own copy of the Windows directory, by default C:\Documents and Settings\UserName\Windows.
NOTE: The TWAIN Data Source Manager (DSM) and the vendor-supplied TWAIN data sources are typically installed in the <Windows Drive (Letter)>:\Windows directory and not the above-mentioned "user" directory
Scan failure decision table
|Your TWAIN application is Terminal server-aware||
the application will know to look in the "user's" Windows directory for the TWAIN DSM
user's = UserName
|You may still need to perform a redirect depending on your Terminal Server version. See Suggested Remedies below.|
|Your TWAIN application is not Terminal server-aware||the application will not know to look in the "user's" Windows directory||
the TWAIN application will be unable to load the TWAIN DSM.
See both Suggested Remedies below.
Try one or both of the following:
To do this, copy <Windows Drive>:\Windows\twain_32.dll and the entire <Windows Drive>:\Windows\TWAIN directory into C:\Documents and Settings\UserName\Windows, or equivalent directory.
Registry change example: [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Terminal Server\Compatibility\Applications\<Application Name Here>] “Flags”=dword:00000408
Important! Lexmark is not responsible for assisting users with this procedure.
NOTE: The application flags must be combined with any previously exiting application flags, otherwise the old flags will be overwritten.
|Scanner Connection||Scan Method||Scan Permitted?|
|Local (USB) connection to the Terminal Services client PC||(TWAIN)||
Yes. However, only Citrix Presentation Server 4.0 provides such a redirect feature for TWAIN drivers.
How does this work? The redirection component enumerates TWAIN drivers on the Terminal Services client PC, and makes those TWAIN drivers appear as if they are installed on the Terminal Services server.
|Local (USB) connection to the Terminal Services client PC||(WIA)||No redirection exists for WIA scan drivers.|
|Local (USB) connection to the Terminal Services server PC.||(TWAIN)||No, this unlikely scenario is seldom considered because users will probably not be in the same physical location as the Terminal Services server PC.|
|Network connection of MFP.||(Network TWAIN)||
A redirect feature is not required because the MFP can be accessed directly from both the Terminal Services client and server PCs.
Therefore, Lexmark’s Network TWAIN solution is natively supported in most Terminal Services environments.
NOTE: The TWAIN driver must be installed on the Terminal Services server PC.
Citrix Presentation Server 4.0 – If TWAIN redirection is enabled, the TWAIN driver must be installed on the client PC. Again, the TWAIN driver on the client will be redirected to the server.
The option to select scanner or digital camera is grayed-out; i.e., indicating it is not operational.
Click here for a Microsoft article that explains why Microsoft Office products may not support TWAIN devices in environments with multiple concurrent scanner connections and multiple users.
Please contact Lexmark if you need additional support assistance. NOTE: When calling for support, you will be asked for your MFP machine/model type and serial number (SN).
Please call from near a computer and printer in case the technician on the phone asks you to perform a task involving one or all of these devices