Hey all! We have a requirement where we need to disable bluetooth on our Macs. Couldn’t find any setting to toggle on/off bluetooth in Mac restrictions like in iOS policies. How do you guys manage bluetooth on your devices?
Hey all! We have a requirement where we need to disable bluetooth on our Macs. Couldn’t find any setting to toggle on/off bluetooth in Mac restrictions like in iOS policies. How do you guys manage bluetooth on your devices?
Hey there, @gael! Thanks for reaching out in Hexnode Connect.
Apple’s MDM protocol does not provide payload settings to toggle Bluetooth on macOS devices. However, you can execute custom scripts from the Hexnode portal to achieve your requirement.
You can disable the Bluetooth pane from System Preferences using the script below:
1 2 |
#!/bin/sh defaults write "/Library/Preferences/com.apple.systempreferences" HiddenPreferencePanes -array "com.apple.preferences.Bluetooth" |
We recommend manually validating the script execution in a test environment before executing the action in bulk. Hexnode will not be held responsible for any damage, loss or unintended behavior on the device following the execution of the script.
Hope this helps. Do reach out if you’ve further queries.
Cheers!
Chris Wheeler
Hexnode UEM
Don't have an account? Sign up