Profile Management and VMware 编辑
This article applies to Citrix user profiles on virtual machines created with VMware software such as VMware ESX. It addresses an issue where local profile caches become locked.
If you have set up Profile Management to delete cached local profiles when users log off from their virtual machines created with VMware (in your deployment of Citrix virtual desktops or virtual apps) but the profiles are not deleted, you can use this workaround to overcome the issue.
This issue occurs when roaming profiles are used on virtual machines created with VMware ESX 3.5, and the Profile Management setting Delete locally cached profiles on logoff is enabled.
The issue occurs because the Shared Folders option in VMware Tools adds a file to the profiles. And the file is locked by a running process thus preventing profiles being deleted at logoff. The file is C:\Documents and Settings\userid\Application Data\VMware\hgfs.dat.
If you have verbose logging enabled in Profile Management, the log file might detect this problem with an entry such as:
2009-06-03;11:44:31.456;ERROR;PCNAME;JohnSmith4;3;3640;DeleteDirectory: Deleting the directory \<C:\Documents and Settings\<user name\>\Local Settings\Application Data\VMware> failed with: The directory is not empty.
To work around this issue in a Citrix virtual apps deployment on Windows Server 2008:
- Log on as Administrator to the Citrix virtual apps server.
- In Citrix virtual apps deployments, log off all users from the server.
- In the Control Panel, go to Add/Remove Programs.
- Locate VMware Tools and choose the Change option.
- Change Shared Folders to This feature will not be available.
- Click Next> Modify> Finish.
- Restart the server.
- Clean up the half-deleted profiles. Under My Computer > Properties > Advanced > User Profiles, select the profiles, and delete them. Windows informs you of any errors trying to delete the profiles.
Note: A separate issue in environments running Profile Management on VMware can result in the creation of multiple sequential profiles. For information about this issue and how to resolve it, see Knowledge Center article CTX122501.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论