slrdc

Q: Can't disable iCloud keychain on Yosemite

I'm running Yosemite on my MacBook Pro. I recently noticed that iCloud Keychain turned itself on although I don't want it on, so I tried to turn it off in the iCloud control panel, but the check box for the Keychain won't unselect. I then try to sign out of iCloud itself and get the message:

 

"Your iCloud account couldn't be removed at this time. Turn off all iCloud services and try again."

 

I'm able to turn off all the services except Keychain. :-(

 

Console shows error messages like the following:

 

2015-02-26 1:46:34.539 AM com.apple.preferences.icloud.remoteservice[328]:  SOSCCThisDeviceIsInCircle SOSCCThisDeviceIsInCircle!! 55

2015-02-26 1:46:34.540 AM com.apple.preferences.icloud.remoteservice[328]:  SOSCCThisDeviceIsInCircle SOSCCThisDeviceIsInCircle!! 56

2015-02-26 1:46:34.541 AM com.apple.preferences.icloud.remoteservice[328]: [AOSAccounts] : [___ZN22ServiceProviderManager6LogoutEPK10__CFStringPK14__CFDictionaryb_block_i nvoke]  :Service provider com.apple.Dataclass.KeychainSync disallows logout

2015-02-26 1:46:34.596 AM com.apple.preferences.icloud.remoteservice[328]: [AOSAccounts] : Failed to log out iCloud account - 1 sending kMMAccountLogoutFailedNotification with info (null)

 

Can anyone please help with this? Thanks in advance.

MacBook Pro (Retina, 15-inch, Late 2013), OS X Yosemite (10.10.2)

Posted on Feb 25, 2015 10:52 PM

Close

Q: Can't disable iCloud keychain on Yosemite

  • All replies
  • Helpful answers

