Skip to main content

It's come to my attention that the old ways of disabling AirDrop file sharing:



defaults write com.apple.NetworkBrowser DisableAirDrop -bool YES


no longer works. This now returns:



defaults[17195:855346] Could not write domain /Library/Preferences/com.apple.NetworkBrowser; exiting



According to Wikipedia (yeah, I know...but still...): "Starting with OS X 10.10 Yosemite, the old version of AirDrop for Mac is replaced with the one for iOS."



Sooo...I need a new method for disabling this to meet security requirements. Any one else cross this bridge yet?

Hi @chris.kemp the way we do it is disable airdrop via config profile under the restrictions payload.


Like @rderewianko said, you will have to use a configuration profile or MCX to do this. The plist should be stored in /Library/Managed Preferences/<username>/com.apple.NetworkBrowser.plist if you want to check the setting.


@rderewianko Im trying to disable in Sierra. Running JSS 9.98 I do not see any options in the restrictions payload. Can you provide more info?



Thanks,


Sure!




  1. Click Configuration Policies

  2. Click Plus to Create a new policy

  3. Name Your Policy

  4. Make sure the Level is "Computer Level"

  5. Click on Restrictions

  6. Click Configure

  7. Navigate to Media

  8. Uncheck "allow airdrop"

  9. Save and apply to a test scope


This still allow mac receive files, mac can be searched by other mac or iphone.



sorry , poor english..


Have you tried a reboot? (and confirmed the config profile exists)


@rderewianko thank you! looks like its time for me to get some new glasses.


So can anyone tell me what situations may exist that this wouldn't work. I'm running 10.11 and 10.12 on student devices. Configuration profile is correct and deployed and showing up on student devices. And yet I'm watching two kids send photos and song files back and forth to each other...


Reply