SharePoint Stuff

Orphan Distrubuted Cache Server – SharePoint 2013

Written by Luke Smith. Posted in Microsoft

SharePoint 2013 Distributed Cache is reporting a server as DOWN or UNKNOWN after the server was removed from sharepoint

The following command will confirm this issue


example output:

HostName : CachePort Service Name Service Status Version Info
-------------------------- ------------ -------------- ------------
WEB05.DOMAIN.LOCAL:22233 AppFabricCachingService UNKNOWN 0 [0,0][0,0]
WEB06.DOMAIN.LOCAL:22233 AppFabricCachingService UP 3 [3,3][1,3]
WEB07.DOMAIN.LOCAL:22233 AppFabricCachingService UP 3 [3,3][1,3]

To remove the orphan

run the following powershell command (using SharePoint 2013 powershell as administrators)

Unregister-CacheHost -HostName "" -provider "SPDistributedCacheClusterProvider" -ConnectionString "Data Source=;Initial Catalog=;Integrated Security=True;Enlist=False"

Unregister-CacheHost -HostName "WEB05.DOMAIN.LOCAL" -provider "SPDistributedCacheClusterProvider" -ConnectionString "Data Source=SHAREPOINTSQL;Initial Catalog=ConfigDB;Integrated Security=True;Enlist=False"

Connection string details can be found here: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\AppFabric\V1.0\Configuration

Tags: , ,

Trackback from your site.

Luke Smith

I’ve been working with Microsoft Technologies for over 20 years, my main focus now being Microsoft Online Services. I manage the Cloud Services at ElysianIT Limited and as a P-SELLER at Microsoft. I have worked with many organisations from SMC to Enterprise. I’ve been working with Microsoft Technologies since DOS 5.0, to date I have been working on Microsoft’s latest cloud technology Windows Azure, Windows 10 Office 365 and Microsoft SharePoint

Leave a comment