Citrix XenApp and XenDesktop can be upgraded, but must be done in a particular order to avoid downtime.
Prepare - run site checks, backup databases, check Subscription Advantage date, close apps and console and check permissions.
Upgrade License server
Upgrade Provisioning Services servers and Target Device software
Upgrade half the Delivery Controllers
Upgrade XenApp/XenDesktop databases
Upgrade remaining Delivery Controllers
Upgrade Virtual Delivery Agents (VDA)
Update machine catalog and delivery groups
The following article goes through the steps of upgrading the Citrix Provisioning Services Target Device to version 7.13 on a Windows 10 machine that boots from Provisioning Services. The procedure only works when upgrading from version 7.7 or later. Previous versions require you to reverse image the vDisk back on to a locally attached virtual disk, uninstall Provisioning Services Target Device, install the newer version and use PVS Imaging Wizard to image it back on to Provisioning Services.
On the Provisioning Server, open the Provisioning Services Console, enter the PVS server name in Name and click Connect.
Expand farm name > Sites > site name > vDisk Pool.
Right click on vDisk and select Versions...
In vDisk Versions window click New to create a new maintenance version.
Log into vSphere Web Client or vSphere Client to power up the VM used to update the master image.
Click on VMs and Templates.
Locate the VM.
Right click and select Power > Power On.
On the master image VM console select 1 to boot it from the maintenance version created earlier. If you have the SkipBootMenu registry value on Provisioning Services you won't see this option and it will automatically boot-up into the maintenance version.
Back on the vSphere Web Client, mount the Provisioning Services 7.13 DVD in the master image VM.
Right click on the VM and click Edit Settings...
Click on the CD/DVD drive 1 drop-down box.
Select Datastore ISO File (assuming you have already uploaded the ISO to a datastore).
Browse the datastore and folders, select the ISO from the list and click OK.
Click Connect next to CD/DVD drive 1 and click OK.
On the master VM image you can now launch the Citrix Provisioning Services Target Device upgrade. Click on Target Device Installation.
Click Target Device Installation.
Select I accept the terms in the license agreement and click Next.
Click Yes to restart the VM.
Enter 1 and press RETURN to boot it from PVS.
Now the PVS Target Device upgrade is successful the master VM image can be shutdown.
Back in the Provisioning Services Console.
Right click on the vDisk and click Versions...
Select the vDisk maintenance version from the list and click Promote.
Select either Test or Production and click OK to promote the vDisk version immediately. Alternatively you can select Scheduled and specify a date and time of when the vDisk version will be promoted.
The vDisk version should now have a green tick next to the version number to indicate that it has been promoted to production. If you select Test it will have a magnifying glass icon instead.
The Replication button has a warning icon on it to indicate that the vDisk version is only available on a single server.
Select the PVP and AVHDX files that have the correct version number in the file name and copy the files. In this case they will end with .2.avhdx and .2.pvp.
Paste the files on to the storage volume containing the vDisks located on the second PVS server.
Click on Refresh. The warning icon should now disappear. You can click on the Replication button to see the replication status.
All servers and vDisk version numbers should have a blue dot to indicate that it is present on both servers. Click Done.
That's it, next time the VM's boot-up they will use the updated Provisioning Services Target Device software.