Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Windows may not use the correct keyboard layout when you connect a USB keyboard to the computer


View products that this article applies to.

Symptoms

When you connect a USB keyboard to a computer that is running Windows 7, Windows Vista or Windows XP, Windows may not use the correct keyboard layout.

For example, if you connect a USB Japanese 106/109 keyboard to the computer, or if you connect a USB ten-key keyboard to the computer, Windows may use the device as if it has an English 101/102 keyboard layout.

↑ Back to the top


Cause

This problem may occur if one of the following conditions is true:
  • The USB keyboard has a chip that has the "Plug and Play ID" defined as "USB English 101/102 keyboard."

    Some USB Japanese 106/109 keyboards have an English 101/102 keyboard chip that also shares the "Plug and Play ID." If you connect this kind of USB Japanese 106/109 keyboard to the computer, Windows identifies it as an English device. Therefore, Windows changes the system keyboard layout to English 101/102.
  • The "Plug and Play ID" for the USB keyboard is not defined in the Keyboard.inf file.

    If the "Plug and Play ID" for the USB keyboard is not defined in the Keyboard.inf file, Windows cannot identify the keyboard model. When you connect this kind of keyboard, Windows uses the default keyboard layout setting that was configured when you installed Windows. For example, this problem may occur if you connect a Japanese 106/109 keyboard or if you connect a USB ten-key keyboard.
  • Windows does not identify the keyboard correctly.

    Under certain conditions, the actual keyboard layout that you use becomes unsynchronized with the keyboard layout that is defined by Windows. You are more likely to experience this problem when you use a generic USB keyboard. This problem occurs because of how Windows maps the generic USB keyboard to the keyboard layout that you select.

↑ Back to the top


Resolution

To resolve this problem, configure the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\i8042prt\Parameters registry subkey to have the registry entries that appear in the following table.
Value nameValue typeValue data
LayerDriver JPNREG_SZkbd106.dll
OverrideKeyboardIdentifierREG_SZ
PCAT_106KEY
OverrideKeyboardSubtypeDWORD
2
OverrideKeyboardTypeDWORD
7
Note For more information about the corresponding registry entries for English USB keyboards and for Korean USB keyboards, see the "More Information" section.

To have us fix this problem for you, go to the “Fix it for me” section. If you’d rather fix this problem yourself, go to the “Let me fix it myself” section.

Fix it for me

To fix this problem automatically, click the Fix this problem link. Then click Runin the File Downloaddialog box, and follow the steps in this wizard.

Note: This Fix it currnetly supports Windows Vista only.




Note This wizard may be in English only; however, the automatic fix also works for other language versions of Windows.

Note If you are not on the computer that has the problem, you can save the automatic fix to a flash drive or to a CD, and then you can run it on the computer that has the problem.

Let me fix it

Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756 How to back up and restore the registry in Windows


To configure these registry entries yourself, follow these steps:
  1. Start the Registry Editor:

    For Windows 7 and Windows Vista:
    Click StartStart button , type regedit in the Start Search box, and then click regedit in the Programs list.

     User Account Control permission  If you are prompted for an administrator password or for confirmation, type the password, or click Continue.

    For Windows XP:
    Click Start, click Run, type regedit in the Open box, and then click OK
  2. Locate and then click the following registry subkey:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\i8042prt\Parameters
  3. Right-click LayerDriver JPN, and then click Modify.

    Note If the LayerDriver JPN registry entry does not exist, create it. To do this, right-click a blank area in the details pane, point to New, and then click String Value. Then, type LayerDriver JPN to name the new string value.
  4. In the Value data box, delete the existing value, type kbd106.dll, and then click OK.
  5. Right-click OverrideKeyboardIdentifier, and then click Modify.

    Note If the OverrideKeyboardIdentifier registry entry does not exist, create it. To do this, right-click a blank area in the details pane, point to New, and then click String Value. Then, type OverrideKeyboardIdentifier
    to name the new string value.
  6. In the Value data box, delete the existing value, type PCAT_106KEY, and then click OK.
  7. Right-click OverrideKeyboardSubtype, and then click Modify.

    Note If the OverrideKeyboardSubtype registry entry does not exist, create it. To do this, right-click a blank area in the details pane, point to New, and then click DWORD (32-bit) Value. Then, type OverrideKeyboardSubtype to name the new DWORD value.
  8. In the Value data box, delete the existing value, type 2, and then click OK.
  9. Right-click OverrideKeyboardType, and then click Modify.

    Note If the OverrideKeyboardType registry entry does not exist, create it. To do this, right-click a blank area in the details pane, point to New, and then click DWORD (32-bit) Value. Then, type OverrideKeyboardType to name the new DWORD value.
  10. In the Value data box, delete the existing value, type 7, and then click OK.
  11. Exit Registry Editor. Then, restart the computer.
