When reinstalling Storefront on one of your existing servers, the uninstaller does not Clean up every single file as it really should, and you’ll notice that when you try to join back that newly reinstalled Storefront server to the Group, an error similar to the following will appear on your Citrix Delivery Services log:

An error has occured during the all server configuration update process. Citrix.DeliveryServices.ConfigurationReplication.Exceptions.ServerUpdateConfigurationException, Citrix.DeliveryServices.ConfigurationReplication, Version=2.3.0.0, Culture=neutral, PublicKeyToken=q8b79d454fx2a158 An error occured running the command: “Install-DSFeatureClasses” RemoteEndpoint: net.tcp://servername/Citrix/ConfigurationReplication

To fix this perform the following:

1. Uninstall Storefront on the server you are trying to join to the cluster

2. After a successful uninstallation process, delete the following folders:
C:\program files\Citrix\Storefront
C:\inetpub\wwwroot\citrix

3. On the IIS manager try to delete the following application pools if they remains:
Citrix Delivery Services Authentication
Citrix Delivery Services Resources
Citrix Receiver for Web

If any of the above application pools throws an error while deleting them from the IIS Manager, start Notepad as an administrator and open the following file: %windir%\system32\inetsrv\config\applicationhost.config
Locate the line starting with <application path=” and delete the remaining application pool configuration, save the file and return to IIS manager and delete the remaining application pool(s)

4. Reinstall Storefront and rejoin the server to the cluster. You should be good to go 🙂