Objective
By default starting with Windows 2008 Twain has been depreciated from the Windows operating systems which means the twain_32.dll XenApp users for its TWAIN redirection feature is not installed to "C:\Windows" directory. So when an application makes a call for twain_32.dll it is unable to find the file and in turn unable to find any scanners attached to the clients machine cause TWAIN redirection to fail.
This article explains??a few different ways to enable the TWAIN feature back into the Microsoft Windows operating system for use with XenApp.
Instructions
To??enable TWAIN redirection you must install the Windows Desktop Experience feature.??You can add this feature through Microsoft Server Role Manager in both Windows 2008 and Windows 2012.
In Windows 2012 the feature is under a different location than in Windows 2008, it is located under:??User Interfaces and Infrastructure > Desktop Experience
- Ink and Handwriting Services
- Media Foundation
After installing the Desktop Experience feature a restart of the XenApp server is required.??Once that has been completed TWAIN redirection in XenApp??will work as long as you have the corresponding XenApp policy to allow the feature.??It is a XenApp USER policy located under the Policies node in the Citrix AppCenter Console or the Citrix Delivery Services Console under section:??TWAIN Devices > Client TWAIN device redirection > (Set to Allowed)
Note: There is a work around If you do not wish to enable the Desktop Experience feature on your Windows servers you can manually enable TWAIN for XenApp by copying the twain_32.dll to the "C:\Windows" directory on each XenApp server.
The location of the twain_32.dll??is different for each Windows operating system are the following:
For Windows 2008 32bit
Copy twain_32.dll from:
C:\Windows\winsxs\x86_microsoft-windows-w..ion-twaincomponents_31bf3856ad364e35_6.0.6001.18000_none_893234485c30a
To:
C:\Windows
For Windows 2008 64bit
Copy twain_32.dll from:
C:\Windows\winsxs\x86_microsoft-windows-w..ion-twaincomponents_31bf3856ad364e35_6.0.6001.18000_none_893234485c30a
To:
C:\Windows
For Windows 2008 64bit R2
Copy twain_32.dll from:
C:\Windows\winsxs\x86_microsoft-windows-w..ion-twaincomponents_31bf3856ad364e35_6.1.7600.16385_none_89088a6bbd843
To:
C:\Windows
For Windows 2012 all versions
Copy twain_32.dll from:
C:\Windows\WinSxS\wow64_microsfot-windows-w..ion-twaincomponents_31bf3856ad364e35_6.29200.16384_none_ec508ff1a559dc0
To:
C:\Windows
Microsoft Documentation:
Deprecated Features for Windows 7 and Windows Server 2008 R2
http://technet.microsoft.com/en-us/library/ee681713(v=ws.10).aspx
Using scanners in Windows Server 2008 R2 with TWAIN drivers might require the installation of Desktop Experience Pack
http://technet.microsoft.com/en-us/library/ee940564(v=ws.10).aspx
Citrix Documentation:
If your application is not looking for twain_32.dll in (C:\windows) see the following article for a registry key from Microsoft to correct the applications behavior for Terminal Services and XenApp.
CTX107411 - How To Troubleshoot TWAIN Redirection Functionality with XenApp
Additional Resources
??
Supporto Citrix
Traduzione automatica
Questo articolo ??¨ stato tradotto da un sistema di traduzione automatica e non ??¨ stata valutata da persone. Citrix fornisce traduzione automatica per aumentare l'accesso per supportare contenuti; tuttavia, articoli automaticamente tradotte possono possono contenere degli errori. Citrix non ??¨ responsabile di incongruenze, errori o danni derivanti dell'uso di articoli automaticamente tradotte.
Citrix技術支持
自動翻譯
這篇文章被翻譯由一個自動翻譯系統,並沒有受到人們的審查。 Citrix提供自動翻譯,增加獲得支持的內容;但是,自動翻譯的文章可能可以包含錯誤。思傑不負責不一致,錯誤或損壞因使用自動翻譯的文章的結果。
Поддержка Citrix
Tradução automática
Эта статья была переведена автоматической системой перевода и не был рассмотрен людьми. Citrix обеспечивает автоматический перевод с целью расширения доступа для поддержки контента; Однако, автоматически переведенные статьи могут может содержать ошибки. Citrix не несет ответственности за несоответствия, ошибки, или повреждения, возникшие в результате использования автоматически переведенных статей.
시트릭스 지원
자동 번역
이 문서 자동 번역 시스템에 의해 번역 된 사람들에 의해 검토되지 않았다. 시트릭스는 컨텐츠를 지원하기 위해 접근을 높이기 위해 자동 번역을 제공합니다; 그러나, 자동으로 번역 기사 오류를 포함 할 수있다. 시트릭스는 자동으로 번역 된 기사의 사용의 결과로 발생하는 불일치, 오류 또는 손해에 대해 책임을지지 않습니다.