Export (0) Print
Expand All

Renameserver: Stsadm operation (Windows SharePoint Services)

SharePoint 2007

Updated: November 12, 2008

Applies To: Windows SharePoint Services 3.0

Updated: 2008-11-12

Description

Changes the name of the specified server in the configuration database. This operation is used before or after a server is renamed in the domain to avoid having to rebuild the server or farm.

Syntax

stsadm -o renameserver

   -oldservername <oldServerName>

   -newservername <newServerName>

Parameters

Parameter name and short form Value Required? Description

oldservername

A valid server name, such as "OldServer"

Yes

The name of the old server in the configuration database.

newservername

A valid server name such as "NewServer"

Yes

The name of the new server that will reside in the configuration database.

Remarks

The renameserver operation cannot be used to rename query and index servers.

If the renameserver operation is used to make a name change on a computer that runs SQL Server and hosts the configuration database, then the renameserver operation must be run on every front-end Web server and application server in the farm. However, if the renameserver operation is used to make a name change on a computer that runs SQL Server and hosts databases other than the configuration database, you only need to run the renameserver operation on one server in the farm.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft