Skip to main content
Question

How to disable Bluetooth

  • February 6, 2019
  • 3 replies
  • 21 views

Cayde-6
Forum|alt.badge.img+22

So we've disabled users from clicking on Bluetooth in System preferences but users can still turn on bluetooth from the Mouse System Preference screen.

How do people using Jamf manage to disable bluetooth?

3 replies

Hugonaut
Forum|alt.badge.img+15
  • Esteemed Contributor
  • February 6, 2019

You could always deploy a launchdaemon that runs every minute and calls a script that wacks bluetooth off

I'm a big fan of deploying launchagents & daemons.

defaults write /Library/Preferences/com.apple.Bluetooth.plist ControllerPowerState 0

maybe wack the daemon entirely or unload the daemon as well at login?

launchctl unload /System/Library/LaunchDaemons/com.apple.blued.plist

Cayde-6
Forum|alt.badge.img+22
  • Author
  • Honored Contributor
  • February 6, 2019

@Hugonaut does that work with System Integrity Protection enabled?


Cayde-6
Forum|alt.badge.img+22
  • Author
  • Honored Contributor
  • February 6, 2019

Nevermind I followed your advise and now have a launch Daemon running every minute.

Works perfectly