I used the script listed below to rename a 2005 SQL Server. However serverproperty('servername') still reports the old name. Has anyone else encountered this problem? If so what did you do to fix it. I have searched all of the forums I know to search and cannot find a solution. Thanks in advance for your feedback.
sp_dropserver 'currentname'
GO
sp_addserver 'NewServerName', Local
GO