Monthly Archives: March 2012

XenDesktop 5 / 5.5 – Uninstall failure

Environment:  Citrix Desktop Delivery Controller version 5 or 5.5.

Problem description: when trying to uninstall XenDesktop 5 or 5.5 you may get an ‘failed’ error with the following string in the installation log:

 

XenDesktopSetup:Process completed with error code -1

XenDesktopSetup:Failed to remove component ‘Machine Identity Service’. Config tool C:\Program Files\Citrix\MachineIdentity\Service\Citrix.MachineIdentity.SdkWcfEndpoint.exe failed on uninstall with error code -1

XenDesktopSetup:Recording installation failure from component ‘Machine Identity Service’

XenDesktopSetup:Remove failed

XenDesktopSetup:InstallationManager returned Failed

XenDesktopSetup:MetaInstaller terminating

 

Problem cause: in this situation the uninstall tryes to add/remove certain rules from the firewall while the firewall is disabled.

Problem solution: start the firewall service from the services.msc console and enable the firewall in the control planel. If necessary, you can disable it after the uninstall.