Posted on 08-03-2017 03:22 AM
Hi All
Does anyone know how to actually disable the Airdrop service on OSX Sierra ( I've tried the command "defaults write com.apple.NetworkBrowser DisableAirDrop -bool YES" ) dont the Mac's are still broadcasting via Airdrop
I've restricted AirDrop using a configuration profile - But this only removes the AirDrop from Finder and not actually disables the service
Any advice would be greatly appreciated
Posted on 08-03-2017 08:47 AM
Enable AirDrop:
defaults write com.apple.sharingd DiscoverableMode "Everyone"
or
defaults write com.apple.sharingd DiscoverableMode "Contacts Only"
Disable AirDrop:
defaults write com.apple.sharingd DiscoverableMode "Off"
Posted on 12-21-2022 10:15 PM
can you clarify how I can add the below within jamf pro? is this within the configuration profile or is this a script? any help would be helpful!
defaults write com.apple.sharingd DiscoverableMode "Off"
Posted on 08-04-2017 02:43 AM
@anverhousseini Thanks very much, that worked
Posted on 10-01-2018 02:30 AM
Hi @anverhousseini.
does the configuration of discoverableMode in domain com.apple.sharingd you presented in your answer effect merely airdrop , or also other applications that uses sharingd ?
I wish to disable airdrop for security reasons for all the clients in my organizations, but I don't want side effect with other apps that might use this feature..
thanks !
Posted on 10-10-2018 09:30 PM
is there anyway to apply this on iOS devices?
Posted on 10-26-2018 12:13 PM
you can do it through a config profile for both iOS and macOS
Posted on 11-07-2018 02:51 PM
Does anyone know how to disable AirDrop from the command line in Mojave? It seems like the com.apple.sharingd plist no longer exists. Thanks
Posted on 03-13-2023 07:20 PM
How can one disable AirDrop in Mojave via the command line? It appears that com.apple.sharingd no longer exists.
Posted on 04-07-2023 09:07 AM
To disable AirDrop in Mojave via the command line, follow these steps:
Open Terminal, located in the Utilities folder within the Applications folder.
Type the following command and press Enter:
Enter your administrator password when prompted.
This will stop the sharing of files via SMB, which includes AirDrop.
Note: Keep in mind that this will disable AirDrop for all users on the Mac. To enable it again, simply type the following command into the Terminal and press Enter: