Export (0) Print
Expand All
1 out of 3 rated this helpful - Rate this topic

Updatefarmcredentials: Stsadm operation (Office SharePoint Server)

SharePoint 2007

Updated: June 14, 2007

Applies To: Office SharePoint Server 2007

Updated: 2007-06-14

Operation name: Updatefarmcredentials

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

NoteNote:

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.