theshadow82

Q: My iMac's computer name keeps changing automatically after Yosemite upgrade

This started happening once I upgraded my iMac to Yosemite. It will add numbers to the name of my iMac.

 

Example: It starts off as say "My iMac"

 

Then a half day later, it changes to "My iMac (2)"

 

Then the next day it will be "My iMac (3)"

 

And if I open the Finder window, it will show "My iMac" and "My iMac (2)" under "Shared" but if you click on them, nothing happens.

 

When I go to System Preferences > Sharing the computer name will have the number there "My iMac (3)" and say it can be found as MyiMac-3.local

 

If I change it back to just "My iMac", the number process starts all over again. I even tried naming the iMac something it was never named before and the same process occurs with the adding of the numbers.

 

Anyone know how I can fix this?

iMac (21.5-inch, Late 2012), OS X Yosemite (10.10)

Posted on Oct 26, 2014 3:45 PM

Close

Q: My iMac's computer name keeps changing automatically after Yosemite upgrade

  • All replies
  • Helpful answers

Previous Page 2 of 7 last Next
  • by BzLtYr,

    BzLtYr BzLtYr Oct 30, 2014 5:19 AM in response to farquaad
    Level 1 (5 points)
    Oct 30, 2014 5:19 AM in response to farquaad

    It's doing it again...as soon as I switched networks.

  • by dancwilliams,

    dancwilliams dancwilliams Oct 30, 2014 5:33 AM in response to BzLtYr
    Level 1 (0 points)
    Oct 30, 2014 5:33 AM in response to BzLtYr

    Yup...changing again here too...oh well.

     

    So, on to the next one!  At least I reclaimed a ton of disk space!

  • by pr0xyfl00d3r,

    pr0xyfl00d3r pr0xyfl00d3r Oct 30, 2014 5:36 AM in response to theshadow82
    Level 1 (0 points)
    Oct 30, 2014 5:36 AM in response to theshadow82

    Mine is doing this 2, we had any updates on this?

  • by BzLtYr,

    BzLtYr BzLtYr Oct 30, 2014 5:41 AM in response to BzLtYr
    Level 1 (5 points)
    Oct 30, 2014 5:41 AM in response to BzLtYr

    I should have mentioned, I'm switching from wifi to wireless.

  • by farquaad,

    farquaad farquaad Oct 30, 2014 6:44 AM in response to dancwilliams
    Level 1 (9 points)
    Oct 30, 2014 6:44 AM in response to dancwilliams

    Good that at least you reclaimed disk space!

     

    It's easy to forget these system health housekeeping should be performed occasionally (there are apps to do that).

     

    So far, the rename is holding on both my machines. Have not switched wifi networks. I will be this afternoon. We'll see then!

     

    In any case, the behaviour is an obvious bug Apple must address permanently, so hopefully everyone is submitting feedback.

  • by dk5jmiller,

    dk5jmiller dk5jmiller Oct 30, 2014 7:28 AM in response to theshadow82
    Level 1 (0 points)
    Oct 30, 2014 7:28 AM in response to theshadow82

    I'm having this same issue as well.  Sure would like to get this resolved because it's very annoying!

  • by Javababe,

    Javababe Javababe Oct 30, 2014 7:32 PM in response to theshadow82
    Level 1 (15 points)
    Oct 30, 2014 7:32 PM in response to theshadow82

    Same problem here. I upgraded to Yosemite today, I have a (3) after my MacBooks name...it was (2) an hour ago. Example "My Mac (3)".

    I have a  2012 MacBook Air. No matter what I do I can't get rid of the number.

  • by farquaad,

    farquaad farquaad Oct 31, 2014 11:41 AM in response to dancwilliams
    Level 1 (9 points)
    Oct 31, 2014 11:41 AM in response to dancwilliams

    You can try:

     

    In Preferences > Energy Saver > deselect Wake for network access.

     

    The fact remains this issue was not present in Mavericks for the most part (I never experienced it on the many Macs I manage), so it would seem a pesky Yosemite bug.

  • by mkstevo,

    mkstevo mkstevo Nov 1, 2014 3:52 AM in response to theshadow82
    Level 1 (5 points)
    Nov 1, 2014 3:52 AM in response to theshadow82

    I have had this problem too. Renaming the computer 'cured' the original trouble I was having of using iSyncr to sync my music with my 'phone.

     

    To prevent it from renaming itself again, I turned off the wake for LAN option in System Preferences / Sharing.

     

    Job done I thought.

     

    I then found that my Time Machine backups were all mixed up and inaccessible. If I renamed the computer to 'iMac (2)' and entered Time Machine some backups were present, others were not. If I named it the original 'iMac' other backup versions became visible, some not.

     

    At this point, I wiped my Time Machine and started it again.

     

    Job done I thought.

     

    Next problem was that I was looking for an email that I knew I'd had, but couldn't remember when. I tried searching for it in Mail but no results were returned. I tried shorter and shorter search terms until I eventually realised Mail wasn't searching at all. I tried rebuilding the Mail indexes and various other things but still no search results.

     

    I tried a Spotlight search. Nothing. No results for anything typed. I then tried all manner of things to turn off Spotlight (one of which was dropping the drive into the Privacy window) and after a number of fruitless attempts resulting in various error messages, I eventually found this: http://www.sciencemedianetwork.org/Blog/20130321_Spotlight_fix which after a few attempts and a restart did start the Spotlight indexing again and finally, searching in Mail returned the email I was looking for.

     

    Job done?

     

    I hope so.

  • by bwadma,

    bwadma bwadma Nov 1, 2014 4:13 AM in response to mkstevo
    Level 1 (140 points)
    Apple TV
    Nov 1, 2014 4:13 AM in response to mkstevo

    I saw the same problem on my MPB after installing Yosemite - the Computer name changed 'magically' to "(2)" or "(3)" and so on.

     

    In Yosemite, there is a new option in the Sharing panel:

    File Sharing ON => Options

    => Share files an folders using SMB **or**

    => Share files an folders using AFP

    (SMB means Samba, AFP means Apple Filesharing Protocol)

     

    In my case, I got rid of the Computer name change problem by disabling the SMB option.

     

    I think that automatic mounting of the Computer (the HD share) from other Macs/PCs in a home network triggers the Computer name change problem.

  • by farquaad,

    farquaad farquaad Nov 1, 2014 4:23 AM in response to bwadma
    Level 1 (9 points)
    Nov 1, 2014 4:23 AM in response to bwadma

    Could be a contributing factor, or coincidental.

     

    Those sharing options are disabled by default (all sharing is off), and I have never shared any of my Mac drives.

     

    The auto renaming was an issue on my systems with Yosemite.

     

    However, since I followed the steps I posted earlier (repairing permissions), including disabling Wake for network access, there have been no instances of auto renaming, for a few days now.

     

    Long may it stick!

  • by Andy Epprecht,

    Andy Epprecht Andy Epprecht Nov 1, 2014 4:35 AM in response to dk5jmiller
    Level 1 (54 points)
    Photos for Mac
    Nov 1, 2014 4:35 AM in response to dk5jmiller

    Still the same here happening on all of my 3 Macs on Yosemite (never before under Mavericks, and before.).

     

    None of the proposed tricks helped. Resetting the host name in preferences > sharing helps for a while but suddenly after some hours or days hostname iterations appear again (2), (3), etc. on all machines in my LAN.

     

    Not using 'back to my mac' on any machine ever.

     

    It really drives me nuts here!

  • by markisttoll,

    markisttoll markisttoll Nov 2, 2014 8:10 AM in response to theshadow82
    Level 1 (0 points)
    Nov 2, 2014 8:10 AM in response to theshadow82

    To disable this behavior on Yosemite you can do it by running following command and reboot:

     

    sudo /usr/libexec/PlistBuddy -c "Add :ProgramArguments: string --no-namechange" /System/Library/LaunchDaemons/com.apple.discoveryd.plist
    
    

     

    As seen on: http://ispire.me/fix-yosemite-rtc-alarm-wakeup-issue/

  • by amolavi,

    amolavi amolavi Nov 2, 2014 12:46 PM in response to farquaad
    Level 1 (0 points)
    Nov 2, 2014 12:46 PM in response to farquaad

    fixed mine and all the problems i was having with Sonos!

  • by tbrobison,

    tbrobison tbrobison Nov 5, 2014 1:24 PM in response to farquaad
    Level 1 (5 points)
    Nov 5, 2014 1:24 PM in response to farquaad

    I followed your steps, with the addition of unchecking, "Wake For Network Access"  under Energy Save (Preferences).  It has been over 24 hours since I did this, and so far, so good!

Previous Page 2 of 7 last Next