Is it possible to completely disable iCloud all-together? I know we can disable elements of iCloud in a Configuration Profile, but if we wanted to force-sign-out users from iCloud, then prevent a user from logging into iCloud ever again, can we do this?
Solved
Completely Disable iCloud?
Best answer by steviethetv
I did a bit of googling and testing and I found a solution on the interwebs. Running the script below will remove the MobileMeAccounts.plist file, which in turn removes the iCloud account from the Mac. Doing that in tandem with disabling iCloud in the system preferences seems to be the most foolproof way to prevent iCloud access. A caveat though is that Find My Mac is still enabled on icloud.com and a user can still remotely lock and wipe a device that they may or may not have access to after exiting a company
#!/bin/bash
# Log out all users from iCloud
ls /Users/ | while read USERS ;
do
if [ -d /Users/$USERS/Library/Preferences/ ];
then
rm /Users/$USERS/Library/Preferences/MobileMeAccounts.plist
fi
done
killall cfprefsdEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.

