15

There's some keyboard device that attempts to pair with my iMac about every 30 seconds. The reject button only removes it temporarily. Same with the disconnect. Discoverable is already off for the bluetooth.

The window is modal and breaks my workflow every few seconds and I can't put it on a separate screen since it closes and reopens every few seconds. I can't just turn my bluetooth off since I have a mouse connected. I seems like Apple built in a pretty powerful way to 'undefendably' sabotage a computer.

Is there a way I can permanently 'ban' a Bluetooth address?

5
  • Do you know what the device is? What happens when you just pair the device?
    – Ramhound
    Nov 13, 2012 at 19:37
  • nop, don't think it's actually in our office so I can't type in the keys to pair it
    – Xster
    Nov 13, 2012 at 19:42
  • I managed to find the keyboard that was causing this but I would like to know if there is a way to permanently reject a bluetooth request. Feb 11, 2013 at 16:01
  • Seems to be a really old issue across different OS X versions, with no proper fix yet. Showing modal dialogs repeatedly with no way to opt out is just stupid. (Edit: Perhaps Amyunimus has found a solution...)
    – Karan
    Feb 18, 2013 at 5:55
  • 2
    Bug submitted to apple. Feb 20, 2013 at 16:01

7 Answers 7

0

To answer your question: No, not without hacking blued.

1
  • 2
    This is no longer correct, at least for recent versions of Mac OSX. See ccpizza's answer. Apr 29, 2015 at 17:43
9

While the pairing request is still showing on your screen:

  1. Press and hold the Option key (or Alt), and then click the bluetooth icon in the top bar.
  2. In the submenu for the offending device apart from Disconnect, you will now see an additional option - Remove.
  3. Click Remove.

If you can physically access the keyboard, you can turn it off by long pressing the right-side button, if it is an Apple Wireless keyboard. See also https://support.apple.com/en-us/HT201178.

2
  • this worked for me...finally
    – Francesco
    Oct 18, 2014 at 23:15
  • 1
    This does not work for me, nor do I have a solution. I only mention this because this has been an issue for nearly a year now and the only way to make it stop is to turn off the keyboard. The fact that I can't click "remove" and make it stop is what is ridiculous about this entire thing. As an end-user, I'd expect to be able to tell my machine "ignore this device" and have it never ask me, but Apple doesn't think that a device ought not be paired with a machine by the looks of it. Amazingly obvious design flaw here. Jul 20, 2015 at 13:01
3

I found a way to work around this: (inspired by this question https://superuser.com/a/497193/10009)

Assumptions:

The offending keyboard previously was paired with this computer, therefore the computer 'remembers' the device.

Caveat:

This involves modifying system settings files so be careful.

Steps:

  1. Find the Bluetooth address of the offending device and write it down. (Shows up in the System Preferences -> Bluetooth window when the pairing request is happening)
  2. Turn off bluetooth (System Preferences -> Bluetooth)
  3. Back up your /Library/Preferences/com.apple.Bluetooth.plist , and ~/Library/Preferences/com.apple.Bluetooth.plist files. (You'll need sudo for the first one)

  4. Because the plist files are in binary format you'll need to convert them to xml: plutil -convert xml1 com.apple.Bluetooth.plist

  5. Edit the converted plist files in a text editor.

    1. Find the (lowercase) bluetooth address in the file. It should be in a <key></key> tag.
    2. Delete the <key>...</key> tag and the immediately following <dict>...</dict> key.
  6. Save the text file and convert it back to binary: fplutil -convert binary1 com.apple.Bluetooth.plist

  7. Repeat for both locations of the file.

  8. Restart Bluetooth
1
  • I completely removed all of my devices, deleted the plist file, rebooted, repaired permissions on my drive and the problem persists. This is idiotic behavior from a lousy operating system. It's impossible to accomplish any work with a pairing request happening every 30 seconds. I have tried @ccpizza suggestion, too. Still prompted to pair every 30 seconds. Solution: plug in a cabled mouse and turn off bluetooth. What a lovely machine this Crapple is. May 8, 2015 at 18:59
1

This helped me:

Go to System Preferences -> Bluetooth, unclick Discoverable.

The add your mouse as a favorite on the devices panel.

Finally - go to the Sharing Setup, make sure file transfer, file exchage and PDA sync services are off. (as long as you don't use any of those yourself.) and check the Require pairing box on all.

Note: This is from a while ago-- I've tried to update it for newer OS, but it may not be implementable in mountain lion.

2
  • OS X 10.9.1 does not have this option.
    – ViliusK
    Jan 28, 2014 at 18:36
  • FYI, the discoverability status can quickly be checked by holding down the Option (Alt) key and then clicking the Bluetooth icon in the top tray.
    – ccpizza
    Oct 22, 2014 at 8:09
1

Also you can just:

  • Reconnect that wireless keyboard again. You'll need to type those digits, which shows up on screen.
  • Choose Remove (not Disconnect!). Then you'll be informed, that you'll have to pair those devices again if you'll want to use it.

That's the way how to disconnect wireless keyboard permanently.

1
  • +1 since this is the only answer on this page which actually worked for me (I've tried them all). I'm running Mavericks 10.9.5 on an old iMac with an Apple USB keyboard, and the Apple Wireless Keyboard of another Mac spammed my iMac with pairing requests.
    – Guido
    Jan 14, 2018 at 16:21
0

Was enough to:

  • sudo plutil -convert xml1 /Library/Preferences/com.apple.Bluetooth.plist
  • Searched for the name of bluetooth device and removed both <key>...</key> and <dict>...</dict> XML elements.
  • sudo plutil -convert binary1 /Library/Preferences/com.apple.Bluetooth.plist
1
  • It's easier to just delete the file, i.e. sudo rm /Library/Preferences/com.apple.Bluetooth.plist
    – ccpizza
    Oct 22, 2014 at 8:06
0

Just had the same problem. One of the office keyboard kept asking to pair with one of the iMac which has never been paired with that keyboard. It had a very low batteries. Once the batteries has been replaced problem stopped.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .