Attempted installation of XenApp or XenDesktop Delivery Controller or Virtual Delivery Agent software returns the following warning:
We cannot start the Citrix service that enables you to enroll in Call Home.
Note: This is applicable to XenDesktop & XenApp 7.12 and later.
This warning is most frequently encountered because an Active Directory GPO with the policy setting 'Log on as a service' is applied to the server where the XenApp or XenDesktop Delivery Controller software is being installed. There are several ways of resolving this. Choose one of the following methods.
Place the Active Directory accounts for the Delivery Controllers into an OU with inheritance blocking enabled. Ensure that no policies are being applied directly against this OU, perform a group policy update, and then browse to the local policy configurations on each Delivery Controller. Browse to the location 'Computer Configuration\Windows Settings\Security Settings\Local Policies\User Rights Assignment' in the local policy editor and ensure that 'Deny log on as a service' is not prohibiting 'NT SERVICE\CitrixTelemetryService' from running as a service. Finally, ensure that either 'NT SERVICE\CitrixTelemetryService' and/or ‘NT SERVICE\ALL SERVICES’ are defined under the 'Log on as a service' policy setting.
Create an Active Directory GPO with the Log on as a service policy setting and extend rights to 'NT SERVICE\ALL SERVICES'.
Note: This can be done only on a Delivery Controller with the Group Policy Management feature installed where the CitrixTelemetryService account has been created by the installer.
The process of adding the service account into an Active Directory GPO must be performed locally because Active Directory cannot detect the local CitrixTelemetryService account.
Click Start, point to Run, type mmc, and then click OK.
On the File menu, click Add/Remove Snap-in.
In Add/Remove Snap-in, click Add, and then, in Add Standalone Snap-in, double-click Group Policy Object Editor.
In Group Policy Object, click Browse, browse to the Group Policy object (GPO) that you want to modify, click OK, and then click Finish.
Click Close and then click OK.
In the console tree, click User Rights Assignment. (Computer Configuration > Windows Settings > Security Settings > Local Policies > User Rights Assignment)
In the details pane, double-click Log on as service right.
If the security setting has not yet been defined, select the Define these policy settings check box.
Click Add User or Group, and then add the appropriate account to the list of accounts that possess the Log on as a service right.
In the Add User or Group box select Browse.
Click Locations and select the machine account of the local Delivery Controller.
Enter 'NT SERVICE\CitrixTelemetryService' in the object names field and click OK.
If you closed the installation screen, run the following PowerShell cmdlets to enroll in Call Home:
$cred = Get-Credential
Enable-CitrixCallHome -Credential $cred
This message is also displayed when:
The service account for 'Citrix Telemetry Service' has insufficient privileges at the time of XenApp or XenDesktop installation. The XenApp or XenDesktop installation associates the service account 'NT SERVICE\CitrixTelemetryService' with 'Citrix Telemetry Service'; typically, rights to log on as a service are extended to 'NT SERVICE\ALL SERVICES'. Editing the local or domain policy 'Log on as a Service' such that the newly created 'NT SERVICE\CitrixTelemetryService' is not defined with sufficient rights generates the installation failure on the 'telemetryserviceinstaller_x64.msi'. This occurs because services configured to run under the Local System, Local Service, or Network Service accounts have a built-in right to log on as a service. Any service that runs under a separate user account must be assigned the right. The Citrix Telemetry Service is implemented as of the XenDesktop 7.6 Feature Pack 3 release and is responsible for collecting diagnostic information to support AoT CDF Tracing.