Unable to remove decommissioned server from StoreFront deployment using StoreFront GUI and Remove Server action.
The console is stuck and the following error appears:
“Cannot Remove Server”
In this case, in the StoreFront console you might see the following warning message:
In addition, the following Synchronization Status error message might appear:
Close the StoreFront consoles on all servers (if open).
Locate C:\Program Files\Citrix\Receiver StoreFront\ClusterManagement\feature.config file.
Remove the server that you no longer want in the group by deleting the member entry.
For example, remove <member hostname="mybadserver" servername="mybadserver" certificateThumbprint="D1DAD2572FE843F8C2BB544C59222DDA6EF7E1EB" />.
Locate C:\Program Files\Citrix\Receiver StoreFront\Services\PeerNameResolution\Citrix.DeliveryServices.ServiceHosting.WindowsServiceHost.exe.config.
Search for the clients section: <clients authenticationMode="windows" portSharingEnabled="true">.
Remove the server that should no longer exist in the group by deleting the “add” entry.
For example, remove <add name="mybadserver" uri="net.tcp://mybadserver/Citrix/PeerResolverService/Replication" />.
Restart the Citrix Peer Resolution Service.
Remove the server from the local Windows group CitrixClusterMembers.