Last week I was altering a Citrix XenApp image at a customer site. The Citrix Provisioning environment is setup to use the VHD files from the D drive from the two virtual Provisioning servers. The customer was ready to deploy this image, just a couple of days before the deployment an extra program needs to be updated.
Within the Citrix Provisioning server I change the disk access mode from standard to private.
After rebooting the target device I want to make sure the end point is in private access mode so my performed changes are saved in the VHD file.
To check the modes of the streamed disk from the endpoint device you should open the file C:\Personality.ini.
The value for the variable $WriteCacheType represent the disk mode and the cache type. In the table below you see the different cache type values and what they represent.
|2||Server Disk Encrypted|
|5||Hard Disk Encrypted|
In the above screenshot the cache type is set to 4, this means that the disk is still in standard access mode. The record for this VHD file has become corrupt. I deleted the record and reentered the record. After this action I was able to successfully change the access mode for this disk to Private.