Configure and Troubleshoot Citrix XenDesktop 7.x Services – Updated for 7.6

If you need to troubleshoot your environment it is often crucial to have as much information about the environment you can get. If you need to troubleshoot XenDesktop or XenApp environments and especially the services you can start the service executables with the -logfile switch and the path where you want to store the log files:

Example

“C:\Program Files\CitrixAdIdentity\Service\Citrix.ADIdentity.exe” -logfile “%temp%\ADIdentity.log”

This should give you some more insights about what these services are doing. To check for common configuration issues of a Controller you should also take a look at the XDPing tool at http://support.citrix.com/article/CTX123278

Every service has additional options. I have consecutively enlisted the services with their parameters on a XenDesktop 7.6 Controller. This way you can see that there is more to configure than the log file location. Ports, Firewall-options, installations and uninstallations can be done this way too.

AD-Identityservice

PS C:\Program Files\Citrix\AdIdentity\Service> .\Citrix.ADIdentity.exe /?

 
Parameters:

  • -? or -Help (Display this usage message)
  • Show (Show existing settings)
  • SdkPort (Configure the port for the administration SDK)
  • KeyPort (Configure the port for the peer-service SDK)
  • SvcPort (Configure the port for the inter-service SDK)
  • ConfigureFirewall (Update Windows Firewall exclusions for the configured ports)
  • Logfile (Configure logging to go to )
  • Uninstall (Remove configuration settings, including Windows Firewall exclusions, and reserved URLs)
  • Upgrade (Perform actions needed after an upgrade of the service to a new version)
  • Quiet (Do not output status messages)

Analytics Service

PS C:\Program Files\Citrix\Analytics\Service> .\Citrix.Analytics.exe /?

 
Parameters

  • -? or -Help Display this usage message
  • -Show Show existing settings
  • -Logfile Configure logging to go to
  • -ConfigureFirewall Update Windows Firewall exclusions for the configured ports
  • -SdkPort Configure the port for the administration SDK
  • -SvcPort Configure the port for the inter-service SDK
  • -Uninstall Remove configuration settings, including Windows Firewall exclusions, and reserved URLs
  • -Upgrade Perform actions needed after an upgrade of the service to a new version
  • -Quiet Do not output status messages

Broker Service

PS C:\Program Files\Citrix\Broker\Service> .\BrokerService.exe /?

 
Parameters:

  • -? or -Help (Display this usage message.)
  • -Show (Show existing settings.)
  • -SdkPort (Configure the port for the administration SDK.)
  • -VdaPort (Configure the port to listen for VDA registrations.)
  • -WiPort (Configure the port to listen for Web Interface XML requests.)
  • -WiSslPort (Configure the port to listen for Web Interface XML requests when using SSL.)
  • -ConfigureFirewall (Update Windows Firewall exclusions for the configured ports.)
  • -LogFile (Configure logging to go to .)
  • -Uninstall (Remove configuration settings, including Windows Firewall exclusions, and reserved URLs.)
  • -Upgrade (Perform actions needed after an upgrade of the broker service to a new version.)
  • -Quiet (Do not output status messages.)

Configuration Service

PS C:\Program Files\Citrix\Configuration\Service> .\Citrix.Configuration.exe /?

 
Parameters:

  • -? or -Help (Display this usage message)
  • -Show (Show existing settings)
  • -SdkPort (Configure the port for the administration SDK)
  • -SvcPort (Configure the port for the inter-service SDK)
  • -ConfigureFirewall (Update Windows Firewall exclusions for the configured ports)
  • -Logfile (Configure logging to go to )
  • -Uninstall (Remove configuration settings, including Windows Firewall exclusions, and reserved URLs)
  • -Upgrade (Perform actions needed after an upgrade of the service to a new version)
  • -Quiet (Do not output status messages)

Configuration Logging Service

PS C:\Program Files\Citrix\ConfigurationLogging\Service> .\Citrix.ConfigurationLogging.exe /?

 
Parameters:

  • -? or -Help (Display this usage message)
  • -Show (Show existing settings)
  • -SdkPort (Configure the port for the administration SDK)
  • -SvcPort (Configure the port for the inter-service SDK)
  • -ConfigureFirewall (Update Windows Firewall exclusions for the configured ports)
  • -Logfile (Configure logging to go to )
  • -Uninstall (Remove configuration settings, including Windows Firewall exclusions, and reserved URLs)
  • -Upgrade (Perform actions needed after an upgrade of the service to a new version)
  • -Quiet (Do not output status messages)

Delegated Admin Service

