Updatefarmcredentials: Stsadm operation (Office SharePoint Server) | |
See Also |
Stsadm command-line tool (Office SharePoint Server) > Stsadm operations (Office SharePoint Server) > Security: Stsadm operations (Office SharePoint Server) > |
This Office product will reach end of support on October 10, 2017. To stay supported, you will need to upgrade. For more information, see , Resources to help you upgrade your Office 2007 servers and clients.
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:
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). |