How to disable Bluetooth

Cayde-6
Release Candidate Programs Tester

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 3

Hugonaut
Valued Contributor II

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
________________
Looking for a Jamf Managed Service Provider? Look no further than Rocketman
________________


Virtual MacAdmins Monthly Meetup - First Friday, Every Month

Cayde-6
Release Candidate Programs Tester

@Hugonaut does that work with System Integrity Protection enabled?

Cayde-6
Release Candidate Programs Tester

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

Works perfectly