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.
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.
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:
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.
In the Value data box, delete the existing value, type kbd106.dll, and then click OK.
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.
In the Value data box, delete the existing value, type PCAT_106KEY, and then click OK.
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.
In the Value data box, delete the existing value, type 2, and then click OK.
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.
In the Value data box, delete the existing value, type 7, and then click OK.
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.
registry entries for a Korean 103/106-key USB keyboard.
Collapse this tableExpand this table
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:
Start the Registry Editor:
For Windows 7 and Windows Vista: Click Start
Collapse this imageExpand this image
, type Device Manager
in the Start Search box, and then click Device Manager in the Programs list.
Collapse this imageExpand this image
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.
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.
Click the Driver tab, and then click Update Driver.
Click Browse my computer for driver software, and then click Let me pick from a list of device drivers on my computer.
Click to clear the Show compatible hardware check box, and then click Japanese PS/2 keyboard (106/109 key).
Click Next, click Yes if you receive an update driver warning message, and then follow the remaining steps to update the keyboard.
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.