digitalbirdo / BT-LinkkeySync

Scripts to synchronize bluetooth link keys from mac OSX to windows
MIT License
112 stars 32 forks source link

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:

Tested Devices:

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