XenApp映射本地网络盘的问题

The problem of mapping local network driver in xenapp5.0 for 2008

昨天原来的问题是由于多国语言导致的无法正常访问客户端的本地盘,后来打了Hotfix Rollup Pack 1 for Citrix XenApp 5.0 for Microsoft Windows Server 2008以后,解决了该问题,但是又出现了新问题,客户端只能访问本地盘,而原来本地的网络盘没法映射到xenapp服务器,导致用户无法直接将文件保存到共享盘,而这个用户是在国外,必须要求保存到网络共享盘。

经过一番尝试,修改XenApp Policy,启用映射,还是不行。而用户反映是在打了HRP1以后导致本地网络共享盘无法映射的, 于是回来查HRP1的更新说明:

Network drives mapped to the client device are mapped to drive letters in the client XenApp session. This fix changes the default behavior so that mapped network drives are no longer mapped to a drive letter in the XenApp session. This fix makes the drive mapping behavior consistent across all XenApp releases. To override the default and automatically map mapped network drives into the session, you must set the following registry key:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Cdm\Parameters
Type: REG_DWORD
Name: AutoMapClientNetworkDrivers
Data: 1

原来XenApp在这以后都是取消了默认地自动映射本地网络盘的策略,而且在XenApp Policy中是无法启用的,所以需要修改注册表后,恢复默认机制即可。

后来发现Citrix在XenApp 4.5 or 5.0 for 2003和xenapp 5.0 for 2008中就取消了默认映射本地客户端网络盘的策略。(当然从这次的问题当中我们发现,是在HRP1以后才取消的。5.0中默认还是映射本地网络盘的。)

更正:根据群里<。)#)))≦兄的经验,XenApp5.0 for2003据说没打HRP1的时候,也是不映射本地网络盘的。