Page 1 of 3 last Next
  • by fpDoug,Helpful

    fpDoug fpDoug Mar 3, 2015 7:45 PM in response to slrdc
    Level 1 (80 points)
    Mar 3, 2015 7:45 PM in response to slrdc

    I'm having a similar problem, also on 10.10.2.  When I try to unselect "Keychain" in the iCloud preferences pane, I get a drop-down window that prompts me to choose between "Delete [passwords] from Mac", "Cancel", or "Keep on This Mac", but no matter which option I select, the "Keychain" box just gets rechecked right away.  I don't need iCloud Keychain (or any of the other "continuity"/sync/spyware features) because I only have one device.  So how do I turn it off?

  • by rGraphix82,

    rGraphix82 rGraphix82 Mar 10, 2015 6:24 PM in response to slrdc
    Level 1 (0 points)
    Mar 10, 2015 6:24 PM in response to slrdc

    Similar issue. Although when I try to uncheck the keychain preference in the iCloud pane it doesn't give me options to delete or cancel. It just re-checks the box immediately after unchecking it and generates the same four logs in Console with different numbers at the end that increase in sequential order each time I uncheck the option.

     

    Logs:

    3/10/15 8:19:40.871 PM com.apple.preferences.icloud.remoteservice[390]:  SOSCCThisDeviceIsInCircle SOSCCThisDeviceIsInCircle!! 30

    3/10/15 8:19:40.885 PM com.apple.preferences.icloud.remoteservice[390]:  SOSCCThisDeviceIsInCircle SOSCCThisDeviceIsInCircle!! 31

    3/10/15 8:19:40.885 PM com.apple.preferences.icloud.remoteservice[390]:  SOSCCThisDeviceIsInCircle SOSCCThisDeviceIsInCircle!! 32

    3/10/15 8:19:40.886 PM com.apple.preferences.icloud.remoteservice[390]:  SOSCCThisDeviceIsInCircle SOSCCThisDeviceIsInCircle!! 33

     

    MID 2009, MBP 17" 2.8GHz Core 2 Duo | OSX 10.10.2

  • by Brisem,

    Brisem Brisem Mar 11, 2015 2:38 PM in response to fpDoug
    Level 1 (0 points)
    Mar 11, 2015 2:38 PM in response to fpDoug

    +1

    I'm also on 10.10.2 and having exactly the same issue. I want to login to iCloud with a different AppleID, and of course, I can't do it if I can't first logout of iCloud. It all seems to be about the keychain. I uncheck it. I'm asked the same questions, and no matter what I do, it rechecks itself.

  • by ireqai,

    ireqai ireqai Mar 12, 2015 8:30 AM in response to slrdc
    Level 1 (0 points)
    Mar 12, 2015 8:30 AM in response to slrdc

    Hello, I found a solution, close iCloud on all devices, and restore user permissions.
    if you start secion as another user is not the problem.
    I used Onyx Version 2.9.5.
    I hope to see helped.

  • by asquare2,

    asquare2 asquare2 Mar 12, 2015 9:20 AM in response to slrdc
    Level 1 (0 points)
    Mar 12, 2015 9:20 AM in response to slrdc

    I deleted the following files and restarted the Mac. This reset the iCloud preference was reset to its default state (not signed in to anything).

    • ~/Library/Preferences/com.apple.icloud.fmfd.plist
    • ~/Library/Preferences/com.apple.ids.service.com.apple.private.alloy.icloudpairin g.plist
    • ~/Library/Preferences/MobileMeAccounts.plist

    You may also want to look in Keychain Access if you want to delete previously entered iCloud info/passwords.


    Edit: I clicked on "@ Internet Accounts" and the iCloud account came back. Still cannot uncheck the Keychain box.

  • by Brisem,

    Brisem Brisem Mar 12, 2015 9:46 AM in response to ireqai
    Level 1 (0 points)
    Mar 12, 2015 9:46 AM in response to ireqai

    ireqai, can you be more specific?

    Exactly how did you close iCloud on all devices?

    How did you restore user permissions?

    How did you use Onyx?

  • by asquare2,

    asquare2 asquare2 Mar 12, 2015 9:50 AM in response to asquare2
    Level 1 (0 points)
    Mar 12, 2015 9:50 AM in response to asquare2

    Update: I deleted about 20 preference files and any items in Keychain Access which contained my Apple Id (use the search box).

    ~/Library/IdentityServices

    ~/Library/SyncedPreferences

    grep -r 'your.apple.id' ~/Library/Preferences

    (delete anything that looks to be Apple related)

     

    I then restarted, went to Internet Accounts and was finally able to delete the iCloud item. Yeay!

  • by asquare2,

    asquare2 asquare2 Mar 12, 2015 10:28 AM in response to asquare2
    Level 1 (0 points)
    Mar 12, 2015 10:28 AM in response to asquare2

    Here is the full of files I deleted from ~/Library. This is a bit of a hatchet job and may screw up any other internet accounts your are signed into. In my case I just wanted all personal iCloud info off my work Mac. (Sorry, I cannot edit my previous post for some reason).

     

    ~/Library/Preferences:

    MobileMeAccounts.plist

    com.apple.accountsd.plist

    com.apple.bird.plist

    com.apple.bookstoreagent.plist

    com.apple.commerce.knownclients.plist

    com.apple.commerce.plist

    com.apple.coreservices.appleidauthenticationinfo.REDACTED-REDACTED-REDACTED.plis t

    com.apple.facetime.bag.plist

    com.apple.iChat.Jabber.REDACTED-REDACTED-REDACTED.plist

    com.apple.iChat.SubNet.REDACTED-REDACTED-REDACTED.plist

    com.apple.iTunes.plist

    com.apple.icloud.fmfd.plist

    com.apple.ids.service.com.apple.ess.plist

    com.apple.ids.service.com.apple.madrid.plist

    com.apple.ids.service.com.apple.private.ac.plist

    com.apple.ids.service.com.apple.private.alloy.callhistorysync.plist

    com.apple.ids.service.com.apple.private.alloy.continuity.activity.plist

    com.apple.ids.service.com.apple.private.alloy.continuity.activity.public.plist

    com.apple.ids.service.com.apple.private.alloy.continuity.auth.plist

    com.apple.ids.service.com.apple.private.alloy.continuity.encryption.plist

    com.apple.ids.service.com.apple.private.alloy.continuity.tethering.plist

    com.apple.ids.service.com.apple.private.alloy.icloudpairing.plist

    com.apple.ids.service.com.apple.private.alloy.idsremoteurlconnection.plist

    com.apple.ids.service.com.apple.private.alloy.maps.plist

    com.apple.ids.service.com.apple.private.alloy.multiplex1.plist

    com.apple.ids.service.com.apple.private.alloy.phonecontinuity.plist

    com.apple.ids.service.com.apple.private.alloy.screensharing.plist

    com.apple.ids.service.com.apple.private.alloy.sms.plist

    com.apple.imservice.SMS.REDACTED-REDACTED-REDACTED.plist

    com.apple.imservice.ids.FaceTime.REDACTED-REDACTED-REDACTED.plist

    com.apple.imservice.ids.iMessage.REDACTED-REDACTED-REDACTED.plist

    com.apple.keychainaccess.plist

    com.apple.xpc.activity2.plist

    icbaccountsd.plist

     

    ~/Library/IdentityServices:

    ids.db

    ids.db-shm

    ids.db-wal

     

    ~/Library/SyncedPreferences:

    com.apple.Maps-com.apple.MapsSupport.bookmarks.plist

    com.apple.Maps-com.apple.MapsSupport.history.plist

    com.apple.Safari-com.apple.Safari.UserRequests.plist

    com.apple.Safari.plist

    com.apple.SafariServices.plist

    com.apple.cmfsyncagent.plist

    com.apple.finder.plist

    com.apple.sbd.plist

    com.apple.security.cloudkeychainproxy3.plist

    com.apple.syncedpreferences.plist

  • by ModeConfusion,

    ModeConfusion ModeConfusion Mar 12, 2015 10:57 PM in response to slrdc
    Level 1 (4 points)
    Mar 12, 2015 10:57 PM in response to slrdc

    Same issue in logs [kMMAccountLogoutFailedNotification with info (null)] with everything disabled from preferences panel except keychain.

     

    Closed any running apps that might be accessing the keychain

    Removed ~/Library/Application Support/iCloud/Accounts/*

     

    Removed com.apple.security.KCN.plist  & com.apple.security.cloudkeychainproxy3.keysToRegister from ~/Library/Preferences/

     

    Restarted, accepted login to iCloud prompt, went into iCloud preferences.

    Was then able to un-tick and sign out completely.

  • by fpDoug,

    fpDoug fpDoug Mar 15, 2015 10:25 AM in response to ModeConfusion
    Level 1 (80 points)
    Mar 15, 2015 10:25 AM in response to ModeConfusion

    ModeConfusion wrote:

     

    Same issue in logs [kMMAccountLogoutFailedNotification with info (null)] with everything disabled from preferences panel except keychain.

     

    Closed any running apps that might be accessing the keychain

    Removed ~/Library/Application Support/iCloud/Accounts/*

     

    Removed com.apple.security.KCN.plist  & com.apple.security.cloudkeychainproxy3.keysToRegister from ~/Library/Preferences/

     

    Restarted, accepted login to iCloud prompt, went into iCloud preferences.

    Was then able to un-tick and sign out completely.

     

    Thank you, this procedure worked for me and seems to have left everything else intact.

  • by tf245yay,

    tf245yay tf245yay Mar 19, 2015 2:23 PM in response to fpDoug
    Level 1 (35 points)
    Mar 19, 2015 2:23 PM in response to fpDoug

    It temporarily worked and somehow the keychain turned itself back on again. This is what I have in my Console:

     

    SOSCCThisDeviceIsInCircle SOSCCThisDeviceIsInCircle!! 7

     

    SOSCCThisDeviceIsInCircle SOSCCThisDeviceIsInCircle!! 8

     

    [AOSUI] : __48-[MMKeychainService _handleSecureBackupInvalid:]_block_invoke called but secure backup is still valid: TR: N RI: N

     

    *** -[NSLock unlock]: lock (<NSLock: 0x6000002c32c0> '(null)') unlocked from thread which did not lock it

     

    *** Break on _NSLockError() to debug.

  • by cmp101,

    cmp101 cmp101 Apr 7, 2015 2:14 AM in response to tf245yay
    Level 1 (0 points)
    Apr 7, 2015 2:14 AM in response to tf245yay

    OMG I'm about to throw out my MBP.  I turned on iCloud Keychain and it has completely screwed up my systems.  Not only can I not turn it off, even if I reset it on my phone it keeps coming back as soon as I launch Mail.  I removed my Mail Accounts, yet all these old accounts pop back up after I reboot.  How the heck do you completely delete the iCloud keychain and all related files?  Where is it?

  • by hippotrouble,Solvedanswer

    hippotrouble hippotrouble Apr 8, 2015 4:32 PM in response to cmp101
    Level 1 (10 points)
    Apr 8, 2015 4:32 PM in response to cmp101

    Been having trouble with this and came across this thread.  I tried deleting a bunch of aforementioned files, particularly:

    ~/Library/Application Support/iCloud

    ~/Library/Preferences/com.apple.icloud.fmfd.plist

    ~/Library/Preferences/com.apple.ids.service.* (theres a bunch)

    ~/Library/Preferences/com.apple.security.* (theres a few...not sure if this broke anything yet)

     

    Then restarted, and the keychain stayed alive and I couldn't sign out.  What finally did it was deleting:

    ~/Library/Keychains/[seemingly random alphanumeric folder] which had accountStatus.plist and some stuff like keychain.db and other files

     

    Deleting that folder then restarting finally got OS X to say the local keychain was reset and I was able to sign out of iCloud.  Not sure if the rest is necessary but deleting that folder seemed to be the key for me, presumably that's the local version of the iCloud keychain that shows up in Keychain Access.

  • by CipherSwarm,

    CipherSwarm CipherSwarm Apr 15, 2015 11:10 AM in response to fpDoug
    Level 1 (0 points)
    Apr 15, 2015 11:10 AM in response to fpDoug

    fpDoug wrote:

     

    ModeConfusion wrote:

     

    Same issue in logs [kMMAccountLogoutFailedNotification with info (null)] with everything disabled from preferences panel except keychain.

     

    Closed any running apps that might be accessing the keychain

    Removed ~/Library/Application Support/iCloud/Accounts/*

     

    Removed com.apple.security.KCN.plist  & com.apple.security.cloudkeychainproxy3.keysToRegister from ~/Library/Preferences/

     

    Restarted, accepted login to iCloud prompt, went into iCloud preferences.

    Was then able to un-tick and sign out completely.

     

    Thank you, this procedure worked for me and seems to have left everything else intact.

     

    To share another successful data point: I tried what's described above, and it didn't work for me. I then signed out of iCloud Keychain on my iPhone (per http://apple.stackexchange.com/questions/179062/unable-to-sign-out-of-icloud-on- osx-yosemite-or-disable-keychain) and the Mac's checkbox turned off. I'm rebooting now to see if it sticks.

Page 1 of 3 last Next