Share via


Modifier les mots de passe pour le service Search (Office SharePoint Server)

Mise à jour : 2007-05-19

Use this procedure to change the account passwords used for the Office SharePoint Server Search service and the Windows SharePoint Services Search service. These credentials are used to authenticate the search service when connecting to back-end databases.

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.

NoteRemarque :

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.

NoteRemarque :

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.

NoteRemarque :

This procedure needs to be run only on the server that is running the SharePoint Central Administration Web site.

ImportantImportant :

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 Office SharePoint Server Search service by using the user interface

  1. In the SharePoint Central Administration Web site, on the Operations tab, in the Topology and Services section, click Services on server.

  2. Click Office SharePoint Server Search.

  3. On the Configure Office SharePoint Server Search Service Settings page, in the Farm Search 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 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 Help 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 Office SharePoint Server 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 osearch -farmserviceaccount <domain\username> -farmservicepassword < password>

    NoteRemarque :

    farmserviceaccount is the Office SharePoint Server Search service account.

    For additional information, see Osearch : opération Stsadm (Office SharePoint Server).

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>

    NoteRemarque :

    farmserviceaccount is the Windows SharePoint Services Search service account.

    For additional information, see Spsearch: Stsadm operation (Windows SharePoint Services).