Enabling Bluetooth via terminal?

Poseiden951
Contributor

Hello JAMF Nation,

I accidentally disabled bluetooth on my iMac through the JSS' 'Managed Preference Profiles' (I forgot to exclude myself). The problem I face is that I can't get it working agin. I deleted the preference in JSS, restarted my computer, forced a policy checkin, removed the JSS framework through terminal and deleted my iMac from the JSS. What can I do to get my magic trackpad and wireless keyboard working again?

1 REPLY 1

Johnny_Kim
Contributor II

Try running these command. I had the same issue with Managed preferences not reverting to original once i remove the profiles. I stopped using them after I saw this behavior. Jamf support didn't have a solution to this when I called few weeks ago.

sudo defaults write /Library/Preferences/com.apple.Bluetooth ControllerPowerState -int 1

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

sudo launchctl load /System/Library/LaunchDaemons/com.apple.blued.plist