Renaming A Server

I was recently approached by the WINTEL to help rename a Windows 2003 Server that has Symantec Backup Exec 12.5. This backup software uses the Express Version of SQL Server 2005 to manage information about backups, restores, and schedules. Since I have not done this task in a while, I wanted to write down the steps for future requests.

The first task is to connect to the Express Version of SQL Server 2005 via my locally installed SQL Server Management Studio tool.

This can be accomplished by using the following steps from MSDN.

1 – Enable remote connections. Please see image below.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

2 – Allow TCP/IP protocol for connections (network/client). Please see images below.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

3 – Start the browser service. Please see image below.

 

 

 

 

 

 

 

 

 

4 – Configure the firewall to allow traffic

The second task is to identify the number of instances running on this server. This can be easily obtained by running the following script that reads the settings from the registry.

 

The third task is to drop the old server name and add the new server name so that traffic can be recieved by the SQL Server database. The sp_helpserver, sp_dropserver, and sp_addserver system stored procedures are used to accomplish this task.

 

 

Last but not least, SQL Server is not the only program depending upon the computer name. Use the registry editor to search for all occurences of the name. For instance, Backup Exec has a couple of registry keys that contain the name of the old server. Please see article on Symantec site.

Change only registry keys that you have researched and know will not break your server.

A backup of the registry and a rescue disk is always a good plan when making these type of changes. Making one change at a time allows you to pin point any errors more easily. In short, good luck renaming your server.

Related posts

Leave a Comment