Find My Mac

lwindram
Contributor

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:

ba0c4ad62e1f441387d4e5ec642d0fe0

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.

2 REPLIES 2

listec
New Contributor III

bump

jconte
Contributor II

This is what I am usingas an EA, works well.

!/bin/sh

Will reply Enabled if Find My Mac is set for this Mac

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