• To fix the value of @@SERVERNAME for renamed server use

    sp_dropserver <old_name>

    GO

    sp_addserver <new_name>, local

    GO

    I have used these comamnds to fix @@SERVERNAME. It requires a restart of the instance.

    Source http://msdn.microsoft.com/en-us/library/ms143799.aspx

    David Bird