Change the default account for crawling in SharePoint Server
**適用版本:**SharePoint Server 2013, SharePoint Server 2016
**上次修改主題的時間:**2017-07-14
Summary: Change the user name or password of the account that the SharePoint Server 2016 or SharePoint Server 2013 Search service uses by default for crawling.
The account that the SharePoint Server Search service uses by default for crawling is called the default content access account. It must be a domain account with a password that is current in Active Directory 網域服務 (AD DS). If the password of this domain account expires, the Search service is not able to use the account to crawl content.
The password of the default content access account has two additional dependencies on the domain account password in AD DS:
If you change the password of the account in AD DS, you must make the same change for the password of the default content access account in SharePoint Server.
If you want to change the password of the default content access account in SharePoint Server, you must first change the password in AD DS. This is because the credentials that you enter for the default content access account in SharePoint Server are checked against those in AD DS. If you enter a new password for the default content access account before the account password is changed in AD DS, an error will result and the password of the default content access account will not be changed.
The following procedure changes the user name and password for the default content access account. You can specify a different account for crawling particular URLs by using a crawl rule. If you specify a different account in a crawl rule and you want to change the password of that account, you must change the crawl rule. For more information, see Manage crawl rules in SharePoint Server.
To change the default content access account
Verify that the account that performs this procedure is a service application administrator for the Search service application that you want to configure.
In Central Administration, in the Application Management section, click Manage service applications.
On the Manage Service Applications page, click the Search service application for which you want to change the default content access account.
On the Search Administration page for the Search service application, in the System Status section, find the Default content access account, which is of the form Domain\UserName.
Click the default content access account name. The Default Content Access Account dialog box appears.
(Optional) In the Account text box, type a new user name.
In the Password text box and in the Confirm Password text box, type the new password, and then click OK.
See also
Create and configure a Search service application in SharePoint Server 2016
Manage crawl rules in SharePoint Server