When scanning a server that is a member of Citrix XenApp farm you may see the following error

The Citrix XenApp farm agent encountered an exception when 'Reading general farm settings'. Error executing the command 'Get-XAFarm'. The socket connection was aborted. This could be caused by an error processing your message or a receive timeout being exceeded by the remote host, or an underlying network resource issue. Local socket timeout was '00:00:09.9960000'

The value of the timeout displayed may differ.


This error can occur if the server being scanned is configured as Session Host Only and cannot communicate with a Delivery Controller.


This error can safely be ignored as long as at least one server configured as a Delivery Controller is configured to be scanned.

- or -

If the scan must be conducted through the specified Session Host Only server complete the following steps

  • Ensure that the Citrix XenApp Command Remoting service is running on the Delivery Controller.

  • Ensure that the Citrix XenApp PowerShell remoting port (by default TCP/2513) is open on the Delivery Controller.