This topic 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 XenDesktop or XenApp
deployment, say) but the profiles are not deleted, you can use this workaround
to overcome the issue.
This issue has
been shown to occur when roaming profiles are used on virtual machines created
with VMware ESX 3.5 and the Profile management setting
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 thereby preventing profiles being
deleted at logoff. The file is C:\Documents and Settings\userid\Application
If you have
verbose logging enabled in Profile management, the log file may detect this
problem with an entry such as:
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 XenApp deployment on Windows Server 2008: