Contribute
Register

Dual Booting Windows 7 + Mac (Mountain Lion) with both Magic Trackpad and Magic Mouse - Bluetooth Se

Joined
Jun 19, 2011
Messages
20
Motherboard
Gigabyte Z68MX-UD2H-B3 LGA1155 Intel Z68 DDR3 mATX (OSX 10.8 - Mountain Lion) U1c (UEFI BIOS)
CPU
Intel Core i5 2500k
Graphics
Sapphire HD 5670 512MB HyperMemory GDDR5 HDMI DVI DisplayPort PCI-E
Mac
Classic Mac
Mobile Phone
iOS
Setting up bluetooth with magic mouse and trackpad in both Windows and Mac Dual boot

Hi Folks!

I know this information is scattered through the web and forums, but I couldn't find one step-by-step guide to get both my Apple Magic Trackpad and Magic Mouse working from boot in my dual-boot Windows-Mountain Lion setup.

I could bond the mouse and trackpad in Windows, or Mac, reboot into the other OS, bond it there, reboot back and I'd have to debond and rebond over and over.

This might be ok if you use one operating system 99% of the time, or don't mind a cluttered desk with both windows and mac peripherals, but it was driving me nuts, I use Mac and Windows about the same each and frequently want to reboot from one into the other and then back again.

Anyhow. I finally sorted my woes, so thought better share the solution here in case others stumble across the same problem. Forgive the woffle! If there's anything that doesn't make sense, please let me know!


1. In Windows first download:

• The latest version of PTools from http://technet.microsoft.com/en-us/sysinternals/bb896649.aspx, this will allow you to edit your registry as 'System' later, allowing you to edit your bluetooth device link keys.
• Bootcamp drivers for both Magic Mouse and the Magic Trackpad (you can get these from http://www.trackpadmagic.com or follow the guide there for installation of Bootcamp 4.0 drivers using 7-zip 4.65 and BootCampESD.pkg
• Mouse and Trackpad utilities from: http://www.trackpadmagic.com

2. Install PTools (put files in System Drive:\Windows\System32)

3. Install the drivers for both the trackpad and the magic mouse

4. As you would ordinarily, connect both the trackpad and magic mouse via bluetooth (Add Device etc..)

5. Once installed, right-click and select 'Properties' for either one of the devices and go to the 'Bluetooth' tab, take a note of the 'Unique Identifier' near the bottom of the page under 'Troubleshooting Information' (This will be noted as a series of letters and numbers, eg. 1a:b2:c3:45:67:8d). You will need this later to identify your device in Regedit.

6. Restart your machine and boot into Mac.

7. Connect to either your magic trackpad or mouse as usual via blueooth

8. Open terminal and copy-paste the following command and hit enter:
Code:
sudo defaults read /private/var/root/Library/Preferences/blued.plist
EDIT: You can also go into System Information and find your devices under the Bluetooth section to see which device is which...much easier!

9. Take a note of the link key that this will then give you, this will be a series of letters and numbers formatted for OS. You will need to reverse these for use in Windows. Below is an example:
Code:
Mac: 12345ab6 78c91234 567891d2 3456789e
Windows: 9e785634 d2917856 3412c978 b65a3412
(note how the characters are in pairs, to convert the sequence from Mac to Windows you need to take the last pair of characters (9e), then the one preceeding that (78), then the one before that (56) etc etc until you have reversed the entire sequence)

10. Now connect to your other device and carry out the same procedure to get the link key for that device.

11. Reboot into Windows, neither of your devices will work yet, but fret not!

12. Open the command line tool as an Administrator, Start Menu -> type "cmd", right click on 'cmd.exe' and select 'Run as Administrator'.

13. Copy and paste the following:
Code:
psexec -s -i regedit
14. Hit enter, regedit will now open with full access to the keys you need.

15. Navigate to: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\BTHPORT\Parameters\Keys\Unique ID
(Unique ID of your bluetooth adapter not your device, you can find this by going to Device Manager, right-click on your bluetooth adapter, select 'Properties', go to the 'Advanced' tab and see your ID under 'Adddress:')

16. You will see a list of devices in the right-side pane, you can determine which is your trackpad or mouse by using the Unique Identifiers you noted earlier in step 5, right-click on the relevant device and now click 'Modify Binary Data...' and type in the appropriate link key for your device (the link key that you changed into the correct Windows format in step 9)

17. Do this for each device.

18. Exit regedit, click your magic mouse and your trackpad and hey-presto, they'll start working!

19. Reboot and they'll still be bonded and working for Mac!

Thanks to http://www.insanelymac.com/forum/topic/268837-dual-boot-bluetooth-pairing-solved/ and https://discussions.apple.com/thread/3113227?start=0&tstart=0 for all the above! :)
 
Joined
Sep 22, 2012
Messages
10
Motherboard
p8z68-v lx
CPU
2500k
Graphics
GTX 560 TI 448
Mac
Classic Mac
Mobile Phone
Hi,

I have tried this and it does not work for me.

After I complete all the steps, it says "A bluetooth device is trying to connect, allow this?" I click yes, and it says enter a code, I enter 0000 and it connects. But after booting into mac it doesn't work. I then reconnected in Mac OS X but then won't work in Windows?

My wireless bluetooth keyboard works in both, I would really appreciate it if anyone can help?
 
Joined
Aug 12, 2012
Messages
35
Motherboard
Gigabyte Z77X-UD5H
CPU
Intel Core i5-3570K
Graphics
Zotac GTX 560ti Amp!
Mac
MacBook
Classic Mac
Mobile Phone
This worked perfectly for me in Windows 8. Thanks!
 
Joined
Jul 9, 2012
Messages
12
Motherboard
Gigabyte GA-Z77X-UD5H
CPU
i7-3770K
Graphics
GTX 560 Ti
Mac
MacBook
Mobile Phone
iOS
Would this work with the apple wireless keyboard too?
 
Joined
Jul 11, 2012
Messages
28
Motherboard
ga-h77n-wifi
CPU
i5 3570k
Graphics
gtx650
Mac
iMac
Classic Mac
Mobile Phone
iOS
Absolutely superb post, i've been trying to figure if there was a way to do this for ages (weird how the keyboard just works in both os's without this though).

I've now done it and it works fine, no more second mouse for me, and my trackpad now works in both too. Ps is there really a need for the additional mouse and trackpad control panels as this works fine without them, and i noticed one of them only runs for 28 days without a licence.
 
Joined
Jan 16, 2011
Messages
20
Motherboard
Gibabyte GA-Z77X-UD3H
CPU
i5 3450
Graphics
GTX 660
Mobile Phone
iOS
hi and thank you but for me its not working or that I did not understand is it possible to post it on youtube thank you
 
Joined
Mar 23, 2011
Messages
41
Motherboard
Gigabyte Z390 Master
CPU
i9-9900K OC@5.2GHz
Graphics
Vega 56
Mac
MacBook Pro, Mac Pro
Mobile Phone
iOS
Thank you so much for that guide, The bluetooth cutting out every time I went from one OS to the other was doing my head in. You saved my mini macs life cos I was gonna chuck it out the window! Haha (as if I would).
Again thank you :)
 
Joined
Feb 2, 2011
Messages
2
Motherboard
Gigabyte P67A-UD3-B3
CPU
Core i7
Graphics
ATI Radeon HD 5870
Mac
Classic Mac
Mobile Phone
Setting up bluetooth with magic mouse and trackpad in both Windows and Mac Dual boot

8. Open terminal and copy-paste the following command and hit enter:
Code:
sudo defaults read /private/var/root/Library/Preferences/blued.plist
After executing the command in OSX Terminal I get this as LinkKey:

<00000000 00000000 00000000 00000000>

I'm quite sure that isn't right. Can anyone tell me how to get the right LinkKey for my trackpad?
 
Top