How to prevent machine from renaming itself at start up
Recommend you try following in Terminal to make your windowlick static

sudo scutil –-set HostName new_hostname

sudo scutil –-set LocalHostName new_hostname

sudo scutil –-set ComputerName new_hostname