Skip to content

Latest commit

 

History

History
47 lines (38 loc) · 1.88 KB

README.md

File metadata and controls

47 lines (38 loc) · 1.88 KB

BT-LinkkeySync

Script to synchronize bluetooth link keys from macOS to windows. It generates a registry file for windows on macOS, which can afterwards be imported with the tool regedit in windows.

Instructions

  1. Pair all your bluetooth devices to your Mac (e.g. keyboard, mouse, headphones)
  2. Open the Terminal and navigate to the folder where you have downloaded the fileBT-Linkkeysync.py
  3. Mark the script as executable with sudo chmod +x BT-Linkkeysync.py
  4. Run the script with sudo ./BT-Linkkeysync.py(you will be asked for your password)
  5. Store the generated file btkeys.reg file to a location accessible by windows.
  6. Download psexec and store it to C:/Windows/System32/
  7. Run the command: psexec -s -i regedit
  8. Import the file btkeys.reg
  9. No need to reboot
  10. Use your keyboard on macOS and Windows

Information

Test Environment:

  • OSx86 Hackintosh with Asus BT-400 (USB-Bluetooth Adapter)
  • macOS Sierra 10.12.1
  • Windows 8.1 Prof
  • Python 2.7

Tested Devices:

  • Apple Magic Trackpad
  • Apple Magic Keyboard
  • Apple Magic Mouse
  • LogiLink ID0032 Bluetooth Laser Mouse

Limitations

BT 4.0 LE/Smart Devices (e.g. Logitech MX Master) do not work yet. If you know how to get it working feel free to contribute :)

TODO's

Try the other way round (Pair on Windows and import in macOS) maybe get Bluetooth 4.0 LE Working

Credits

Related Blog Post on InsanelyMac of camoguy

Links