Skip to main content

Change SharePoint Serivce Accounts

Change SharePoint Central Administration Account

On servers running SharePoint Central Administration site run the following command:
stsadm -o updatefarmcredentials -userlogin DOMAIN\USERNAME -password PASSWORD
On other servers not running SharePoint Central Administration site run the following command:
stsadm -o updatefarmcredentials -userlogin DOMAIN\USERNAME -password PASSWORD -local
Run iisreset /noforce to restart IIS
To make sure that this operation completed, open SharePoint Central Administration site >> Operations >> Timer job definitions and wait until Administration Application Pool Credential Deployment timer job disappears from the list.
Change Application Pool Accounts
There are two ways to change application pool accounts in SharePoint: first one using GUI, and the second using STSADM command. To change application pool accounts using GUI:

1.Open SharePoint Central Administration site >> Operations >> Service Accounts (under Security Configuration section)
2.Select Web Application Pool option and pick Web Service and Application Pool you would like to make changes to
3.Enter username and password for application pool service account.
4.You need to do this for each application pool account you would like to change on every SharePoint server in your farm
To change application pool account using STSADM command, run:

stsadm -o updateaccountpassword -userlogin DOMAIN\USERNAME -password PASSWORD –noadmin

Once again, you need to do this for each application pool account you would like to change on every SharePoint server in your farm.

There is also a third way to change application pool account – using LaPointe's custom STSADM command extensions: http://stsadm.blogspot.com/2008/10/changing-application-pool-identity-via.html

To change application pool account for SharePoint Central Administration web application run:

stsadm -o updatefarmcredentials -userlogin DOMAIN\USERNAME -password PASSWORD



Change Windows SharePoint Services Help Search account

To change Windows SharePoint Services Help Search account, run:

stsadm -o spsearch -farmserviceaccount DOMAIN\USERNAME -farmservicepassword PASSWORD

Change Default content access account (used by the Windows SharePoint Services Help Search service)

To change Default Content Access account, run:

stsadm -o spsearch -farmcontentaccessaccount DOMAIN\USERNAME -farmcontentaccesspassword PASSWORD

Change Office SharePoint Server Search service account

To change Office SharePoint Server Search account, run:

stsadm -o osearch -farmserviceaccount DOMAIN\USERNAME -farmservicepassword PASSWORD

Change Default content access account (used by the Shared Service Provider)

To change Default Content Access account, if the Infrastructure Update for Microsoft Office Servers is installed:

1.Open SharePoint Central Administration site, click on your Shared Services Provider (in the Quick Launch, in the Shared Services Administration group)
2.On the Shared Services Administration page, in the Search section, click Search Administration.
3.On the Search Administration page, on the Quick Launch, in the Crawling section, click Default content access account
4.On the Default Content Access Account page, in the Account box, type the domain and user name for the account (in the form DomainName\UserName)
5.In the Password and Confirm Password boxes, type the password for the account.
6.Click OK.
To change Default Content Access account, if the Infrastructure Update for Microsoft Office Servers is not installed:

1.Open SharePoint Central Administration site, click on your Shared Services Provider (in the Quick Launch, in the Shared Services Administration group)
2.On the Shared Services Administration page, in the Search section, click Search Settings.
3.On the Configure Search Settings page, in the Crawl Settings section, click Default content access account
4.On the Default Content Access Account page, in the Account box, type the domain and user name for the account (in the form DomainName\UserName)
5.In the Password and Confirm Password boxes, type the password for the account.
6.Click OK.
You can also use crawl rules to specify a different content access account or authentication method, read more at http://technet.microsoft.com/en-us/library/cc263052.aspx.

Change Shared Service Provider Service Accounts

To change Shared Service Provider Service Accounts, run:

stsadm -o editssp -title SHAREDSERVICESPROVIDERNAME -ssplogin DOMAIN\USERNAME -ssppassword PASSWORD

You need to run this command on every SharePoint server in your farm.

Change Excel Services Account

To change Excel Services Account:

Open SharePoint Central Administration site, click on your Shared Services Provider
Click edit Excel Services settings
Enter username and password for the Excel Calculation Services account and then click the OK button.
Change Profile Access account

Open SharePoint Central Administration site, click on your Shared Services Provider
Click User profiles and properties
Click Configure profile import
Enter username and password and then click the OK button

Comments

Popular posts from this blog

How to get SPUser or SPGroup from Person or Group field

You have person or group field in SharePoint list and you want to programmatically get the user or person. The below code to gets SPUser from User or Group field in the list when multiple choice and Groups are not allowed in the field: //get SPUser SPFieldUser userField = (SPFieldUser)item.Fields.GetField("Users"); SPFieldUserValue userFieldValue = (SPFieldUserValue)userField.GetFieldValue(item["Users"].ToString()); SPUser user = userFieldValue.User; This part of code would help you to get SPUser when multiple choice is allowed and groups are not allowed: //Multiple choices are allowed SPFieldUser userField = (SPFieldUser)item.Fields.GetField("Users"); SPFieldUserValueCollection userFieldValueCollection = (SPFieldUserValueCollection)userField.GetFieldValue(item["Users"].ToString()); foreach (SPFieldUserValue userFieldValue in userFieldValueCollection) {     Console.WriteLine("     " + userFieldValue.User.LoginName); } And when group

SharePoint publishing page scheduling

In SharePoint 2010 publishing enabled team site collection is not showing schedule button in publish ribbon. Solution: Here is how to enable it  though the UI: Locate the SharePoint Server Web site on which you want to enable content approval and item scheduling. Click  Site Actions , click  Site Settings , and then click  Modify Pages Library Settings . Under  General Settings , click  Versioning Settings . Click  Yes  next to  Content Approval , and then click  OK . Click  Manage item scheduling .   Click to enable the  Enable scheduling of items in this list  check box, and then click  OK .

Changing Content Type Hub URL

Change the Hub URL through powershell by using: Set-SPMetadataServiceApplication -Identity " " -HubURI " " For Ex: Set-SPMetadataServiceApplication -Identity "Managed Metadata Service" -HubURI "http://contenttype.Domain.Com" When you try to do this you get this rather scary message: This is SharePoint telling you that this is a major thing so be careful! Essentially all your content types that you have published out will be removed if they can, and you have to republish all of your content types out again which can cause some issue.