Open “System Preferences” using “Spotlight Search”

System Preferences in Spotlight Search

Select “Sharing”

System Preferences - Sharing

Change the Mac’s name

Change Mac name

Enjoy!,

G.