Note If the keyboard does not work as expected after you restart the computer, you may have made a typographical error when you modified these registry settings. To work around this problem, use the on-screen keyboard to log on to the computer, and then verify the registry settings.

↑ Back to the top


More Information

English and Korean keyboard registry entries

English US 101/102-key keyboard

The following table illustrates the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\i8042prt\Parameters registry entries for an English US 101/102 key USB keyboard.
Value nameValue typeValue data
LayerDriver JPNREG_SZkbd101.dll
OverrideKeyboardIdentifierREG_SZ
PCAT_101KEY
OverrideKeyboardSubtypeDWORD
0
OverrideKeyboardTypeDWORD
7

Korean 101-key Type 1 USB keyboard

The following table illustrates the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\i8042prt\Parameters registry entries for a Korean 101-key Type 1 USB keyboard.
Value nameValue typeValue data
LayerDriver KORREG_SZkbd101a.dll
OverrideKeyboardIdentifierREG_SZ
PCAT_101AKEY
OverrideKeyboardSubtypeDWORD
3
OverrideKeyboardTypeDWORD
8

Korean 101-key Type 2 USB keyboard

The following table illustrates the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\i8042prt\Parameters registry entries for a Korean 101-key Type 2 USB keyboard.
Value nameValue typeValue data
LayerDriver KORREG_SZkbd101b.dll
OverrideKeyboardIdentifierREG_SZ
PCAT_101BKEY
OverrideKeyboardSubtypeDWORD
4
OverrideKeyboardTypeDWORD
8

Korean 101-key Type 3 USB keyboard

The following table illustrates the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\i8042prt\Parameters registry entries for a Korean 101-key Type 3 USB keyboard.
Value nameValue typeValue data
LayerDriver KORREG_SZkbd101c.dll
OverrideKeyboardIdentifierREG_SZ
PCAT_101CKEY
OverrideKeyboardSubtypeDWORD
5
OverrideKeyboardTypeDWORD
8

Korean 103/106-key USB keyboard

The following table illustrates the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\i8042prt\Parameters registry entries for a Korean 103/106-key USB keyboard.
Value nameValue typeValue data
LayerDriver KORREG_SZkbd103.dll
OverrideKeyboardIdentifierREG_SZ
PCAT_103KEY
OverrideKeyboardSubtypeDWORD
6
OverrideKeyboardTypeDWORD
8

Steps for a PS/2 keyboard

The "Resolution" section describes how to resolve this problem if you have a USB keyboard. If you experience a problem that resembles this problem, and if you have a PS/2 keyboard, you must use different steps to resolve the problem. To resolve this problem when you have a PS/2 keyboard, follow these steps:
  1. Start the Registry Editor:

    For Windows 7 and Windows Vista:
    Click StartStart button , type Device Manager in the Start Search box, and then click Device Manager in the Programs list.

    User Access Control permission If you are prompted for an administrator password or for confirmation, type your password, or click Continue.

    For Windows XP:

    Click Start, right-click My Computer and click Properties, click the Hardware tab and then click the Device Manager button.
  2. In Device Manager, expand Keyboards, and then double-click the keyboard device. By default, this is Standard 101/102-Key or Microsoft Natural PS/2 Keyboard.
  3. Click the Driver tab, and then click Update Driver.
  4. Click Browse my computer for driver software, and then click Let me pick from a list of device drivers on my computer.
  5. Click to clear the Show compatible hardware check box, and then click Japanese PS/2 keyboard (106/109 key).
  6. Click Next, click Yes if you receive an update driver warning message, and then follow the remaining steps to update the keyboard.
  7. Restart the computer.
Note: If you later connect an English 101/102 keyboard to the computer, modify these steps to configure Windows to use the Standard 101/102-Key or Microsoft Natural PS/2 Keyboard device.

↑ Back to the top


Keywords: kb, kbfixme, kbmsifixme, kbexpertisebeginner, kbhardware, kbentirenet, kbtshoot, kbprb, consumerwin7track, consumertargetwinfy12

↑ Back to the top

Article Info
Article ID : 927824
Revision : 3
Created on : 4/17/2018
Published on : 4/17/2018
Exists online : False
Views : 2534