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:

  1. Log on as Administrator to the Citrix virtual apps server.
  2. In Citrix virtual apps deployments, log off all users from the server.
  3. In the Control Panel, go to Add/Remove Programs.
  4. Locate VMware Tools and choose the Change option.
  5. Change Shared Folders to This feature will not be available.
  6. Click Next> Modify> Finish.
  7. Restart the server.
  8. 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据

词条统计

浏览:63 次

字数:2612

最后编辑:6年前

编辑次数:0 次

    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文