Change passwords for the Search service (Windows SharePoint Services)

Windows SharePoint Services 3.0

Updated: May 19, 2007

Applies To: Windows SharePoint Services 3.0


Topic Last Modified: 2008-04-08

Use this procedure to change the account passwords used for the Windows SharePoint Services Search service. This service is used to search across content.

The Search service stores the credential information and will continue to function even after the password has expired. However, if the Search service is restarted, the stored credential information is lost, and the Search service cannot be started until the credential information is updated. If the Search service cannot start, the content indexes cannot be updated and the search results will not be synchronized.

These procedures can be performed only after the password has been changed on the domain controller. The credentials entered are checked against those on the domain controller. If you enter the new password before the password has been changed on the domain controller, an error will result and the settings will not be changed.
To save the changes, you must restart the Search service. This will cause the services that it provided to be momentarily unavailable while the Search service restarts.
This procedure needs to be run only on the server that is running the SharePoint Central Administration Web site.
Membership in the Administrators group on the local computer, or equivalent, is required to complete the following procedures. Membership in the Farm Administrators group (WSS_RESTRICTED_WPG Windows security group) is not sufficient to complete these procedures.
Change the password for the Windows SharePoint Services Search service by using the user interface
  1. In Central Administration, on the Operations tab, in the Topology and Services section, click Services on server.

  2. Click Windows SharePoint Services Search.

  3. On the Configure Windows SharePoint Services Search Settings page, in the Service Account section, type the new password in the Password box.

  4. Click OK to save the changes.

Change the password for the Windows SharePoint Services Search service by using the command line
  1. On the computer running the Central Administration Web site, open the command line and navigate to the Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN folder.

  2. At a command prompt, type the following command, and then press ENTER:

    stsadm -o spsearch -farmserviceaccount <domain\username> -farmservicepassword < password>

    farmserviceaccount is the Windows SharePoint Services Search service account.
    For additional information, see Spsearch: Stsadm operation (Windows SharePoint Services).