Fix Incorrect Service Endpoint in XA/XD sites

Fix Incorrect Service Endpoint in XA/XD sites

book

Article ID: CTX235731

calendar_today

Updated On:

Description

Note: This script applies to XA/XD 7.0 and above.

 

Overview

This PowerShell script attempts to fix any bad, missing, changed, or incorrect service endpoints in a site.

 

Please note:
You can download the required file from the Citrix downloads website by visiting the following link: https://www.citrix.com/downloads/citrix-tools

 

Prerequisites

To execute the script, the user needs to be:

  • Full XenDesktop/XenApp site administrator 
  • Member of local 'Administrators' security group

 

Instructions

  1. Make sure that the ‘site’ primary database connections are working as outlined in https://support.citrix.com/article/CTX140319
  2. Download the script using the link above in this article and extract it.
  3. Run the script (directly or indirectly) on the on all of the delivery controllers in the site where services are running without any registered endpoints, or where all registered endpoints for a service must be changed 
  4. Open up a PowerShell command window
  5. Execute the Repair-XaXdSvcRegistrations.ps1

The correct registrations should now be present for the site, and you can re-run the script with the [-diagnoseOnly]  option to verify that no issues are reported.

For extra information, type Get-Help Repair-XaXdSvcRegistrations.ps1 -full

 

Additional Information

Please note:
You can download the required file from the Citrix downloads website by visiting the following link: https://www.citrix.com/downloads/citrix-tools