Posted on 09-29-2015 11:31 AM
We are trying to track users who have Find My Mac enabled. I have an extension attribute that checks using
defaults read /Library/Preferences/com.apple.FindMyMac.plist FMMEnabled
This has been spotty as on a large number of the fleet this plist doesn't exist:
Any ideas as to why this wouldn't exist on these devices? They were all recently imaged using an identical image and most have identical hardware. The existence of the plist doesn't seem to correlate with an actual setting on the device - at least not that I can tell. Those without the file can have Find My Mac enabled or disabled.
Thanks in advance.
Posted on 01-22-2018 06:29 AM
bump
Posted on 01-22-2018 10:29 AM
This is what I am usingas an EA, works well.
fmmToken=$(/usr/sbin/nvram -x -p | /usr/bin/grep fmm-mobileme-token-FMM)
if [ -z "$fmmToken" ];
then
echo "<result>Disabled</result>"
else
echo "<result>Enabled</result>"
fi