Share via

Updatefarmcredentials: Stsadm operation (Windows SharePoint Services)

Applies To: Windows SharePoint Services 3.0


Topic Last Modified: 2007-06-12

Operation name: Updatefarmcredentials


Updates the Web application pool for the SharePoint Central Administration Web site and the Windows SharePoint Services Timer service (SPTimer).


The updatefarmcredentials operation must be run on the server that hosts Central Administration. To change any other Web application pool account except the one that is used by Central Administration, use the Updateaccountpassword operation.


stsadm -o updatefarmcredentials

**\[-identitytype\] \<configurableid/NetworkService\>**

**\[-userlogin\] \<domain\\user name\>**

**\[-password\] \<password\>**




Parameter Value Required? Description


For a service account, the value is in the form:


For a configurableid, the value is in the form:



Provides a way to change the farm account from a domain account to a service account (for example, NetworkService).

It also describes the application pool account that you are using as either a built in service account, such as NetworkService, or a configurable ID (for example, Domain\user_name).

The default value is set to configurableid.


A valid user name, such as Domain\user_name


The user name that you use to log on to the account. The parameter is only required when configurableid is used.



The password that is associated with the userlogin parameter. The parameter is only required when configurableid is used.




Performs the following functions:

  • Updates the local server.

  • Does not start a timer job.

  • Does not update the database.

The local parameter is to be used in situations where the local server failed to update for any reason.

In addition, the local parameter corrects fixes to the local computer only, updating the administration application pool and linked services (for example, SPTimer), and the credential master registry key.




Sets the credential master registry key on the local server, but does not provision the new account (that is, change the actual application pool account).

See Also


Change passwords for Central Administration and Timer service (Windows SharePoint Services)

Other Resources

How to change the passwords for service accounts in SharePoint Server 2007 and in Windows SharePoint Services 3.0