PVS XDSW retain template disks

PVS XDSW retain template disks

book

Article ID: CTX237313

calendar_today

Updated On:

Description

Allow Xendesktop Setup Wizard (XDSW) created targets, to be created with disks as configured in the template.

Background:
PVS 7.x  XDSW introduced new functionality to allow setting write cache size for the new target devices about to be created.
XDSW will create the cache disk, and it will be formatted on targets first boot after target creation.
This change also set XDSW default behavior to not use any disks attached to the template, resulting created targets would only have the XDSW configured cache drive, and none from the template


 


Instructions

On the PVS server where you are running XDSW create the registry entry below, 
HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\ProvisioningServices
Name: UseTemplateCache
Type: DWORD

To keep the hypervisor template attached drives, plus what is created in XDSW
Value: 0

To only use what is created in XDSW
Value: 1
(or delete the key)

Notes:

  • UseTemplateCache registry key is not supported when selecting BDM boot disk in the Wizard.
  • There will be no visible change to XDSW with or without this key in place.
    XDSW will continue to prompt for size of cache disk with this key in place and set to 0.
    The only visible change will be in new target devices created after configuring the key, they will have retained any disks which were present on the template.
  • XDSW with key in place and set to 0 will create new targets with template defined disks, as well as a new disk as prompted in XDSW
  • To have targets created with only the template configured disks, set cache drive size to zero size when prompted to by XDSW.

Environment

Caution! Using Registry Editor incorrectly can cause serious problems that might require you to reinstall your operating system. Citrix cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk. Be sure to back up the registry before you edit it.