PS C:\Program Files\Citrix\DelegatedAdmin\Service> .\Citrix.DelegatedAdmin.exe /?

 
Parameters:

  • -? or -Help (Display this usage message)
  • -Show (Show existing settings)
  • -SdkPort (Configure the port for the administration SDK)
  • -SvcPort (Configure the port for the inter-service SDK)
  • -ConfigureFirewall (Update Windows Firewall exclusions for the configured ports)
  • -Logfile (Configure logging to go to )
  • -Uninstall (Remove configuration settings, including Windows Firewall exclusions, and reserved URLs)
  • -Upgrade (Perform actions needed after an upgrade of the service to a new version)
  • -Quiet (Do not output status messages)

Env Test Service

PS C:\Program Files\Citrix\EnvTest\Service> .\Citrix.EnvTest.exe /?

 
Parameters:

  • -? or -Help (Display this usage message)
  • -Show (Show existing settings)
  • -SdkPort (Configure the port for the administration SDK)
  • -SvcPort (Configure the port for the inter-service SDK)
  • -ConfigureFirewall (Update Windows Firewall exclusions for the configured ports)
  • -Logfile (Configure logging to go to )
  • -Uninstall (Remove configuration settings, including Windows Firewall exclusions, and reserved URLs)
  • -Upgrade (Perform actions needed after an upgrade of the service to a new version)
  • -Quiet (Do not output status messages)

Host Service

PS C:\Program Files\Citrix\host\service> .\Citrix.Host.exe /?

 
Parameters:

  • -? or -Help (Display this usage message)
  • -Show (Show existing settings)
  • -SdkPort (Configure the port for the administration SDK)
  • -KeyPort (Configure the port for the peer-service SDK)
  • -SvcPort (Configure the port for the inter-service SDK)
  • -ConfigureFirewall (Update Windows Firewall exclusions for the configured ports)
  • -Logfile (Configure logging to go to )
  • -Uninstall (Remove configuration settings, including Windows Firewall exclusions, and reserved URLs)
  • -Upgrade (Perform actions needed after an upgrade of the service to a new version)
  • -Quiet (Do not output status messages)

Machine Creation Service

PS C:\Program Files\Citrix\MachineCreation\Service> .\Citrix.MachineCreation.exe /?

 
Parameters:

  • -? or -Help (Display this usage message)
  • -Show (Show existing settings)
  • -SdkPort (Configure the port for the administration SDK)
  • -SvcPort (Configure the port for the inter-service SDK)
  • -ConfigureFirewall (Update Windows Firewall exclusions for the configured ports)
  • -Logfile (Configure logging to go to )
  • -Uninstall (Remove configuration settings, including Windows Firewall exclusions, and reserved URLs)
  • -Upgrade (Perform actions needed after an upgrade of the service to a new version)
  • -Quiet (Do not output status messages)

Monitor Service

PS C:\Program Files\Citrix\Monitor\Service> .\Citrix.Monitor.exe /?

 
Parameters:

  • -? or -Help (Display this usage message)
  • -Show (Show existing settings)
  • -SdkPort (Configure the port for the administration SDK)
  • -SvcPort (Configure the port for the inter-service SDK)
  • -ODataPort (Configure the port for the OData SDK)
  • -RequireODataSsl (Requires all OData SDK HTTP traffic be encrypted by SSL)
  • -ConfigureFirewall (Update Windows Firewall exclusions for the configured ports)
  • -Logfile (Configure logging to go to )
  • -Uninstall (Remove configuration settings, including Windows Firewall exclusions, and reserved URLs)
  • -Upgrade (Perform actions needed after an upgrade of the service to a new version)
  • -Quiet (Do not output status messages)

StoreFront Service

PS C:\Program Files\Citrix\Storefront\Service> .\Citrix.Storefront.exe /?

 
Parameters:

  • -? or -Help (Display this usage message)
  • -Show (Show existing settings)
  • -SdkPort (Configure the port for the administration SDK)
  • -SvcPort (Configure the port for the inter-service SDK)
  • -ConfigureFirewall (Update Windows Firewall exclusions for the configured ports)
  • -Logfile (Configure logging to go to )
  • -Uninstall (Remove configuration settings, including Windows Firewall exclusions, and reserved URLs)
  • -Upgrade (Perform actions needed after an upgrade of the service to a new version)
  • -Quiet (Do not output status messages)

Please take care: Only use the log file functionality in troubleshooting scenarios. Otherwise your hard disk may be written full.

All information without warranty for any failures in your environment.

Cheers,
Sinisa

By:

Posted in: