Steven Westwell’s blog

My outlook on a few things of interest to me, and hopefully you.

Posts Tagged ‘keyboard’

Another Japanese Keyboard update – Fix

Posted by Steven Westwell on February 20, 2008

Following up directly on the previous post, the following vbscript should add the required registry values for the japanese keyboard driver to be used by the Japanese IME:

Option Explicit
Dim ReturnValue
ReturnValue = FixJPKB()

Function FixJPKB()
DIM iRetValue
Dim WshShell

set WshShell = CreateObject("wscript.Shell")

WshShell.RegWrite "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\i8042prt\Parameters\LayerDriver JPN", "kbd106.dll", "REG_SZ"
WshShell.RegWrite "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\i8042prt\Parameters\OverrideKeyboardIdentifier", "PCAT_106KEY", "REG_SZ"
WshShell.RegWrite "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\i8042prt\Parameters\OverrideKeyboardSubtype", 2, "REG_DWORD"
WshShell.RegWrite "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\i8042prt\Parameters\OverrideKeyboardType", 7, "REG_DWORD"

Set WshShell = nothing

End Function


Since this looks like it may also affect non Japanese IME’s I will update following some tests in case handling of the Korean keyboards is required or if this affects alternate IME’s


Posted in Japan, vista | Tagged: , , , , , , , , , , | Leave a Comment »

USB Japanese Keyboard Driver issue (with Vista)

Posted by Steven Westwell on February 19, 2008

Following up on my previous post about selecting the correct driver for the Japanese IME, the following microsoft kb article shows how this issue can come about with USB keyboards, and how to edit registry values to select the right driver:

Posted in Japan, vista | Tagged: , , , , , , , | Leave a Comment »

Japanese Keyboard on Vista

Posted by Steven Westwell on February 6, 2008


so as part of our global deployment of Windows Vista, we found that the Japanese users of the Japanese IME had an issue with the keyboard layout being incorrect.  The hirigana, Katakana and romanji where correct for the most part, however the symbols “, @, (, ) and * etc were in the US locations, not as they should be on a Japanese keyboard.

Others in the UK will be familier with typing <shift> + 2 expecting ” and getting @, well this is the same thing fundamentally, just complicated with the IME layout not being something that can be switched by the users locale.


After digging around I managed to find a few excellent posts on this problem and showing the solution for Windows NT, 2000, XP etc… It would appear to be one of those consistent issues that has been with the OS for a long time.

It was enough to point me in the right direction and I thought it was only fair to post the Vista specific solution here.

The problem is the IME seems to get its keyboard layout directly from the keyboard driver, rather than the keyboard locale settings that typically control layouts.  In order to fix this the Japanese keyboard driver must be selected manually.

below are the step by step instructions for an english OS, I may attempt to translate into Japanese soon, or at least include screenshots from a Japanese client to show the dialogue boxes:

  1. Open the Device Manager
    1. Open the start menu
    2. Right click on computer
    3. Select manage (Entering PA account details when prompted)
    4. Select device manager
  2. Change the Keyboard Driver
    1. Open the keyboard tree
    2. Right click the keyboard
    3. Select “update driver software…”
    4. Select “browse my computer for driver software”
    5. Then select “let me pick from a list of device drivers on my computer”
    6. Uncheck the “show compatible hardware” checkbox
    7. Then choose the (Standard Keyboards) as Manufacturer and Japanese PS/2 Keyboard (106/109 Key) as Model
    8. Then select next
    9. The driver will then be installed, then click close

After the next reboot the default layour will be the Japanese layout, and the ” symbol will be in the correct place when using the Japanese IME.

Thanks to:

Cameron Beccario: /


Michael Eng:

Cameron’s blog was an interesting read, and also lead me to find a very cool and interesting to read about Japanese language school:



Posted in Japan, vista | Tagged: , , , , , , , , , , | Leave a Comment »