This article contains answers to the frequently asked questions about Personal vDisk.
A: PvD is a feature available in all editions of XenDesktop 5.6 and 7.x.
A: It is only available for XenDesktop.
A: PvD is supported on Citrix XenServer, Microsoft Hyper-V, and VMWare ESX.
A: Any storage targets defined or supported on the hypervisor might be used to store the PvD. They might be the same as the Virtual Machine or different targets.
A: Changes in PvD persist not just across restarts but also across base image changes.
A: No, PvD operates at the object level (files, folders, and registry). This enables all the changes that have been captured to persist across a base image updates whereas a differential disk would become invalidated in the case of a base image update.
A: Yes, both Machine Creation Services (MCS) and Provisioning Server.
PvD can only be configured within a virtual target device. A physical target device is not support.
A: There can only be one PvD per Virtual Machine. The PvD is assigned to a Virtual Machine when building the catalog of desktops. The pool type for a PvD catalog is a pooled static, which the desktop is assigned to the user on first use.
A: Actually, it is a 1:1 mapping to a Virtual Machine in a catalog, which is then assigned to the user on first use. A PvD is attached to a Virtual Machine assigned to the user. The administrator can move a PvD to a new virtual machine in a recovery situation.
A: The base image is still shared and updated across the pool. However, once the user makes an initial connection to a Virtual Machine, the Virtual Machine is kept assigned to the user.
Note: You must connect early in the starting stage long before you know who the user is in order to maximize the application compatibility for services, devices etc.
A: After the user connects, this user is kept assigned to the Virtual Machine.
You must connect early in the starting stage long before you know who the user is in order to maximize the application compatibility for services, devices etc. So for hypervisor resource management, instead of idle pool management, you would use power management to handle Virtual Machine idle workloads.
A: Windows 7 x86, Windows 7 x64, and Windows 10 up to v1607.
A: Yes, XenApp and XenDesktop 7.15 LTSR supports Windows 10 1703 SAC. Reference Citrix product documentation for more information.
A: It is only supported on Desktop Operating Systems.
A: PvD is architected to be compatible with a wide range of Windows software, including software that loads the drivers. However, drivers that load in phase 0 or software that alters the networking stack of the machine (through the installation of additional miniports or intermediate or protocol drivers) might cause PvD to not operate as expected. You must install these types of software in the base Virtual Machine image.
A: PvD does not provide application isolation. Some software might support this if they can coexist peacefully. Other software that does not support multiple versions concurrently must be uninstalled either from the base or PvD, or provided by an isolation technology like Citrix Application Streaming.
A: No. If you try to configure it this way, then the PvD will ignore this and will use the base Virtual Machine image (or Diff disk).
A: A/V solutions that integrate with the hypervisor and scan outside the Virtual Machine tend to perform best.
A: Personal vDisk does not roam. So if you have users that require profile roaming, you must use a roaming profile solution with PvD. It has been tested and supported with Citrix Profile Management.
A: A PvD is attached to a Virtual Machine or machine, which is then assigned to the user. The administrator might move a PvD to a new machine in recovery situations.
A: Yes. There is a registry setting that also tells PvD to not cache the profile (and thereby save PvD disk space). This is required when managing the profile with a separate technology such as Citrix Profile Management to prevent PvD from redirecting the profile onto the vDisk configure:
Caution! Refer to the Disclaimer at the end of this article before using Registry Editor.
A: Yes. There is a registry setting that also tells PvD to not cache the profile (and thereby save PvD disk space).
A: 3GB is the minimum size and will be split per the administrator-defined configuration for two areas:
Applications and machine settings
Profile data (c:\users)
By default, this is 50/50 split. If less than 4 GB size is defined, an allocation of 2GB for applications and machine settings and 1GB for profile data is used.
Selection larger than 4 GB respects the 50/50 allocation split.
If the PvD is set to less than 3 GB (if it even is able to attach successfully), then when the user logs on to the pool environment for the first time, a warning message is displayed that PvD is not available.
A: As large as your storage can handle.
A: It is not required. This affects their ability to install application because PvD does not override any ACLs within the OS for the current user.
A: We have not published anything on this yet. While PvD has some additional IOPs, it is minimal. The impact of PvD desktops would be about the same as when using dedicated desktops.
A: You might put the PvD on the same storage as base Virtual Machine or any other storage on that hypervisor. This would be general IOPS management or distribution and varies by the user.
A: Only supported storage is through hypervisor storage targets.
A: Run the inventory updater in the base image through the start menu shortcut (or “Ctxpvd –s inventory”), which results in the service being started or inventory taken. At this point, the service is enabled and ready to run inventory and manage the PvDs.
A: Only installs on the VDA or the Desktop. It installs both a windows service and kernel drivers.
A: Yes. You can configure the percent to be allocated for applications and machines settings by setting the registry value in the base image:
A: Citrix personal vDisks have two parts which use different drive letters. The volume that stores user data (that is, C:\users) and personal vDisk log files.The drive letter for this part defaults to “P:” and it is Not hidden.
The other part comprises a Virtual Hard Disk file (a .vhd file). This contains all other items, for example applications installed in C:\Program Files. By default, this part is hidden from users; this drive is not displayed in Windows Explorer.
A: The disk that is attached at the hypervisor (created by the MCS/PvS wizard) is mounted as P:. The P: drive is where the user profile is redirected and captured. Also located on that P: drive is a UserData.vhd that is mounted as v:. The V: drive is where all the non-profile data attempting to write to the base Virtual Machine is redirected and stored.
v: is visible from command prompt windows but not from Windows Explorer.
A: Drive conflicts leads to failures. You must ensure the use of available drive letters.
A: The P: drive might be changed in Desktop Studio when creating the catalog. This should only be changed before usage since changing afterwards might lead to various errors (same as changing the c: drive to another letter after installation).
Note: Drive conflicts leads to failures.
A: The P: drive is the vDisk that is attached to the hypervisor to the Virtual Machine. It contains the user’s profile is redirected (c:\users … ). It also contains the UserData.vhd file that is in turn mounted as the v: drive.
The v: drive is where the applications and machines state is captured.
When resetting the PvD, you are resetting the v: drive (which is really restoring the UserData.vhd file on the P: drive to its original empty or template state.
A: PvD does not provide an option to do this natively, but this can be done through Active Directory Group Policy and use of locking down those folders using Windows ACLs.
A: The template vhd file is stored in the C:\ProgramData\Citrix\personal vDisk folder.
A: It is not recommend modifying those files. Rarely would these require modification except as directed for a support case being diagnosed. The rules files are there in plain text to allow visibility for supportability purposes. The rules mechanism is not meant as a general-use tool for administrators to modify. The rules govern population of the template VHD (which contains the inventory plus control hive) and how differences are calculated during image update.
A: It is not recommend modifying those files. Rarely would these require modification except as directed for a support case being diagnosed.
A: The contents of \CitrixPvd\Settings\Inventory are coming from the base image, which are copied into the VHD when it is started for the first time.
Note: Remember to keep *both* inventories around since during image update, it is required to calculate the difference of what changed between base Virtual Machine version 1 to 2, then merge that into the user’s changes which is kept in the VHD.
A: Yes, the wizards added in XenDesktop 5.6 and Provisioning Services 6.1 support both MCS and Provisioning Services created PvD catalogs.
A: Correct. PvD is assigned or attached to a Virtual Machine and then the user is assigned a Virtual Machine on first use (a pooled static catalog).
A: PvD does not change the core of the base image or snapshot processing of Provisioning Services or MCS. The only new step is running the inventory process for PvD in that base image as the last step before snapshotting it for use in a catalog.
A: Only streamed to virtual is supported. Streamed to physical is not supported.
A: A PvD is attached to a Virtual Machine in a pooled static catalog that is then assigned to the user. The administrator might move a PvD to a new machine in recovery situations.
A: IntelliCache might still be applied to Pooled-Static Virtual Machines.
Note: Anything actually redirected to the PvD disk will not be cached.
A: Yes. The Provisioning Services Setup Wizard enumerates the storage locations defined by the XenDesktop host record as options for storing the PvD disk. The Provisioning Services write cache location depends upon the disk attached to the template Virtual Machine that might or might not be the same storage.
A: From elevated command prompt:
C:\Program Files\citrix\personal vdisk\bin\ctxpvd –s reset
A: There is not a means to modify the built in behavior for managing the log files. When the PvD service starts the existing log files, (PvDSvc.log.txt and PvDActivation.log.txt) are renamed to .BAK files if the size is more than 800 Kb. The max size of “IvmSupervisor.log” is fixed and the oldest log entry is overwritten with new entry when maximum size is reached. The maximum size of the IvmSupervisor.log file is 10 MB.
A: Yes, you can accomplish this by accessing the hypervisor console and increasing the PvD disk that is attached to the Virtual Machine. Data is never affected when expanding the vDisk. You might also use a script to perform this. The scripts are located on the media/ISO at Support\Tools\Scripts (resize- personal-vdiskpool.ps1).
A: You have the following three methods to choose from:
Desktop Studio (for new catalogs)
Directly on the Hypervisor (for existing catalogs/PvDs)
Using a script
The script is located on the media/ISO at Support\Tools\Scripts (resize-personal- vdiskpool.ps1).
A: PvD is a separate VHD attached to the Hypervisor level. Backup and restore is required to be on the hypervisor storage level. You cannot backup or restore at the OS level since the backup agent will NOT be able to tell what is in the PvD and what is in the base. This means during the restore it would then populate everything back on to the PvD since all writes are redirected to the PvD. You should backup the VHD from the hypervisor storage and restore the same way.
Then reattach to the Virtual Machine through the Hypervisor console.
Note: You can also do a factory reset through Desktop Director. This only affects the non-profile data (only resets the data outside of c:\users\).
A: This only affects the non-profile data (only resets the data outside of c:\users\).
A: You attach it through the hypervisor to a Virtual Machine and then PvD will handle it on start (treat it as an image update).
Note: If the computer name has changed, you might have application issues where the applications tracked the computer name.
A: Yes.
A: The purpose of the PvD is to provide the users their personal vDisk for saving all their changes. Only inherent ACLs protect the operating system. If the user has permissions to install or uninstall, then there is nothing to stop them beyond the operating system permissions.
A: The following command will generate an archive named PVDLOGS.ZIP in the current working folder. If your user account does not have write access to the folder, it will be available in the %TEMP% folder.
C:\Program Files\Citrix\Personal vDisk\bin\ctxpvd -log
Q: Can I install windows updates directly on VDA with Pvd ?
A: No, As per the recommendations windows updates should be installed on Base Image, followed by inventory upgrade.
If the windows updates are directly installed on the Pvd, it'll cause a window update mismatch between the Pvd and the Base Image, resulting in Pvd Failure.
A: This is exactly the purpose of the PvD. PvD persists the user's environment across both the restarts and image updates.
The Image update must be of the same 'lineage' of the original VM. In other words, it needs to be from the same VM base image. It could be a different snapshot. You cannot presently move PVDs between entirely different Windows installations (eg, entirely different base VMs - this is not what PVD is designed to do).
A: It depends when the older versions was installed on the base Virtual Machine. If PvD detects that the same exact content is installed, then during the image update operation PvD saves space for that redundancy, and removes the PvD reference and use the one from the base image. The user-installed file is de- referenced on image update only if it is detected that the state of the corresponding file in the Base Virtual Machine is changed.
A: If PvD detects that the same exact content is installed, then during the image update operation PvD saves space for that redundancy, and removes the PvD reference and use the one from the base image.
A: The default rules state that the base image copy always wins. So that version would start for the user.
A: No, there is not a mechanism to do that. You can however make any changes to the base image to account for frequently installed applications. Then on subsequent starting of the applications, if the user also had the same application in their PvD, the PvD software will remove the user’s copy to save space.
A: After the PvD lifecycle change has happened (the Start- BrokerCatalogPvdImagePrepare or Start-BrokerMachinePvdImagePrepare cmdlets have been called by Desktop Studio), then the broker will start up machines as required to cause the prepare to happen, but would not necessarily shut down running machines unless the roll-out strategy calls for it.
For example, if the roll-out strategy is to do it immediately, then Studio will ask the broker to shut down the machines immediately, after which the broker starts up again (because of their PvD lifecycle state) and do the prepare operation.A: If the inventory is run manually on a base Virtual Machine that was originally configured with PvD disabled (as selected during the VDA installation), PvD will subsequently become enabled. This means you will receive inventory reminder on subsequent shutdowns after that.
A: The end user sees the new base Virtual Machine image content (whatever changed) plus their personalization content (PvD content).
A: Yes. PvD would handle this as just another base image update.
A: Like all writes to the local drive, registry writes such as group policies are also captured in the PvD.
A: Citrix ensures that Anti-Virus is left on PvD since they are constantly updated and hence have tested all the major software.
A: Does not matter how they are installed. The applications might be installed by the user, the administrator or by ESD solutions like System Center Configuration Manager.
A: These should work perfectly fine.
Q: Can my users continue to use the Windows Store and associated Metro Apps in Windows 10?
A: At this time, we do not support the use of the Windows Store and Metro Apps for PvD-enabled targets, and this feature should be disabled.
A: Everything that attempts to write to the base image will be redirected and captured in the PvD (except for a few items such as the paging file).
A: Correct. PvD does not override OS ACLs or permissions. If the user does not have permissions to install, PvD does not change that.
A: The Virtual Machine will remain usable, although without the user’s personalization being available. In this scenario, the user will receive a warning message indicating the type of failure, and troubleshooting options (log collection, etc) to assist in diagnosing the problem.
A: The PvD will ignore the pagefile as you do not want the PvD to capture the pagefile. It would remain on the diff disk. Certain files that do not require persistence (like paging files) are ignored by PvD and left to the diff disk.
It is not required to waste space on the PvD for this type of data.
A: Yes, PvD does not affect isolation or interfere with it. If the application is configured to run in an isolated sandbox, PvD will not affect that.
A: PvD does not alter or affect any isolation of applications delivered using streaming technology. PvD is transparent to the application being installed or streamed. The applications will write to the PvD area in order to persist that data for the user.
A: During normal operations, boot time is only affected minimally (1-2 seconds). When performing maintenance or image updates, there will be some time costs. Inventory only occurs in base image preparation (not the user impact) and on first boot after an image update (reconcile between old base, new base and user's PvD). This can take 10-15 minutes or more depending on how much change occurred. The broker will have the Virtual Machine in a 'preparing' state during this time, meaning the user cannot log in yet. Once finished, it will be ready for user logon.
A: It would be the same behavior as any situation where disk space runs out and the user will receive a Windows error upon the failure in writing to the disk. The user would also likely see a Windows error warning about low disk space.
A: Not dynamically but on restart. You change the PvD size with a script. Then on next restart, that expansion will be applied.
A: It depends on which mode you are operating. In base Virtual Machine mode, it will be useless since the service creates the inventory. Basically, this part of base image preparation is not a user impact.
In pool Virtual Machine mode (when the user is actively using it) the machine PvD would still start but you lose some functionality like the work space reset feature.
A: No, it cannot.
A: From the perspective of the operating system, they are identical. So from the operating system perspective, there is no way to tell what is in base or what is on PvD. So if you actually look at the v: drive, it will be exactly the same as c: drive.
A: PvD will track deletes.
A: Correct. It is captured on their PvD only.