Change Distributed Cache Service Account


Change Distributed Cache Service Account

V: 1.0

SharePoint 2013
SharePoint 2016


There are situations where you have to change the SharePoint Service Accounts. In SharePoint Central Administration website you go to Security > Configure Service Accounts under General Security section. Under Credentials Management drop down, choose Windows Service – Distributed Service. You will see the current account for the service.



You want to change the service account under ‘Select an account for this component‘. You get error message when you try to change it.

Sorry, something went wrong
Distributed Cache Service does not support this operation from Central Administration. Please use SharePoint PowerShell commandlets
Correlation ID
Date and Time:





You use PowerShell to change the Service account for Distributed Cache Service. Use the following code in PowerShell Management console or in Windows PowerShell ISE.

# SharePoint PowerShell Script to change the Service Account for Distributed Cache
# Add SharePoint PowerShell Snapin
Add-PSSnapin microsoft.sharepoint.powershell

# Change the SharePoint Distributed Cache Service Account
$farm = Get-SPFarm
$cacheService = $farm.Services | where {$_.Name -eq “AppFabricCachingService”}
$accnt = Get-SPManagedAccount -Identity domain\PSFarmDev
$cacheService.ProcessIdentity.CurrentIdentityType = “SpecificUser”
$cacheService.ProcessIdentity.ManagedAccount = $accnt




After executing t he PowerShell, you will see the account associated with the Windows Service – Distributed Cache on SharePoint Central Administration > Service Accounts page.


Leave a Reply

Sign up for Softvative Newsletter

Get notified about new articles and deals

Receive the latest technology and leadership news and resources from us

Subscribe To Softvative Newsletter