kamagra how much to take

Change Distributed Service Account

It is actually not that easy to change the distributed service account, certinaly not remotely as easy as it is like a bunch of the other service accounts in SharePoint 2013.

There is an ordered process that you need to follow in order to successfully do it. I don’t know why it is such a pain in the ass, but here is the only way I have gotten it to work. Following the instructions set forward here:

http://technet.microsoft.com/en-us/library/jj219613.aspx#changesvcacct

however in this script:

$farm = Get-SPFarm
$cacheService = $farm.Services | where {$_.Name -eq “AppFabricCachingService”}
$accnt = Get-SPManagedAccount -Identity domain_name\user_name
$cacheService.ProcessIdentity.CurrentIdentityType = “SpecificUser”
$cacheService.ProcessIdentity.ManagedAccount = $accnt
$cacheService.ProcessIdentity.Update()
$cacheService.ProcessIdentity.Deploy()

It appears you will get the following error:

Exception calling “Deploy” with “0” arguments(s):  “This operation uses the SharePoint Administration service (spadminV4), which could not be contacted. If the service is stopped or disabled, start it and try the operation again.”

To get past this error, change the script to (basically take out the Deploy):

$farm = Get-SPFarm
$cacheService = $farm.Services | where {$_.Name -eq “AppFabricCachingService”}
$accnt = Get-SPManagedAccount -Identity guyuming\appfabriccache
$cacheService.ProcessIdentity.CurrentIdentityType = “SpecificUser”
$cacheService.ProcessIdentity.ManagedAccount = $accnt
$cacheService.ProcessIdentity.Update()

Then open up central administration, and navigate to Services On Server. Stop and start the Distributed Cache service. Error fixed!

:p

Share

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>