Updatefarmcredentials: Stsadm operation (Windows SharePoint Services)

Applies To: Windows SharePoint Services 3.0

 

Topic Last Modified: 2007-06-12

Operation name: Updatefarmcredentials

Description

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

Note

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.

Syntax

stsadm -o updatefarmcredentials

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

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

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

**\[-local\]**

**\[-keyonly\]**

Parameters

Parameter Value Required? Description

identitytype

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

"NetworkService"

For a configurableid, the value is in the form:

Domain\user_name

Yes

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.

userlogin

A valid user name, such as Domain\user_name

No

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

password

No

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

local

<none>

No

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.

keyonly

<none>

No

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

Concepts

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