Thursday 15 August 2013

Apple Keyboard and Windows 7 @ and " characters swapped over

Since putting bootcamp on Apple Macs we've always had a problem where the keys on the Keyboard in windows were never 'quite' right. Almost, but not. The most annoying one was the old @ key being swapped with " key.

Even after installing bootcamp drivers this problem persisted. It did turn quite interesting though:
I went into keyboard language setup and added "United Kingdom (Apple)", and deleted the bog standard "United Kingdom". After this, in some dialogue boxes the keyboard was behaving correctly (" and @ not swapped) and in everything else the @ and " keys were swapped around!

After trauling through google search results, I searched for Keyboard Regedit as I was sure something could be done here. After finding this article about changing keyboard regions I did the following steps:

  1. Opened Regedit
  2. went to  HKEY_CURRENT_USER\Keyboard Layout\Preload
  3. Took note of what was here
    1. there were two entries:
      1. 1.   a0000809
      2. 1.  00000809
  4. I next went to  HKEY_USERS\.DEFAULT\Keyboard Layout\Preload
  5. Took a note what was here
    1. there was only one entry
      1. 1.  00000809
  6. I thus deduced that the Apple keyboard was a0000809 and the normal (incorrect) keyboard was 00000809
  7. I deleted the HKEY_CURRENT_USER\Keyboard Layout\Preload\00000809 so there was only one entry here
  8. I edited the HKEY_USERS\.DEFAULT\Keyboard Layout\Preload entry so it read:
    1. 1.  a0000809
  9. I rebooted and it all worked!!!!!
So, the problem was that Windows was using the Normal UK language layout for the keyboard, and when I added the Apple UK language layout it only used it at times because there was two entries for my login. But when the computer initially loads up the Apple version wasn't there. Now time for a cuppa.

No comments:

Post a Comment