Share via


Renameserver: Stsadm operation (Office SharePoint Server)

Applies To: Office SharePoint Server 2007

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.

 

Topic Last Modified: 2015-03-09

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 old name of the server listed on the Servers in Farm page of the SharePoint Central Administration Web site.

newservername

A valid server name such as "NewServer"

Yes

The new name of the server listed on the Servers in Farm page of the SharePoint Central Administration Web site.

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.