Disabling AirDrop via MCX

jarednichols
Honored Contributor

Hi-

Just figured this one out, thought someone else may need/want it. This is on an 8.22 JSS.

In the JSS web interface click on the Management tab.
Click on Managed Preferences
Click the Create Managed Preference button.
Select Create Manually and then click Continue.
Set your display name to "Disable AirDrop" or something similar. Add a description if you wish (though the name is fairly self explanatory).
Click on the Definition tab.
Set User Level and User Managed Level both to "Not Allowed" and set Computer Level to "Allowed"
For the Domain enter "com.apple.NetworkBrowser"
For the Key enter "DisableAirDrop"
Set the Key Type to "boolean"
Click back on the General tab
Set Apply Setting To to "System Level Enforced"
Set the Value radio to "True"
(optional) Click on the Profiles tab and assign the managed preference to an existing profile.
Click Save

Machines currently up will need a reboot to reflect the new MCX. In my testing, a simple "sudo jamf mcx" did not kick this pref into action. Because of this, I initially thought it didn't work.

j
---
Jared F. Nichols
Desktop Engineer, Client Services
Information Services Department
MIT Lincoln Laboratory
244 Wood Street
Lexington, Massachusetts 02420
781.981.5436

2 REPLIES 2

jszaszvari
New Contributor III

Thanks Jared,

Going to give this a go now!

John

jszaszvari
New Contributor III

This worked perfect

Thanks so much!