Renameserver: Stsadm operation (Windows SharePoint Services)
Updated: November 12, 2008
Applies To: Windows SharePoint Services 3.0
Topic Last Modified: 2008-11-07
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.
stsadm -o renameserver
|Parameter name and short form||Value||Required?||Description|
A valid server name, such as "OldServer"
The name of the old server in the configuration database.
A valid server name such as "NewServer"
The name of the new server that will reside in the configuration database.
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.