So there is a this thing called computer name that can be set either via Preferences -> Sharing, or sudo scutil --set ComputerName "My Name"

When I use

sudo scutil --set ComputerName "My Name"

and then use

sudo scutil --get ComputerName

I get something stupid like "My Name (2)". My question is: What is changing the name?

Because there is a question Computer name keeps changing OSX 10.10 (14A389) which asks how to overcome automatic change, and some hah are being suggested.

I don't want to hack things, I want to know what is changing the name, so then in perspective I can just kill it.

  • Are you running CrashPlan? I found that kept reverting my hostname. If not, check other 3rd party apps which might be keeping ahold of the name.
    – TJ Luoma
    Nov 2, 2014 at 21:09

1 Answer 1


UPDATE: Updating to 10.10.4 fixes this problem. In this point release discoveryd is replaced by the previously ousted mDNSResponder.

The originally supplied answer follows...

This is caused by an interaction with a daemon called discoveryd (that is present in Yosemite OS X 10.10.0 to 10.10.3) and the sleep proxies that are present within Apple TVs and Airports.

I outlined a workaround here; which is basically disabling "Wake for Network Access", which is also suggested in the post you linked to. You could also stop using your Apple TV/s and Apple Airport/s if you are in a position that allows you to do so.

9to5Mac reports that discoveryd has been dropped in OS X 10.10.4 beta and replaced with the previously ousted mDNSResponder daemon. So this problem should be fixed in OS X 10.10.4.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .