Wilco van Bragt - LinkeIn Wilco van Bragt - Twitter rssa 

Unattended Installation scripts XenDesktop 7.x Part 7

In the earlier articles I wrote down how to install unattended the XenDesktop components. The article was based on the versions of XenDesktop 7.6 till XenDesktop 7.15 (dependent of the article).

It has been a while that I updated this article series. In this (small) article I will describe the uninstallation options for the most current version out there 7.15 CU2 and 7.18 (CR).

XenDesktop 7.15CU2 / 7.18 Delivery Controller

XenDesktop 7.15 CU requires at least. Net Framework 4.5.2. The newer version 4.6 and 4.7 are also supported. In part 4 is described the installation parameters for .Net Framework if you are interested for that part of the unattended installation. I will not cover this part again in the updating article.

Also from part 4 a check which version is actually installed is added to the script, so the script could be used for upgrades as well, both for older versions a 7.15 release. This part is still exactly the same, so we can use that for 7.15. From the original script you only need to update value of $XDVersion which is 7.15.2000.291 for the CU2 update.

For the script this will be the variables defined for XenDesktop 7.15 CU2

#Define Variables
$DCUninstall="HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Citrix Desktop Delivery Controller”

For XenDesktop 7.18

For the XenDesktop 7.18 the .Net Framework requirements are exactly the same. The minimum version is .Net Framework 4.5.2 and also 4.6 and 4.7 are supported. Like all 7.18 installations .Net Framework 4.7.1 is required, so it looks the documentation is not (yet) fully UpToDate. Add the 4.7.1 installation to your installation in advance as the installation requires a reboot.  

#Define Variables
$DCUninstall="HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Citrix Desktop Delivery Controller”

XenDesktop VDA 7.15CU2 and 7.18

For the VDA it’s pretty simple again. Just as with the earlier releases a new GUID is added to the uninstall key. For de XenDesktop/XenApp 7.15CU VDA the key is {B752E15C-F670-407A-AB37-E27CE3DDF03B}.


For the XenDesktop/XenApp 7.18 VDA the documentation is stating that .Net Framework 4.5.2 is still the lowest version required, however .Net Framework 4.7.1 is actually required as this one is automatically installed with the manual VDA installation. I would recommend to install .Net Framework in advance via the silent installation as for the Delivery Controller. The check can be done via the following key {5DC81D61-FF5B-44F8-A559-2903557C9006}.


As mentioned in article part 6 within the VDA there is also a nicer way by checking on the VDA version which is available in the Citrix Virtual Desktop Agent key (also under the install key). For XenDesktop 7.15 VDA CU2 the VDAVersion is 7.15.2000.291, while 7.18 is See part 6 for the full script.

7.15 CU2

#Define Variables
$VDAUninstall="HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Citrix Virtual Desktop Agent”


#Define Variables
$VDAUninstall="HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Citrix Virtual Desktop Agent”

PVS Target Device 7.15 CU2/7.18

For both version nothing has changed for the installation procedure, so I only provide the GUID you need to change in the previous shared scripts for these releases. PVS Target Device 7.15 CU2 is {ED130877-73A1-4796-A9BE-0508D406DADB}, for 7.18 {0605EE32-32A8-42C5-B386-724E02E134EA}.  For 7.18 .Net Framework 4.6.2 is needed, so this should be added to the unattended installation in advance (you cannot use the installation procedure of the PVS target device to take care of this part).

PVS TD 7.15CU2


PVS TD 7.18


Citrix StoreFront 3.12 CU2/3.1x

Within the Cumulative Update 2 of XenDesktop 7.15 also an updated version of StoreFront is released. For StoreFront nothing new is under the sun so for the unattended we can check on the GUID.

For StoreFront 3.12 belonging to XenDesktop 7.15 LTSR CU2 the key is {40C6F50D-2269-4B04-A0D3-CCA75B863A5F}.



For StoreFront 3.15 bundled with XenDesktop 7.18 the key is {E2F9783C-1160-40F3-AA68-4EE52AFC729F}.


Citrix Director 7.15 CU2 / 7.18

We discussed this already earlier in the previous parts, for the Director 7.15 CU2 version the uninstall information can still be found in the Wow6432Node. The key is {CD076E7B-F054-466E-82C1-0B604D1DBE2A}.


For Citrix Directory 7.18 the key is now again back in the default uninstall location. It looks like Director is back to be fully 64-bit for now. So the check needs to be changed for Director 7.18 both the location HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall as the GUID which is {0AEFE582-895F-469D-BB87-5A58E6F4E087}

Citrix Director 7.18

$DirectorUninstall=" HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{0AEFE582-895F-469D-BB87-5A58E6F4E087}"


In this article I updated the installation scripts with the latest version of XenDesktop, StoreFront and PVS versions 7.15 CU2 and 7.18. For the full scripts, check the earlier articles in this series.